swh.graphql.resolvers.revision module#
- class swh.graphql.resolvers.revision.BaseRevisionNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseSWHNode
Base resolver for all the revision nodes
- property committerDate#
- class swh.graphql.resolvers.revision.RevisionNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseRevisionNode
Node resolver for a revision requested directly with its SWHID
- class swh.graphql.resolvers.revision.TargetRevisionNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseRevisionNode
Node resolver for a revision requested as a target
- obj: BranchTargetNode | TargetNode#
- class swh.graphql.resolvers.revision.ParentRevisionConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for parent revisions in a revision
- obj: BaseRevisionNode#
- class swh.graphql.resolvers.revision.LogRevisionConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for the log (list of revisions) in a revision
- obj: BaseRevisionNode#