Skip to content

Commit

Permalink
Expose raw flag on media list, so a separate metadata request is not …
Browse files Browse the repository at this point in the history
…required.
  • Loading branch information
autopulated committed Aug 22, 2024
1 parent 78a3864 commit d52bde9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class MediaItem(CustomBaseModel):
low_res_video_size: Optional[str] = Field(alias="glrv", default=None) #: Low resolution video size
lrv_file_size: Optional[str] = Field(alias="ls", default=None) #: Low resolution file size
session_id: Optional[str] = Field(alias="id", default=None) # Media list session identifier
raw: Optional[str] = Field(default=None) #: 1 if photo has raw version, 0 (or omitted) otherwise


class GroupedMediaItem(MediaItem):
Expand Down

0 comments on commit d52bde9

Please sign in to comment.