Skip to content

Sync Entity Type

immichpy.client.generated.models.sync_entity_type.SyncEntityType

Bases: str, Enum

Sync entity type

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of SyncEntityType from a JSON string

Source code in immichpy/client/generated/models/sync_entity_type.py
79
80
81
82
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of SyncEntityType from a JSON string"""
    return cls(json.loads(json_str))