Skip to content

Notification Type

immichpy.client.generated.models.notification_type.NotificationType

Bases: str, Enum

NotificationType

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of NotificationType from a JSON string

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