Skip to content

Commit

Permalink
Add document model
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton committed Dec 2, 2020
1 parent 8a73504 commit 3e76181
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mp_api/molecules/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from pymatgen.core.periodic_table import Element

from mp_api.core.client import BaseRester, MPRestError

from mp_api.molecules.models import MoleculesDoc

class MoleculesRester(BaseRester):

suffix = "molecules"
document_model = MoleculesDoc

def get_molecule_from_molecule_id(self, molecule_id: str):
"""
Expand Down

0 comments on commit 3e76181

Please sign in to comment.