Suraj-kumar00 commented on code in PR #67947:
URL: https://github.com/apache/airflow/pull/67947#discussion_r3565947100
##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -950,3 +963,45 @@ def list_import_errors(self) ->
PluginImportErrorCollectionResponse | ServerResp
return
PluginImportErrorCollectionResponse.model_validate_json(self.response.content)
except ServerResponseError as e:
raise e
+
+
+class TasksOperations(BaseOperations):
Review Comment:
The class was originally **TaskInstanceOperations**. It was renamed to
**TasksOperations** at bugraoz93's review request to match Airflow core CLI
naming, since the auto-generated CLI group name derives from the class name.
**Happy to go either way:**
(a) TaskInstanceOperations giving airflowctl taskinstance ... (matches the
API resource, same pattern as dagrun), or
(b) keep TasksOperations giving airflowctl tasks ... (matches core CLI). I
will apply whichever you two agree on.
--
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]