chitose.app.bsky.graph package#

Submodules#

chitose.app.bsky.graph.block module#

class chitose.app.bsky.graph.block.Block(subject: str, created_at: str)#

Bases: Record

to_dict() dict#

chitose.app.bsky.graph.follow module#

class chitose.app.bsky.graph.follow.Follow(subject: str, created_at: str)#

Bases: Record

to_dict() dict#

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_mutes module#

chitose.app.bsky.graph.mute_actor module#

chitose.app.bsky.graph.unmute_actor module#

Module contents#

class chitose.app.bsky.graph.Graph_(service: str, headers: dict[str, str])#

Bases: object

We 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.