swh.graphql.resolvers.directory_entry module#
- class swh.graphql.resolvers.directory_entry.BaseDirectoryEntryNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseNode
- target_type() ReleaseTargetType [source]#
- class swh.graphql.resolvers.directory_entry.DirEntryDirectNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseDirectoryEntryNode
Node resolver for a directory entry requested with a directory SWHID and a relative path
- class swh.graphql.resolvers.directory_entry.DirEntryInDirectoryNode(obj, info, node_data: Any | None = None, **kwargs)[source]#
Bases:
BaseDirectoryEntryNode
Node resolver for a directory entry requested inside a directory object
- class BaseDirectoryNode(obj, info, node_data: Any | None = None, **kwargs)#
Bases:
BaseSWHNode
Base resolver for all the directory nodes
- is_type_of()#
- obj: BaseDirectoryNode#
- class swh.graphql.resolvers.directory_entry.DirectoryEntryConnection(obj, info, data=None, **kwargs)[source]#
Bases:
BaseConnection
Connection resolver for entries in a directory
- class BaseDirectoryNode(obj, info, node_data: Any | None = None, **kwargs)#
Bases:
BaseSWHNode
Base resolver for all the directory nodes
- is_type_of()#
- obj: BaseDirectoryNode#