Status

class openapi_client.models.status.Status(**data)[source]

Bases: BaseModel

message: Optional[StrictStr]
dataset_id: Optional[StrictStr]
request_id: Optional[StrictStr]
db_user_name: Optional[StrictStr]
db_password: Optional[StrictStr]
execution_id: Optional[StrictStr]
job_id: Optional[StrictStr]
presigned_url: Optional[StrictStr]
upload_path: Optional[StrictStr]
query_id: Optional[StrictStr]
dashboard_id: Optional[StrictStr]
server_id: Optional[StrictStr]
data_quality_check_id: Optional[StrictStr]
user_id: Optional[StrictStr]
data_classification_name: Optional[StrictStr]
model_run_id: Optional[StrictStr]
lifecycle_id: Optional[StrictStr]
budget_id: Optional[StrictStr]
datasource_id: Optional[StrictStr]
dataflow_id: Optional[StrictStr]
entity_id: Optional[StrictStr]
entity_name: Optional[StrictStr]
glossary_id: Optional[StrictStr]
datalab_id: Optional[StrictStr]
knowledgebase_id: Optional[StrictStr]
guard_rail_id: Optional[StrictStr]
chat_id: Optional[StrictStr]
note_id: Optional[StrictStr]
agent_id: Optional[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 Status 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 Status from a dict

Return type:

Optional[Self]

model_fields: ClassVar[dict[str, FieldInfo]] = {'agent_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='AgentId', alias_priority=2), 'budget_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='BudgetId', alias_priority=2), 'chat_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='ChatId', alias_priority=2), 'dashboard_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DashboardId', alias_priority=2), 'data_classification_name': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DataClassificationName', alias_priority=2), 'data_quality_check_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DataQualityCheckId', alias_priority=2), 'dataflow_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DataflowId', alias_priority=2), 'datalab_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DatalabId', alias_priority=2), 'dataset_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DatasetId', alias_priority=2), 'datasource_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DatasourceId', alias_priority=2), 'db_password': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DBPassword', alias_priority=2), 'db_user_name': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DBUserName', alias_priority=2), 'entity_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='EntityId', alias_priority=2), 'entity_name': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='EntityName', alias_priority=2), 'execution_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='ExecutionId', alias_priority=2), 'glossary_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='GlossaryId', alias_priority=2), 'guard_rail_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='GuardRailId', alias_priority=2), 'job_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='JobId', alias_priority=2), 'knowledgebase_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='KnowledgebaseId', alias_priority=2), 'lifecycle_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='LifecycleId', alias_priority=2), 'message': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='Message', alias_priority=2), 'model_run_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='ModelRunId', alias_priority=2), 'note_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='NoteId', alias_priority=2), 'presigned_url': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='PresignedUrl', alias_priority=2), 'query_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='QueryId', alias_priority=2), 'request_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='RequestId', alias_priority=2), 'server_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False), 'upload_path': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='UploadPath', alias_priority=2), 'user_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='UserId', 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