Read/write example

../../../../_images/example.svg

Node demonstrating how to read from/write to lists of tables.

Documentation

This example node demonstrates how to read from and write to a list of tables. It forwards tables from the input to the output using the source method available for tables and other data types. This will forward data from one file to another, without making needless copies. Instead the data is linked to the source whenever possible.

To run this node you can connect its input port to e.g. a Random Tables node.

See Node writing for more information about writing nodes. See Data types for more information on how to use the APIs of the different data types in Sympathy for Data.

Definition

Input ports

input [table]

Input Tables

Output ports

output [table]

Output Tables

Implementation

class node_examples.ReadWriteExample[source]