Skip to content

Asset Type Enum

immichpy.client.generated.models.asset_type_enum.AssetTypeEnum

Bases: str, Enum

Asset type

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of AssetTypeEnum from a JSON string

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