Skip to content

gateways

Resource mapper for GatewayResource.

GatewaysMapper

Bases: BaseResourceMapper

GatewayResource mapper.

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

    ENDPOINT = "gateways"
    ENTRY_RESOURCE_CLASS = GatewayResource