# coding: utf-8

"""
    Mixpeek API

    This is the Mixpeek API, providing access to various endpoints for data processing and retrieval.

    The version of the OpenAPI document: 1.3.0
    Contact: info@mixpeek.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class PostProcessingPhase(int, Enum):
    """
    Execution phases for post-processing applications.  Applications execute in phase order (lower = earlier). Within a phase, applications execute by priority (higher = earlier).  Phases:     TAXONOMY (1): Classification and labeling operations     CLUSTER (2): Grouping and clustering operations     ALERT (3): Notifications and alerts (default for alerts)  The default phase for each application type:     - TaxonomyApplicationConfig: TAXONOMY     - ClusterApplicationConfig: CLUSTER     - AlertApplicationConfig: ALERT  Users can override the phase via the `execution_phase` field to run applications in non-default order. For example, an alert can be configured to run in Phase 1 alongside taxonomies if early notification is needed.  Example:     # Default: Alert runs after taxonomies and clusters     AlertApplicationConfig(alert_id=\"alt_123\", execution_phase=PostProcessingPhase.ALERT)      # Override: Run alert early, in taxonomy phase     AlertApplicationConfig(alert_id=\"alt_urgent\", execution_phase=PostProcessingPhase.TAXONOMY)
    """

    """
    allowed enum values
    """
    NUMBER_1 = 1
    NUMBER_2 = 2
    NUMBER_3 = 3

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of PostProcessingPhase from a JSON string"""
        return cls(json.loads(json_str))


