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 | str [Required]

Primary account requesting relationships for.

field others: List[str[str] | str[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[str] | str[str]

Primary account requesting relationships for.

others: typing_extensions.NotRequired[List[str[str] | str[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]