swh.graphql.resolvers.origin module#
- class swh.graphql.resolvers.origin.BaseOriginNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseSWHNode
- class swh.graphql.resolvers.origin.OriginNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseOriginNode
Node resolver for an origin requested directly with its URL
- class swh.graphql.resolvers.origin.TargetOriginNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseOriginNode
Node resolver for an origin requested as a target
- class swh.graphql.resolvers.origin.OriginConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for the origins