Skip to content

Asset File Type

immichpy.client.generated.models.asset_file_type.AssetFileType

Bases: str, Enum

Type of file

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of AssetFileType from a JSON string

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