app.bsky.graph.defs

atproto_client.models.app.bsky.graph.defs.Curatelist

A list of actors used for curation purposes such as list feeds or interaction gating.

alias of Literal[‘app.bsky.graph.defs#curatelist’]

class atproto_client.models.app.bsky.graph.defs.ListItemView

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field py_type: Literal['app.bsky.graph.defs#listItemView'] = 'app.bsky.graph.defs#listItemView'
field subject: models.AppBskyActorDefs.ProfileView [Required]

Subject.

field uri: str [Required]

Uri.

atproto_client.models.app.bsky.graph.defs.ListPurpose

List purpose

alias of Union[models.AppBskyGraphDefs.Modlist, models.AppBskyGraphDefs.Curatelist, models.AppBskyGraphDefs.Referencelist, str]

class atproto_client.models.app.bsky.graph.defs.ListView

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field avatar: str | None = None

Avatar.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileView [Required]

Creator.

field description: str | None = None

Description.

Constraints:
  • max_length = 3000

field description_facets: List[models.AppBskyRichtextFacet.Main] | None = None

Description facets.

field indexed_at: str [Required]

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field list_item_count: int | None = None

List item count.

Constraints:
  • ge = 0

field name: str [Required]

Name.

Constraints:
  • min_length = 1

  • max_length = 64

field purpose: models.AppBskyGraphDefs.ListPurpose [Required]

Purpose.

field py_type: Literal['app.bsky.graph.defs#listView'] = 'app.bsky.graph.defs#listView'
field uri: str [Required]

Uri.

field viewer: models.AppBskyGraphDefs.ListViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.graph.defs.ListViewBasic

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field avatar: str | None = None

Avatar.

field cid: str [Required]

Cid.

field indexed_at: str | None = None

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field list_item_count: int | None = None

List item count.

Constraints:
  • ge = 0

field name: str [Required]

Name.

Constraints:
  • min_length = 1

  • max_length = 64

field purpose: models.AppBskyGraphDefs.ListPurpose [Required]

Purpose.

field py_type: Literal['app.bsky.graph.defs#listViewBasic'] = 'app.bsky.graph.defs#listViewBasic'
field uri: str [Required]

Uri.

field viewer: models.AppBskyGraphDefs.ListViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.graph.defs.ListViewerState

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field blocked: str | None = None

Blocked.

field muted: bool | None = None

Muted.

field py_type: Literal['app.bsky.graph.defs#listViewerState'] = 'app.bsky.graph.defs#listViewerState'
atproto_client.models.app.bsky.graph.defs.Modlist

A list of actors to apply an aggregate moderation action (mute/block) on.

alias of Literal[‘app.bsky.graph.defs#modlist’]

class atproto_client.models.app.bsky.graph.defs.NotFoundActor

Bases: ModelBase

Definition model for app.bsky.graph.defs. indicates that a handle or DID could not be resolved.

field actor: str [Required]

Actor.

field not_found: bool [Required]

Not found.

field py_type: Literal['app.bsky.graph.defs#notFoundActor'] = 'app.bsky.graph.defs#notFoundActor'
atproto_client.models.app.bsky.graph.defs.Referencelist

A list of actors used for only for reference purposes such as within a starter pack.

alias of Literal[‘app.bsky.graph.defs#referencelist’]

class atproto_client.models.app.bsky.graph.defs.Relationship

Bases: ModelBase

Definition model for app.bsky.graph.defs. lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object).

field did: str [Required]

Did.

field followed_by: str | None = None

if the actor is followed by this DID, contains the AT-URI of the follow record.

field following: str | None = None

if the actor follows this DID, this is the AT-URI of the follow record.

field py_type: Literal['app.bsky.graph.defs#relationship'] = 'app.bsky.graph.defs#relationship'
class atproto_client.models.app.bsky.graph.defs.StarterPackView

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileViewBasic [Required]

Creator.

field feeds: List[models.AppBskyFeedDefs.GeneratorView] | None = None

Feeds.

Constraints:
  • max_length = 3

field indexed_at: str [Required]

Indexed at.

field joined_all_time_count: int | None = None

Joined all time count.

Constraints:
  • ge = 0

field joined_week_count: int | None = None

Joined week count.

Constraints:
  • ge = 0

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field list: models.AppBskyGraphDefs.ListViewBasic | None = None

List.

field list_items_sample: List[models.AppBskyGraphDefs.ListItemView] | None = None

List items sample.

Constraints:
  • max_length = 12

field py_type: Literal['app.bsky.graph.defs#starterPackView'] = 'app.bsky.graph.defs#starterPackView'
field record: UnknownType [Required]

Record.

field uri: str [Required]

Uri.

class atproto_client.models.app.bsky.graph.defs.StarterPackViewBasic

Bases: ModelBase

Definition model for app.bsky.graph.defs.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileViewBasic [Required]

Creator.

field indexed_at: str [Required]

Indexed at.

field joined_all_time_count: int | None = None

Joined all time count.

Constraints:
  • ge = 0

field joined_week_count: int | None = None

Joined week count.

Constraints:
  • ge = 0

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field list_item_count: int | None = None

List item count.

Constraints:
  • ge = 0

field py_type: Literal['app.bsky.graph.defs#starterPackViewBasic'] = 'app.bsky.graph.defs#starterPackViewBasic'
field record: UnknownType [Required]

Record.

field uri: str [Required]

Uri.