Skip to content

Search Suggestion Type

immichpy.client.generated.models.search_suggestion_type.SearchSuggestionType

Bases: str, Enum

SearchSuggestionType

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of SearchSuggestionType from a JSON string

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