Skip to content

Memory Type V1

immichpy.client.generated.models.memory_type_v1.MemoryTypeV1

Bases: str, Enum

MemoryTypeV1

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of MemoryTypeV1 from a JSON string

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