Skip to content

Commit a0b409b

Browse files
committed
switch to custom structure type for base builder input model
1 parent da3cdb7 commit a0b409b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • emmet-builders/emmet/builders

emmet-builders/emmet/builders/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pydantic import Field
2-
from pymatgen.core import Structure
32

43
from emmet.core.base import EmmetBaseModel
4+
from emmet.core.types.pymatgen_types.structure_type import StructureType
55
from emmet.core.types.typing import IdentifierType
66

77

@@ -17,4 +17,4 @@ class BaseBuilderInput(EmmetBaseModel):
1717

1818
deprecated: bool = Field(False)
1919
material_id: IdentifierType | None = Field(None)
20-
structure: Structure
20+
structure: StructureType

0 commit comments

Comments
 (0)