BSObjectDoc

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

Bases: BaseModel

Band 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[BandStructureSymmLineTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.bandstructure_symm_line_adapter.pop_empty_bs_keys, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.bandstructure_symm_line_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.bandstructure_symm_line_adapter.TypedBandDictureSymmLineDict, when_used=always)] | None)

model_config: ClassVar[ConfigDict] = {}

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