app.bsky.embed.defs

class atproto_client.models.app.bsky.embed.defs.AspectRatio

Bases: ModelBase

Definition model for app.bsky.embed.defs. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.

field height: int [Required]

Height.

Constraints:
  • ge = 1

field py_type: Literal['app.bsky.embed.defs#aspectRatio'] = 'app.bsky.embed.defs#aspectRatio'
field width: int [Required]

Width.

Constraints:
  • ge = 1