.. _`Debug Import`: .. _`org.sysess.sympathy.debug.import`: Debug Import ```````````` .. image:: debug_import.svg :width: 48 Import internal data structure created by Debug Export. Can only read files exported in this Sympathy version. Documentation ::::::::::::: This is not a regular import node. The files to be imported must be created by :ref:`org.sysess.sympathy.debug.export` on the same Sympathy version. If you just want to read normal exported sydata files you should use :ref:`Table`, :ref:`ADAF` etc. On the other hand this node is able to import any data type from a sydata file, which can be useful for debugging purposes. .. warning:: This node **is not secure**. Only import data files you trust. Some of Sympathy's data types (e.g. :ref:`Figure` and :ref:`Model`) are based on Python's pickle protocol, and as a result they can trigger execution of arbitrary code when imported. See also: https://docs.python.org/3/library/pickle.html#pickle-inst Definition :::::::::: Input ports ........... **filename** datasource Filename **type** 1 - 1, Type constraint Output ports ............ **data** Data Related nodes ............. * :ref:`org.sysess.sympathy.debug.export` Implementation .............. .. automodule:: node_debug_io :noindex: .. class:: DebugImport :noindex: