DataPipelineNodesInner

class openapi_client.models.data_pipeline_nodes_inner.DataPipelineNodesInner(**data)[source]

Bases: BaseModel

module_type: Optional[StrictStr]
node_name: Optional[StrictStr]
resource: Optional[DataPipelineNodesInnerResource]
compute_resource: Optional[DataPipelineNodesInnerComputeResource]
arguments: Optional[Dict[str, Dict[str, Any]]]
source_language_id: Optional[StrictStr]
target_language_id: Optional[StrictStr]
source_dataset_id: Optional[StrictStr]
target_dataset_id: Optional[StrictStr]
file_processing_mode: Optional[StrictStr]
features: Optional[List[StrictStr]]
email_body_execution_property_key: Optional[StrictStr]
email_subject_execution_property_key: Optional[StrictStr]
email_to_execution_property_key: Optional[StrictStr]
time_out: Optional[StrictInt]
concurrency_factor: Optional[StrictInt]
dataset_domain: Optional[StrictStr]
sync_all_datasets: Optional[StrictBool]
listof_input_datasets: Optional[List[StrictStr]]
model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

to_str()[source]

Returns the string representation of the model using alias

Return type:

str

to_json()[source]

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)[source]

Create an instance of DataPipelineNodesInner from a JSON string

Return type:

Optional[Self]

to_dict()[source]

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)[source]

Create an instance of DataPipelineNodesInner from a dict

Return type:

Optional[Self]

model_fields: ClassVar[dict[str, FieldInfo]] = {'arguments': FieldInfo(annotation=Union[Dict[str, Dict[str, Any]], NoneType], required=False, alias='Arguments', alias_priority=2), 'compute_resource': FieldInfo(annotation=Union[DataPipelineNodesInnerComputeResource, NoneType], required=False, alias='ComputeResource', alias_priority=2), 'concurrency_factor': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, alias='ConcurrencyFactor', alias_priority=2), 'dataset_domain': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DatasetDomain', alias_priority=2), 'email_body_execution_property_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='EmailBodyExecutionPropertyKey', alias_priority=2), 'email_subject_execution_property_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='EmailSubjectExecutionPropertyKey', alias_priority=2), 'email_to_execution_property_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='EmailToExecutionPropertyKey', alias_priority=2), 'features': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='Features', alias_priority=2), 'file_processing_mode': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='FileProcessingMode', alias_priority=2), 'listof_input_datasets': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='ListofInputDatasets', alias_priority=2), 'module_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='ModuleType', alias_priority=2), 'node_name': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='NodeName', alias_priority=2), 'resource': FieldInfo(annotation=Union[DataPipelineNodesInnerResource, NoneType], required=False, alias='Resource', alias_priority=2), 'source_dataset_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='SourceDatasetId', alias_priority=2), 'source_language_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='SourceLanguageId', alias_priority=2), 'sync_all_datasets': FieldInfo(annotation=Union[Annotated[bool, Strict(strict=True)], NoneType], required=False, alias='SyncAllDatasets', alias_priority=2), 'target_dataset_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='TargetDatasetId', alias_priority=2), 'target_language_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='TargetLanguageId', alias_priority=2), 'time_out': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, alias='TimeOut', alias_priority=2)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

model_post_init(__context)

This function is meant to behave like a BaseModel method to initialise private attributes.

It takes context as an argument since that’s what pydantic-core passes when calling it.

Parameters:
  • self (BaseModel) – The BaseModel instance.

  • __context (Any) – The context.

Return type:

None