Skip to content

Commit d8b9bde

Browse files
algolia-botmillotp
andcommitted
fix(specs): update run reason in observability (generated)
algolia/api-clients-automation#5623 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent 62ce42e commit d8b9bde

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

algoliasearch/ingestion/models/run_reason_code.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,22 @@ class RunReasonCode(str, Enum):
2626
"""
2727
INTERNAL = "internal"
2828

29+
CANCELLED = "cancelled"
30+
2931
CRITICAL = "critical"
3032

3133
NO_EVENTS = "no_events"
3234

3335
TOO_MANY_ERRORS = "too_many_errors"
3436

35-
OK = "ok"
37+
LACKING_EVENTS = "lacking_events"
3638

37-
DISCARDED = "discarded"
39+
OK = "ok"
3840

3941
BLOCKING = "blocking"
4042

43+
IDLE = "idle"
44+
4145
@classmethod
4246
def from_json(cls, json_str: str) -> Self:
4347
"""Create an instance of RunReasonCode from a JSON string"""

algoliasearch/ingestion/models/run_status.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class RunStatus(str, Enum):
2828

2929
STARTED = "started"
3030

31-
IDLED = "idled"
32-
3331
FINISHED = "finished"
3432

3533
SKIPPED = "skipped"

0 commit comments

Comments
 (0)