swh.graphql.resolvers.snapshot_branch module#
- class swh.graphql.resolvers.snapshot_branch.BaseSnapshotBranchNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseNode
- class swh.graphql.resolvers.snapshot_branch.SnapshotBranchConnectionNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseSnapshotBranchNode
Node resolver for an item in the snapshot branch connection
- class swh.graphql.resolvers.snapshot_branch.SnapshotHeadBranchNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseSnapshotBranchNode
Node resolver for a snapshot.headBranch object
- obj: BaseSnapshotNode#
- class swh.graphql.resolvers.snapshot_branch.SnapshotBranchConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for the branches in a snapshot
- obj: BaseSnapshotNode#