swh.graphql.resolvers.visit module#
- class swh.graphql.resolvers.visit.BaseVisitNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseNode
Base resolver for all the visit nodes
- property id#
- property visitId#
- class swh.graphql.resolvers.visit.OriginVisitNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseVisitNode
Node resolver for a visit requested directly with an origin URL and a visit ID
- class swh.graphql.resolvers.visit.LatestVisitNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseVisitNode
Node resolver for the latest visit in an origin
- obj: OriginNode#
- class swh.graphql.resolvers.visit.OriginVisitConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for the visit objects in an origin
- obj: OriginNode#