from __future__ import annotations

from emmet.core.dois import DOIDoc

from mp_api.client.core import BaseRester


class DOIRester(BaseRester[DOIDoc]):
    suffix = "doi"
    document_model = DOIDoc  # type: ignore
    primary_key = "task_id"

    def search(*args, **kwargs):  # pragma: no cover
        raise NotImplementedError(
            """
            The DOIRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead.
            """
        )

32e66260af80a79c7c219821d8f1b77782cdc967
<mask token>


class DOIRester(BaseRester[DOIDoc]):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class DOIRester(BaseRester[DOIDoc]):
    <mask token>
    <mask token>
    <mask token>

    def search(*args, **kwargs):
        raise NotImplementedError(
            """
            The DOIRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead.
            """
            )

<mask token>


class DOIRester(BaseRester[DOIDoc]):
    suffix = 'doi'
    document_model = DOIDoc
    primary_key = 'task_id'

    def search(*args, **kwargs):
        raise NotImplementedError(
            """
            The DOIRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead.
            """
            )

from __future__ import annotations
from emmet.core.dois import DOIDoc
from mp_api.client.core import BaseRester


class DOIRester(BaseRester[DOIDoc]):
    suffix = 'doi'
    document_model = DOIDoc
    primary_key = 'task_id'

    def search(*args, **kwargs):
        raise NotImplementedError(
            """
            The DOIRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead.
            """
            )

from __future__ import annotations

from emmet.core.dois import DOIDoc

from mp_api.client.core import BaseRester


class DOIRester(BaseRester[DOIDoc]):
    suffix = "doi"
    document_model = DOIDoc  # type: ignore
    primary_key = "task_id"

    def search(*args, **kwargs):  # pragma: no cover
        raise NotImplementedError(
            """
            The DOIRester.search method does not exist as no search endpoint is present. Use get_data_by_id instead.
            """
        )
