Skip to content

Queue Command

immichpy.client.generated.models.queue_command.QueueCommand

Bases: str, Enum

Queue command to execute

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of QueueCommand from a JSON string

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