Skip to content

Hls Video Resolution

immichpy.client.generated.models.hls_video_resolution.HlsVideoResolution

Bases: int, Enum

HLS video resolution

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of HlsVideoResolution from a JSON string

Source code in immichpy/client/generated/models/hls_video_resolution.py
34
35
36
37
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of HlsVideoResolution from a JSON string"""
    return cls(json.loads(json_str))