CustomFormModelInfo Class

Custom model information.

New in version v2.1: The model_name and properties properties, support for to_dict and from_dict methods

Inheritance
builtins.object
CustomFormModelInfo

Constructor

CustomFormModelInfo(**kwargs: Any)

Methods

from_dict

Converts a dict in the shape of a CustomFormModelInfo to the model itself.

to_dict

Returns a dict representation of CustomFormModelInfo.

from_dict

Converts a dict in the shape of a CustomFormModelInfo to the model itself.

from_dict(data: Dict) -> CustomFormModelInfo

Parameters

Name Description
data
Required

A dictionary in the shape of CustomFormModelInfo.

Returns

Type Description

CustomFormModelInfo

to_dict

Returns a dict representation of CustomFormModelInfo.

to_dict() -> Dict

Returns

Type Description

dict

Attributes

model_id

The unique identifier of the model.

model_id: str

model_name

Optional user defined model name.

model_name: str

properties

Optional model properties.

properties: CustomFormModelProperties

status

The status of the model, CustomFormModelStatus. Possible values include: 'creating', 'ready', 'invalid'.

status: str

training_completed_on

Date and time (UTC) when model training completed.

training_completed_on: datetime

training_started_on

Date and time (UTC) when model training was started.

training_started_on: datetime