Skip to content

Plugin Trigger Type

immichpy.client.generated.models.plugin_trigger_type.PluginTriggerType

Bases: str, Enum

Trigger type

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of PluginTriggerType from a JSON string

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