Skip to content

Commit

Permalink
incorrect type hint for run_id in builder_meta
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis committed Aug 1, 2024
1 parent e166da9 commit a0ece97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions emmet-core/emmet/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

"""Base emmet model to add default metadata."""

from typing import Literal, Optional, TypeVar

from datetime import datetime
from typing import Literal, Optional, TypeVar

from pydantic import BaseModel, Field, field_validator
from pymatgen.core import __version__ as pmg_version
Expand All @@ -26,7 +25,7 @@ class EmmetMeta(BaseModel):
pmg_version, description="The version of pymatgen this document was built with."
)

run_id: Optional[int] = Field(
run_id: Optional[str] = Field(
None, description="The run id associated with this data build."
)

Expand Down

0 comments on commit a0ece97

Please sign in to comment.