swh.graphql.resolvers.release module#
- class swh.graphql.resolvers.release.BaseReleaseNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseSWHNode
Base resolver for all the release nodes
- target_type() ReleaseTargetType [source]#
- class swh.graphql.resolvers.release.ReleaseNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseReleaseNode
Node resolver for a release requested directly with its SWHID
- class swh.graphql.resolvers.release.TargetReleaseNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseReleaseNode
Node resolver for a release requested as a target
- class BranchTargetNode(obj, info, node_data: Any | None = None, **kwargs)#
Bases:
BaseTargetNode
- class TargetNode(obj, info, node_data: Any | None = None, **kwargs)#
Bases:
BaseTargetNode
Intermediate node between an object and its target Created for schema clarity and to handle missing target nodes in the archive
- obj: TargetNode | BranchTargetNode#