DOSObjectDoc

class emmet.core.electronic_structure.DOSObjectDoc(**data)

Bases: BaseModel

DOS object document.

Parameters:
  • 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)] | None)

  • last_updated (Annotated[datetime, FieldInfo(annotation=NoneType, required=False, default_factory=utcnow), BeforeValidator(func=~emmet.core.utils.convert_datetime, json_schema_input_type=PydanticUndefined)])

  • data (Annotated[CompleteDosTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.dos_adapter.pop_empty_dos_keys, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.dos_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.dos_adapter.TypedCompleteDosDict, when_used=always)] | None)

model_config: ClassVar[ConfigDict] = {}

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