Skip to content

Log Level

immichpy.client.generated.models.log_level.LogLevel

Bases: str, Enum

LogLevel

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of LogLevel from a JSON string

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