app.bsky.embed.record_with_media¶
- class atproto_client.models.app.bsky.embed.record_with_media.Main¶
Bases:
ModelBaseDefinition model for
app.bsky.embed.recordWithMedia.- field media: models.AppBskyEmbedImages.Main | models.AppBskyEmbedVideo.Main | models.AppBskyEmbedGallery.Main | models.AppBskyEmbedExternal.Main | DotDict [Required]¶
Media.
- Constraints:
__module__ = atproto_client.models.unknown_union
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__doc__’: “Annotation for open ref unions: an unrecognized
$typefalls back toDotDict.nn Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bynpy_typeas usual, so a known type that fails validation still raises. Only a$typethatn matches no member, or a missing one, degrades to aDotDict.n “, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x79725dafee60>)>, ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- field py_type: Literal['app.bsky.embed.recordWithMedia'] = 'app.bsky.embed.recordWithMedia'¶
- field record: models.AppBskyEmbedRecord.Main [Required]¶
Record.
- class atproto_client.models.app.bsky.embed.record_with_media.View¶
Bases:
ModelBaseDefinition model for
app.bsky.embed.recordWithMedia.- field media: models.AppBskyEmbedImages.View | models.AppBskyEmbedVideo.View | models.AppBskyEmbedGallery.View | models.AppBskyEmbedExternal.View | DotDict [Required]¶
Media.
- Constraints:
__module__ = atproto_client.models.unknown_union
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__doc__’: “Annotation for open ref unions: an unrecognized
$typefalls back toDotDict.nn Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bynpy_typeas usual, so a known type that fails validation still raises. Only a$typethatn matches no member, or a missing one, degrades to aDotDict.n “, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x79725dafee60>)>, ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- field py_type: Literal['app.bsky.embed.recordWithMedia#view'] = 'app.bsky.embed.recordWithMedia#view'¶
- field record: models.AppBskyEmbedRecord.View [Required]¶
Record.