bytes_type

Lexicon bytes, carried as base64 in JSON.

atproto_client.models.bytes_type.BytesType

Lexicon bytes. JSON carries it as {"$bytes": "<base64>"}; model_dump keeps the raw bytes.

alias of Annotated[bytes, BeforeValidator(func=_decode_json_bytes, json_schema_input_type=PydanticUndefined), PlainSerializer(func=_encode_json_bytes, return_type=PydanticUndefined, when_used=json)]