AlloyPairDoc
- class emmet.core.alloys.AlloyPairDoc(**data)
Bases:
EmmetBaseModel- Parameters:
builder_meta (EmmetMeta | None)
alloy_pair (Annotated[AlloyPairTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.alloy_adapter.pop_empty_alloy_pair_structure_keys, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.alloy_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.alloy_adapter.TypedAlloyPairDict, when_used=always)])
pair_id (PairID)
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].