Skip to content

Person User Role

immichpy.client.generated.models.person_user_role.PersonUserRole

Bases: str, Enum

Levels of access for managing people resources on behalf of another user.

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of PersonUserRole from a JSON string

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