MaterialIdentifierType

emmet.core.types.typing.MaterialIdentifierType

MPID / AlphaID serde.

alias of Annotated[MPID | AlphaID, BeforeValidator(func=functools.partial(<function _fault_tolerant_id_serde>, legacy=True, prefix=’mp’, padlen=8), json_schema_input_type=PydanticUndefined), PlainSerializer(func=functools.partial(<function _fault_tolerant_id_serde>, serialize=True, legacy=True, prefix=’mp’, padlen=8), return_type=PydanticUndefined, when_used=always)]