Skip to content

Person Update Strategy

immichpy.client.generated.models.person_update_strategy.PersonUpdateStrategy

Bases: str, Enum

Which person records to update when editing a person

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of PersonUpdateStrategy from a JSON string

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