CreateStructure¶
Create a data structure (dictionary) from a list of names and values and filter out missing values (indicated by None).
When the output structure is empty, a None value is emitted in its place. This node is deprecated and replaced with CreateDict. The default behavior of CreateDict differs in two aspects but it can be configured to have the same behavior as this node's default (see CreateDict node documentation).
Version 1.2.0
Ports/Properties¶
outdict¶
Output dict.
- verbose name: Outdict
- default value: None
- port type: DataPort
- value type: dict (can be None)
- data direction: OUT
name1¶
Name 1.
- verbose name: Name1
- default value: None
- port type: StringPort
- value type: str (can be None)
in1¶
Input 1.
- verbose name: In1
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name2¶
Name 2.
- verbose name: Name2
- default value: None
- port type: StringPort
- value type: str (can be None)
in2¶
Input 2.
- verbose name: In2
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name3¶
Name 3.
- verbose name: Name3
- default value: None
- port type: StringPort
- value type: str (can be None)
in3¶
Input 3.
- verbose name: In3
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name4¶
Name 4.
- verbose name: Name4
- default value: None
- port type: StringPort
- value type: str (can be None)
in4¶
Input 4.
- verbose name: In4
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name5¶
Name 5.
- verbose name: Name5
- default value: None
- port type: StringPort
- value type: str (can be None)
in5¶
Input 5.
- verbose name: In5
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name6¶
Name 6.
- verbose name: Name6
- default value: None
- port type: StringPort
- value type: str (can be None)
in6¶
Input 6.
- verbose name: In6
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name7¶
Name 7.
- verbose name: Name7
- default value: None
- port type: StringPort
- value type: str (can be None)
in7¶
Input 7.
- verbose name: In7
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name8¶
Name 8.
- verbose name: Name8
- default value: None
- port type: StringPort
- value type: str (can be None)
in8¶
Input 8.
- verbose name: In8
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
name9¶
Name 9.
- verbose name: Name9
- default value: None
- port type: StringPort
- value type: str (can be None)
in9¶
Input 9.
- verbose name: In9
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
nameN¶
Additional names.
- verbose name: Namen
- default value: None
- port type: ListPort
- value type: list (can be None)
inN¶
Additional data inputs.
- verbose name: Inn
- default value: None
- port type: DataPort
- value type: list (can be None)
- data direction: IN
include_nones¶
Include named inputs in the structure even if they have a value of None.
- verbose name: Include Nones
- default value: False
- port type: BoolPort
- value type: bool (can be None)
none_if_empty¶
Output None if all inputs are empty.
- verbose name: Output None If All Empty
- default value: True
- port type: BoolPort
- value type: bool (can be None)
auto_naming¶
Optionally auto-generate names for dictionary keys instead of using explicitly assigned names. If 'no', then this is disabled (default). If set to 'first-nonmarker-stream', then if an input is a packets, its key will be taken as the name of the packet's first non-marker stream. If a packet is present that has no such stream, it will be called unnamed.
- verbose name: Auto Naming
- default value: no
- port type: ComboPort
- value type: str (can be None)
verbose¶
Enable verbose output.
- verbose name: Verbose
- default value: False
- port type: BoolPort
- value type: bool (can be None)
names¶
Legacy alias for names, deprecated.
- verbose name: Names (Legacy)
- default value: None
- port type: ListPort
- value type: list (can be None)
get_names_from_chunks¶
Get the names of the dictionary keys from the chunk names instead of explicitly specifying them.
- verbose name: Names From Chunks (Deprecated)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
name0¶
Name 0.
- verbose name: Name0
- default value: None
- port type: StringPort
- value type: str (can be None)
in0¶
Input 0.
- verbose name: In0
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: IN
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)