Skip to content

Transcode HW Accel

immichpy.client.generated.models.transcode_hw_accel.TranscodeHWAccel

Bases: str, Enum

Transcode hardware acceleration

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of TranscodeHWAccel from a JSON string

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