Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 1.55 KB

File metadata and controls

15 lines (7 loc) · 1.55 KB

TGInputNodeData

Specifies that a node is an “input value”, allowing for parameterized task graphs. An input node may not depend upon any other nodes.

Properties

Name Type Description Notes
defaultValue Object An argument provided to a node. This is one of a direct value (i.e., a raw JSON value) or a `TGSentinel`. For example this Python value: {"a": [1, "pipe", range(30), None], "b": b"bytes"} is encoded thusly (with included comments): { // A dictionary with string keys is JSON-encodable. "a": [ // As is a list. 1, "pipe", { // A `range` is replaced with its pickle. "tdbudf": "immediate", "format": "python_pickle", "base64_data": "gASVIAAAAAAAAACMCGJ1aWx0aW5zlIwFcmFuZ2WUk5RLAEseSwGHlFKULg==" }, null ], "b": { // Raw binary data is encoded into base64. "tdbudf": "immediate" "format": "bytes", "base64_data": "Ynl0ZXM=" } } [optional]
datatype String An annotation of what datatype this node is supposed to be. Conventionally, this is a Python-format type annotation, but it’s purely for documentation purposes and not validated. [optional]