ModelDescription

class ModelDescription

Bases: CommonBaseModel

Represents the model description.

specification_version

The specification version.

Type:

Optional[str]

model_name

The name of the model.

Type:

Optional[str]

guid

The globally unique identifier of the model.

Type:

Optional[str]

generation_tool

The tool used to generate the model.

Type:

Optional[str]

generation_date_and_time

The date and time when the model was generated.

Type:

Optional[datetime]

data_exchange

The data exchange information.

Type:

Optional[DataExchange]

license

The license of the model.

Type:

Optional[str]

copyright

The copyright information.

Type:

Optional[str]

author

The author of the model.

Type:

Optional[str]

version

The version of the model.

Type:

Optional[str]

description

A description of the model.

Type:

Optional[str]

Attributes Summary

model_config

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

Methods Summary

validate_guid(v)

validate_specification_version(v)

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'protected_namespaces': (), 'validate_assignment': True}

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

Methods Documentation

classmethod validate_guid(v)
classmethod validate_specification_version(v)

Attributes:

__pydantic_setattr_handlers__

__setattr__ handlers.

__pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__