chitose.app.bsky.graph package#
Submodules#
chitose.app.bsky.graph.block module#
chitose.app.bsky.graph.defs module#
- class chitose.app.bsky.graph.defs.ListItemView(subject: ProfileView)#
Bases:
Object- to_dict() dict#
- class chitose.app.bsky.graph.defs.ListView(uri: str, creator: ProfileView, name: str, purpose: Literal['app.bsky.graph.defs#modlist'], indexed_at: str, description: str | None = None, description_facets: list[Facet] | None = None, avatar: str | None = None, viewer: ListViewerState | None = None)#
Bases:
Object- to_dict() dict#
- class chitose.app.bsky.graph.defs.ListViewBasic(uri: str, name: str, purpose: Literal['app.bsky.graph.defs#modlist'], avatar: str | None = None, viewer: ListViewerState | None = None, indexed_at: str | None = None)#
Bases:
Object- to_dict() dict#
chitose.app.bsky.graph.follow module#
chitose.app.bsky.graph.get_blocks module#
chitose.app.bsky.graph.get_followers module#
chitose.app.bsky.graph.get_follows module#
chitose.app.bsky.graph.get_list module#
chitose.app.bsky.graph.get_list_mutes module#
chitose.app.bsky.graph.get_lists module#
chitose.app.bsky.graph.get_mutes module#
chitose.app.bsky.graph.list module#
chitose.app.bsky.graph.listitem module#
chitose.app.bsky.graph.mute_actor module#
chitose.app.bsky.graph.mute_actor_list module#
chitose.app.bsky.graph.unmute_actor module#
chitose.app.bsky.graph.unmute_actor_list module#
Module contents#
- class chitose.app.bsky.graph.Graph_(call: Callable[[str, list[tuple[str, str | None | int | list[str]]], bytes | dict | None, dict[str, str]], bytes], subscribe: Callable[[str, list[tuple[str, str | None | int | list[str]]], Callable[[str | bytes], None]], None])#
Bases:
objectWe recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.
- get_blocks(limit: int | None = None, cursor: str | None = None) bytes#
Who is the requester’s account blocking?
- get_followers(actor: str, limit: int | None = None, cursor: str | None = None) bytes#
Who is following an actor?
- get_follows(actor: str, limit: int | None = None, cursor: str | None = None) bytes#
Who is an actor following?
- get_list(list: str, limit: int | None = None, cursor: str | None = None) bytes#
Fetch a list of actors
- get_list_mutes(limit: int | None = None, cursor: str | None = None) bytes#
Which lists is the requester’s account muting?
- get_lists(actor: str, limit: int | None = None, cursor: str | None = None) bytes#
Fetch a list of lists that belong to an actor
- get_mutes(limit: int | None = None, cursor: str | None = None) bytes#
Who does the viewer mute?
- mute_actor(actor: str) bytes#
Mute an actor by did or handle.
- mute_actor_list(list: str) bytes#
Mute a list of actors.
- unmute_actor(actor: str) bytes#
Unmute an actor by did or handle.
- unmute_actor_list(list: str) bytes#
Unmute a list of actors.