Skip to content

Sync Request Type

immichpy.client.generated.models.sync_request_type.SyncRequestType

Bases: str, Enum

Sync request type

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
56
57
58
59
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of SyncRequestType from a JSON string"""
    return cls(json.loads(json_str))