data_tree_to_txt class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.serialization
Summary
Writes a txt file or string from a DataTree
available inputs: data_tree (DataTree), path (string) (optional)
available outputs: data_sources (DataSources ,string)
Example
op = data_tree_to_txt()
op = data_tree_to_txt(data_tree=my_data_tree,path=my_path)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.serialization |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
data_tree
Type: LinkableInput
path
Type: LinkableInput
Outputs
data_sources
Type: LinkableOutput
Constructors
Constructor
data_tree_to_txt()
Constructor
data_tree_to_txt(data_tree, path, config)
Parameters:
data_tree(object)path(object)config(OperatorConfig)
Constructor
data_tree_to_txt(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig