Skip to content

queries

Resource mapper for QueryResource.

QueryMapper

Bases: BaseResourceMapper

QueryResource mapper.

Source code in optimade_gateway/mappers/queries.py
10
11
12
13
14
class QueryMapper(BaseResourceMapper):
    """[`QueryResource`][optimade_gateway.models.queries.QueryResource] mapper."""

    ENDPOINT = "queries"
    ENTRY_RESOURCE_CLASS = QueryResource