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
]
- 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 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 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'¶
- 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'¶