app.bsky.graph.get_relationships

class atproto_client.models.app.bsky.graph.get_relationships.Params

Bases: ParamsModelBase

Parameters model for app.bsky.graph.getRelationships.

field actor: str [Required]

Primary account requesting relationships for.

field others: List[str] | None = None

List of ‘other’ accounts to be related back to the primary.

Constraints:
  • max_length = 30

class atproto_client.models.app.bsky.graph.get_relationships.ParamsDict(*args, **kwargs)

Bases: dict

actor: str

Primary account requesting relationships for.

others: typing_extensions.NotRequired[List[str] | None]

List of ‘other’ accounts to be related back to the primary.

class atproto_client.models.app.bsky.graph.get_relationships.Response

Bases: ResponseModelBase

Output data model for app.bsky.graph.getRelationships.

field actor: str | None = None

Actor.

field relationships: List[Relationship | models.AppBskyGraphDefs.NotFoundActor[models.AppBskyGraphDefs.Relationship | models.AppBskyGraphDefs.NotFoundActor]] [Required]