This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e4bd9c9c9da Fix static checks on airflowctl generated client code
(#49523)
e4bd9c9c9da is described below
commit e4bd9c9c9da1c2bd34564e23bd22c99570a1fba6
Author: Jens Scheffler <[email protected]>
AuthorDate: Mon Apr 21 23:57:33 2025 +0200
Fix static checks on airflowctl generated client code (#49523)
---
airflow-ctl/src/airflowctl/api/datamodels/generated.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/airflow-ctl/src/airflowctl/api/datamodels/generated.py
b/airflow-ctl/src/airflowctl/api/datamodels/generated.py
index 36dace0b4be..a44f3e4d8ee 100644
--- a/airflow-ctl/src/airflowctl/api/datamodels/generated.py
+++ b/airflow-ctl/src/airflowctl/api/datamodels/generated.py
@@ -554,6 +554,15 @@ class JobResponse(BaseModel):
unixname: Annotated[str | None, Field(title="Unixname")] = None
+class PluginImportErrorResponse(BaseModel):
+ """
+ Plugin Import Error serializer for responses.
+ """
+
+ source: Annotated[str, Field(title="Source")]
+ error: Annotated[str, Field(title="Error")]
+
+
class PluginResponse(BaseModel):
"""
Plugin serializer.
@@ -1332,6 +1341,15 @@ class PluginCollectionResponse(BaseModel):
total_entries: Annotated[int, Field(title="Total Entries")]
+class PluginImportErrorCollectionResponse(BaseModel):
+ """
+ Plugin Import Error Collection serializer.
+ """
+
+ import_errors: Annotated[list[PluginImportErrorResponse],
Field(title="Import Errors")]
+ total_entries: Annotated[int, Field(title="Total Entries")]
+
+
class PoolCollectionResponse(BaseModel):
"""
Pool Collection serializer for responses.