BaseTaskDocument
- class emmet.core.task.BaseTaskDocument(**data)
Bases:
EmmetBaseModelDefinition of base Task Document
- Parameters:
builder_meta (EmmetMeta | None)
calc_code (str)
version (str | None)
dir_name (str | None)
task_id (Annotated[MPID | AlphaID, BeforeValidator(func=~emmet.core.types.typing._fault_tolerant_id_serde, json_schema_input_type=PydanticUndefined), PlainSerializer(func=~emmet.core.types.typing.<lambda>, return_type=PydanticUndefined, when_used=always)] | MPculeID | None)
completed (bool)
completed_at (Annotated[datetime | None, BeforeValidator(func=~emmet.core.utils.convert_datetime, json_schema_input_type=PydanticUndefined)])
last_updated (Annotated[datetime, BeforeValidator(func=~emmet.core.utils.convert_datetime, json_schema_input_type=PydanticUndefined)])
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].