mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-07-05 16:19:36 +00:00
16 lines
334 B
Python
16 lines
334 B
Python
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class PipelineJobState(str, Enum):
|
|
SCHEDULED = "scheduled"
|
|
RUNNING = "running"
|
|
FAILED = "failed"
|
|
COMPLETE = "complete"
|
|
|
|
def __repr__(self):
|
|
"""Get a string representation."""
|
|
return f'"{self.value}"'
|