ayx_python_sdk.providers.e1_provider.proxies package

Submodules

ayx_python_sdk.providers.e1_provider.proxies.field_proxy module

FieldProxy class definition.

class ayx_python_sdk.providers.e1_provider.proxies.field_proxy.FieldProxy(raw_field: AlteryxPythonSDK.Field)[source]

Bases: object

Proxy for Field class from the raw Python SDK.

field_cast_map = {'blob': <class 'bytes'>, 'bool': <class 'bool'>, 'byte': <class 'int'>, 'date': <class 'str'>, 'datetime': <class 'str'>, 'double': <class 'float'>, 'fixeddecimal': <class 'float'>, 'float': <class 'float'>, 'int16': <class 'int'>, 'int32': <class 'int'>, 'int64': <class 'int'>, 'string': <class 'str'>, 'time': <class 'str'>, 'v_string': <class 'str'>, 'v_wstring': <class 'str'>, 'wstring': <class 'str'>}
field_getters_map = {'blob': 'get_as_blob', 'bool': 'get_as_bool', 'byte': 'get_as_int32', 'date': 'get_as_string', 'datetime': 'get_as_string', 'double': 'get_as_double', 'fixeddecimal': 'get_as_double', 'float': 'get_as_double', 'int16': 'get_as_int32', 'int32': 'get_as_int32', 'int64': 'get_as_int64', 'spatialobj': 'get_as_blob', 'string': 'get_as_string', 'time': 'get_as_string', 'v_string': 'get_as_string', 'v_wstring': 'get_as_string', 'wstring': 'get_as_string'}
field_setters_map = {'blob': 'set_from_blob', 'bool': 'set_from_bool', 'byte': 'set_from_int32', 'date': 'set_from_string', 'datetime': 'set_from_string', 'double': 'set_from_double', 'fixeddecimal': 'set_from_double', 'float': 'set_from_double', 'int16': 'set_from_int32', 'int32': 'set_from_int32', 'int64': 'set_from_int64', 'string': 'set_from_string', 'time': 'set_from_string', 'v_string': 'set_from_string', 'v_wstring': 'set_from_string', 'wstring': 'set_from_string'}
get(record: AlteryxPythonSDK.RecordRef) → Any[source]

Get the value for this field from a record.

name
set(record_creator: AlteryxPythonSDK.RecordCreator, value: Any)None[source]

Set the field for a given record to a value.

set_null(record_creator: AlteryxPythonSDK.RecordCreator)None[source]

Set the field for a given record to null.

ayx_python_sdk.providers.e1_provider.proxies.record_copier_proxy module

RecordCopierProxy class definition.

class ayx_python_sdk.providers.e1_provider.proxies.record_copier_proxy.RecordCopierProxy(input_record_info: AlteryxPythonSDK.RecordInfo, output_record_info: AlteryxPythonSDK.RecordInfo, field_name_map: Mapping[str, str])[source]

Bases: object

Proxy for RecordCopier class from raw Python SDK.

copy(record: AlteryxPythonSDK.RecordRef) → AlteryxPythonSDK.RecordCreator[source]

Copy a record into a new record creator.

Module contents

Proxy classes for raw Python SDK classes.

class ayx_python_sdk.providers.e1_provider.proxies.FieldProxy(raw_field: AlteryxPythonSDK.Field)[source]

Bases: object

Proxy for Field class from the raw Python SDK.

field_cast_map = {'blob': <class 'bytes'>, 'bool': <class 'bool'>, 'byte': <class 'int'>, 'date': <class 'str'>, 'datetime': <class 'str'>, 'double': <class 'float'>, 'fixeddecimal': <class 'float'>, 'float': <class 'float'>, 'int16': <class 'int'>, 'int32': <class 'int'>, 'int64': <class 'int'>, 'string': <class 'str'>, 'time': <class 'str'>, 'v_string': <class 'str'>, 'v_wstring': <class 'str'>, 'wstring': <class 'str'>}
field_getters_map = {'blob': 'get_as_blob', 'bool': 'get_as_bool', 'byte': 'get_as_int32', 'date': 'get_as_string', 'datetime': 'get_as_string', 'double': 'get_as_double', 'fixeddecimal': 'get_as_double', 'float': 'get_as_double', 'int16': 'get_as_int32', 'int32': 'get_as_int32', 'int64': 'get_as_int64', 'spatialobj': 'get_as_blob', 'string': 'get_as_string', 'time': 'get_as_string', 'v_string': 'get_as_string', 'v_wstring': 'get_as_string', 'wstring': 'get_as_string'}
field_setters_map = {'blob': 'set_from_blob', 'bool': 'set_from_bool', 'byte': 'set_from_int32', 'date': 'set_from_string', 'datetime': 'set_from_string', 'double': 'set_from_double', 'fixeddecimal': 'set_from_double', 'float': 'set_from_double', 'int16': 'set_from_int32', 'int32': 'set_from_int32', 'int64': 'set_from_int64', 'string': 'set_from_string', 'time': 'set_from_string', 'v_string': 'set_from_string', 'v_wstring': 'set_from_string', 'wstring': 'set_from_string'}
get(record: AlteryxPythonSDK.RecordRef) → Any[source]

Get the value for this field from a record.

name
set(record_creator: AlteryxPythonSDK.RecordCreator, value: Any)None[source]

Set the field for a given record to a value.

set_null(record_creator: AlteryxPythonSDK.RecordCreator)None[source]

Set the field for a given record to null.

class ayx_python_sdk.providers.e1_provider.proxies.RecordCopierProxy(input_record_info: AlteryxPythonSDK.RecordInfo, output_record_info: AlteryxPythonSDK.RecordInfo, field_name_map: Mapping[str, str])[source]

Bases: object

Proxy for RecordCopier class from raw Python SDK.

copy(record: AlteryxPythonSDK.RecordRef) → AlteryxPythonSDK.RecordCreator[source]

Copy a record into a new record creator.