Source code for mp_api.client.routes.materials.phonon

from __future__ import annotations

from emmet.core.phonon import PhononBSDOSDoc

from mp_api.client.core import BaseRester


[docs] class PhononRester(BaseRester[PhononBSDOSDoc]): suffix = "materials/phonon" document_model = PhononBSDOSDoc # type: ignore primary_key = "material_id" def search(*args, **kwargs): # pragma: no cover raise NotImplementedError( """ The PhononRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead. """ )