Skip to content

People Users Upsert Type

immichpy.client.generated.models.people_users_upsert_type.PeopleUsersUpsertType

Bases: str, Enum

Which people to update when personIds is omitted

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of PeopleUsersUpsertType from a JSON string

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