Skip to content

Plugin Context Type

immichpy.client.generated.models.plugin_context_type.PluginContextType

Bases: str, Enum

Context type

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of PluginContextType from a JSON string

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