Skip to main content
Namespace: Ans.DataProcessing.operators.utility

Summary

A DataSources in pin 0 and a property name (string) in pin 1 are expected in input. An index refering to the property can also be provided. available inputs: data_sources (DataSources), property_name (string), property_index (Int32) (optional), property_key (string) (optional), property_result_key (string) (optional) available outputs: property (string ,Int32)

Example

Class Information

Inputs

data_sources

Type: LinkableInput

property_name

Accepted inputs are: ‘file_path’ (returns string), ‘result_file_name’ (returns string), ‘domain_file_path’ (returns string), ‘domain_result_file_name’ (returns string), ‘num_keys’ (returns int), num_result_key (returns int), num_file_path (returns int), ‘num_result_file_path’ (returns int), ‘key_by_index’ (returns string), ‘result_key_by_index’ (returns string), ‘path_by_index’ (returns string), ‘path_key_by_index’ (returns string). Type: LinkableInput

property_index

Index for the property. Must be set for ‘domain_file_path’, ‘domain_result_file_name’ ‘key_by_index’, ‘result_key_by_index’, ‘path_by_index’ and ‘path_key_by_index’ properties. Type: LinkableInput

property_key

Key to look for. Must be set for ‘file_path’ and ‘domain_file_path’ properties. Type: LinkableInput

property_result_key

Result key to look for. Can be used for ‘file_path’, ‘result_file_name’, ‘domain_file_path’ and ‘domain_result_file_name’. Type: LinkableInput

Outputs

property

Property value. Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • data_sources (object)
  • property_name (object)
  • property_index (object)
  • property_key (object)
  • property_result_key (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config