com.atproto.identity.signPlcOperation

Signs a PLC operation to update some value(s) in the requesting DID’s document.

class atproto_client.models.com.atproto.identity.sign_plc_operation.Data

Bases: DataModelBase

Input data model for com.atproto.identity.signPlcOperation.

field also_known_as: List[str] | None = None

Also known as.

field rotation_keys: List[str] | None = None

Rotation keys.

field services: UnknownInputType | None = None

Services.

field token: str | None = None

A token received through com.atproto.identity.requestPlcOperationSignature.

field verification_methods: UnknownInputType | None = None

Verification methods.

class atproto_client.models.com.atproto.identity.sign_plc_operation.DataDict

Bases: TypedDict

also_known_as: NotRequired[List[str] | None]

Also known as.

rotation_keys: NotRequired[List[str] | None]

Rotation keys.

services: NotRequired[Annotated[Any, UnknownRecordFallback] | None]

Services.

token: NotRequired[str | None]

A token received through com.atproto.identity.requestPlcOperationSignature.

verification_methods: NotRequired[Annotated[Any, UnknownRecordFallback] | None]

Verification methods.

class atproto_client.models.com.atproto.identity.sign_plc_operation.Response

Bases: ResponseModelBase

Output data model for com.atproto.identity.signPlcOperation.

field operation: UnknownType [Required]

A signed DID PLC operation.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 72

  • __doc__ = Annotation for lexicon unknown fields: any registered record type, else DotDict. Record types are looked up in the runtime registry rather than in a union fixed at import time, so a record defined by a package generated from custom lexicons is decoded to its own model.

  • __get_pydantic_core_schema__ = <bound method UnknownRecordFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownRecordFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 72, ‘__doc__’: ‘Annotation for lexicon unknown fields: any registered record type, else DotDict.nnRecord types are looked up in the runtime registry rather than in a union fixed at import time,nso a record defined by a package generated from custom lexicons is decoded to its own model.n’, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownRecordFallback.__get_pydantic_core_schema__ at 0x786e5ef30d60>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownRecordFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownRecordFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownRecordFallback’ objects>