swh.graphql.resolvers.resolvers module#
High level resolvers
- swh.graphql.resolvers.resolvers.origin_resolver(obj: None, info: GraphQLResolveInfo, **kw) OriginNode [source]#
- swh.graphql.resolvers.resolvers.latest_visit_resolver(obj: BaseOriginNode, info: GraphQLResolveInfo, **kw) LatestVisitNode | None [source]#
- swh.graphql.resolvers.resolvers.latest_snapshot_resolver(obj: BaseOriginNode, info: GraphQLResolveInfo, **kw) LatestSnapshotNode | None [source]#
- swh.graphql.resolvers.resolvers.visit_resolver(obj: None, info: GraphQLResolveInfo, **kw) OriginVisitNode [source]#
- swh.graphql.resolvers.resolvers.latest_visit_status_resolver(obj: BaseVisitNode, info: GraphQLResolveInfo, **kw) LatestVisitStatusNode | None [source]#
- swh.graphql.resolvers.resolvers.snapshot_resolver(obj: None, info: GraphQLResolveInfo, **kw) SnapshotNode [source]#
- swh.graphql.resolvers.resolvers.visit_snapshot_resolver(obj: BaseVisitStatusNode, info: GraphQLResolveInfo, **kw) VisitSnapshotNode | None [source]#
- swh.graphql.resolvers.resolvers.snapshot_head_branch_resolver(obj: None, info: GraphQLResolveInfo, **kw) SnapshotHeadBranchNode [source]#
- swh.graphql.resolvers.resolvers.revision_resolver(obj: None, info: GraphQLResolveInfo, **kw) RevisionNode [source]#
- swh.graphql.resolvers.resolvers.revision_directory_resolver(obj: BaseRevisionNode, info: GraphQLResolveInfo, **kw) RevisionDirectoryNode | None [source]#
- swh.graphql.resolvers.resolvers.release_resolver(obj: None, info: GraphQLResolveInfo, **kw) ReleaseNode [source]#
- swh.graphql.resolvers.resolvers.directory_resolver(obj: None, info: GraphQLResolveInfo, **kw) DirectoryNode [source]#
- swh.graphql.resolvers.resolvers.directory_entry_resolver(obj: None, info: GraphQLResolveInfo, **kw) DirEntryDirectNode [source]#
- swh.graphql.resolvers.resolvers.generic_target_resolver(obj: BaseReleaseNode | BaseDirectoryEntryNode, info: GraphQLResolveInfo, **kw) TargetNode [source]#
- swh.graphql.resolvers.resolvers.snapshot_branch_target_resolver(obj: BaseSnapshotBranchNode, info: GraphQLResolveInfo, **kw) BranchTargetNode [source]#
- swh.graphql.resolvers.resolvers.generic_target_node_resolver(obj: TargetNode, info: GraphQLResolveInfo, **kw) BaseRevisionNode | BaseReleaseNode | BaseDirectoryNode | BaseContentNode | BaseSnapshotNode | None [source]#
- swh.graphql.resolvers.resolvers.content_by_hashes_resolver(obj: None, info: GraphQLResolveInfo, **kw) ContentbyHashesNode [source]#
- swh.graphql.resolvers.resolvers.content_data_resolver(obj: BaseContentNode, info: GraphQLResolveInfo, **kw) ContentDataNode [source]#
- swh.graphql.resolvers.resolvers.origin_search_node_resolver(obj: None, info: GraphQLResolveInfo, **kw) TargetOriginNode [source]#
- swh.graphql.resolvers.resolvers.directory_directory_entry_resolver(obj: BaseDirectoryNode, info: GraphQLResolveInfo, **kw) DirEntryInDirectoryNode [source]#
- swh.graphql.resolvers.resolvers.origins_resolver(obj: None, info: GraphQLResolveInfo, **kw) OriginConnection [source]#
- swh.graphql.resolvers.resolvers.visits_resolver(obj: BaseOriginNode, info: GraphQLResolveInfo, **kw) OriginVisitConnection [source]#
- swh.graphql.resolvers.resolvers.origin_snapshots_resolver(obj: BaseOriginNode, info: GraphQLResolveInfo, **kw) OriginSnapshotConnection [source]#
- swh.graphql.resolvers.resolvers.visitstatus_resolver(obj: BaseVisitNode, info: GraphQLResolveInfo, **kw) VisitStatusConnection [source]#
- swh.graphql.resolvers.resolvers.snapshot_branches_resolver(obj: BaseSnapshotNode, info: GraphQLResolveInfo, **kw) SnapshotBranchConnection [source]#
- swh.graphql.resolvers.resolvers.revision_parents_resolver(obj: BaseRevisionNode, info: GraphQLResolveInfo, **kw) ParentRevisionConnection [source]#
- swh.graphql.resolvers.resolvers.revision_log_resolver(obj: BaseRevisionNode, info: GraphQLResolveInfo, **kw) LogRevisionConnection [source]#
- swh.graphql.resolvers.resolvers.directory_entries_resolver(obj: BaseDirectoryNode, info: GraphQLResolveInfo, **kw) DirectoryEntryConnection [source]#
- swh.graphql.resolvers.resolvers.origin_search_resolver(obj: None, info: GraphQLResolveInfo, **kw) OriginSearchConnection [source]#
- swh.graphql.resolvers.resolvers.contnets_by_swhid_resolver(obj: None, info: GraphQLResolveInfo, **kw) ContentSwhidList [source]#
- swh.graphql.resolvers.resolvers.contnets_by_hashes_resolver(obj: None, info: GraphQLResolveInfo, **kw) ContentHashList [source]#
- swh.graphql.resolvers.resolvers.resolve_swhid_resolver(obj: None, info: GraphQLResolveInfo, **kw) ResolveSWHIDList [source]#
- swh.graphql.resolvers.resolvers.revision_author_resolver(obj: None, info: GraphQLResolveInfo, **kw) RevisionNode [source]#
- swh.graphql.resolvers.resolvers.revision_committer_resolver(obj: None, info: GraphQLResolveInfo, **kw) RevisionNode [source]#
- swh.graphql.resolvers.resolvers.release_author_resolver(obj: BaseReleaseNode, info: GraphQLResolveInfo, **kw) RevisionNode [source]#
- swh.graphql.resolvers.resolvers.union_resolver(obj: BaseRevisionNode | BaseReleaseNode | BaseDirectoryNode | BaseContentNode | BaseSnapshotNode, *_) str [source]#
Generic resolver for all the union types
- swh.graphql.resolvers.resolvers.binary_string_base64_resolver(obj: bytes, *args, **kw) str [source]#
- swh.graphql.resolvers.resolvers.date_date_resolver(obj: TimestampWithTimezone, *args: GraphQLResolveInfo, **kw) datetime [source]#
- swh.graphql.resolvers.resolvers.date_offset_resolver(obj: TimestampWithTimezone, *args: GraphQLResolveInfo, **kw) bytes [source]#