com.atproto.label.query_labels

class atproto_client.models.com.atproto.label.query_labels.Params

Bases: ParamsModelBase

Parameters model for com.atproto.label.queryLabels.

field cursor: str | None = None

Cursor.

field limit: int | None = 50

Limit.

Constraints:
  • ge = 1

  • le = 250

field sources: List[str] | None = None

Optional list of label sources (DIDs) to filter on.

field uri_patterns: List[str] [Required]

List of AT URI patterns to match (boolean ‘OR’). Each may be a prefix (ending with ‘*’; will match inclusive of the string leading to ‘*’), or a full URI.

class atproto_client.models.com.atproto.label.query_labels.ParamsDict(*args, **kwargs)

Bases: dict

cursor: typing_extensions.NotRequired[str | None]

Cursor.

limit: typing_extensions.NotRequired[int | None]

Limit.

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

Optional list of label sources (DIDs) to filter on.

uri_patterns: List[str]

List of AT URI patterns to match (boolean ‘OR’). Each may be a prefix (ending with ‘*’; will match inclusive of the string leading to ‘*’), or a full URI.

class atproto_client.models.com.atproto.label.query_labels.Response

Bases: ResponseModelBase

Output data model for com.atproto.label.queryLabels.

field cursor: str | None = None

Cursor.

field labels: List[models.ComAtprotoLabelDefs.Label] [Required]

Labels.