Skip to content

Sync Request Type

immichpy.client.generated.models.sync_request_type.SyncRequestType

Bases: str, Enum

Sync request types

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of SyncRequestType from a JSON string

Source code in immichpy/client/generated/models/sync_request_type.py
51
52
53
54
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of SyncRequestType from a JSON string"""
    return cls(json.loads(json_str))