sunank200 commented on code in PR #53387:
URL: https://github.com/apache/airflow/pull/53387#discussion_r2282319355
##########
task-sdk/src/airflow/sdk/api/datamodels/_generated.py:
##########
@@ -472,6 +472,13 @@ class TaskInstanceState(str, Enum):
DEFERRED = "deferred"
+class JobState(str, Enum):
+ RUNNING = "running"
+ SUCCESS = "success"
+ RESTARTING = "restarting"
+ FAILED = "failed"
Review Comment:
It is only used in test but not in task-sdk code at all.
https://github.com/apache/airflow/blob/main/task-sdk/tests/task_sdk/definitions/test_secrets_masker.py#L360
Removing this completely from task-sdk
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]