Skip to content

Colorspace

immichpy.client.generated.models.colorspace.Colorspace

Bases: str, Enum

Colorspace

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of Colorspace from a JSON string

Source code in immichpy/client/generated/models/colorspace.py
31
32
33
34
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of Colorspace from a JSON string"""
    return cls(json.loads(json_str))