Debug Import

../../../../_images/debug_import.svg

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 Debug Export on the same Sympathy version. If you just want to read normal exported sydata files you should use Table, 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. Figure and 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
Type: datasource
Description: Filename
type
Type: <a>
Description: Type constraint
Optional number of ports: 1–1 (default: 1)

Output ports

data
Type: <a>
Description: Data

Implementation

class node_debug_io.DebugImport[source]