Skip to content

Commit

Permalink
Bump emmet and fix dielectric doc import (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Oct 15, 2021
1 parent abf3ffc commit b07ff60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -4,5 +4,5 @@ typing-extensions==3.10.0.2
maggma==0.31.0
requests==2.26.0
monty==2021.8.17
emmet-core==0.13.3
emmet-core==0.14.4
ratelimit==2.2.1
4 changes: 2 additions & 2 deletions src/mp_api/routes/dielectric/models.py
@@ -1,7 +1,7 @@
from datetime import datetime
from monty.json import MontyDecoder

from emmet.core.polar import Dielectric
from emmet.core.polar import DielectricDoc as BaseDielectricDoc

from pydantic import BaseModel, Field, validator

Expand All @@ -11,7 +11,7 @@ class DielectricDoc(BaseModel):
Dielectric tensor and associated information.
"""

dielectric: Dielectric = Field(
dielectric: BaseDielectricDoc = Field(
None, description="Dielectric data",
)

Expand Down

0 comments on commit b07ff60

Please sign in to comment.