Skip to content

Commit 38367b1

Browse files
authored
Updates for 3.0.0rc2 (#129)
releasing from v3-0-test this time from Airflow repo. The main change is `Pydantic` limit change.
1 parent 56c1242 commit 38367b1

File tree

90 files changed

+122
-2439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+122
-2439
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/dist
22
/tmp
33
/v1.yaml
4+
/v2.yaml
45
/.coverage
56
/apache_airflow_client.egg-info/
67
/.idea

airflow_client/client/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
from airflow_client.client.models.dry_run_backfill_response import DryRunBackfillResponse
132132
from airflow_client.client.models.event_log_collection_response import EventLogCollectionResponse
133133
from airflow_client.client.models.event_log_response import EventLogResponse
134-
from airflow_client.client.models.external_log_url_response import ExternalLogUrlResponse
135134
from airflow_client.client.models.extra_link_collection_response import ExtraLinkCollectionResponse
136135
from airflow_client.client.models.fast_api_app_response import FastAPIAppResponse
137136
from airflow_client.client.models.fast_api_root_middleware_response import FastAPIRootMiddlewareResponse
@@ -142,11 +141,8 @@
142141
from airflow_client.client.models.import_error_response import ImportErrorResponse
143142
from airflow_client.client.models.job_collection_response import JobCollectionResponse
144143
from airflow_client.client.models.job_response import JobResponse
145-
from airflow_client.client.models.last_asset_event_response import LastAssetEventResponse
146144
from airflow_client.client.models.patch_task_instance_body import PatchTaskInstanceBody
147145
from airflow_client.client.models.plugin_collection_response import PluginCollectionResponse
148-
from airflow_client.client.models.plugin_import_error_collection_response import PluginImportErrorCollectionResponse
149-
from airflow_client.client.models.plugin_import_error_response import PluginImportErrorResponse
150146
from airflow_client.client.models.plugin_response import PluginResponse
151147
from airflow_client.client.models.pool_body import PoolBody
152148
from airflow_client.client.models.pool_collection_response import PoolCollectionResponse

airflow_client/client/api/asset_api.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ def get_asset_aliases(
17731773
self,
17741774
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
17751775
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
1776-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1776+
name_pattern: Optional[StrictStr] = None,
17771777
order_by: Optional[StrictStr] = None,
17781778
_request_timeout: Union[
17791779
None,
@@ -1796,7 +1796,7 @@ def get_asset_aliases(
17961796
:type limit: int
17971797
:param offset:
17981798
:type offset: int
1799-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1799+
:param name_pattern:
18001800
:type name_pattern: str
18011801
:param order_by:
18021802
:type order_by: str
@@ -1856,7 +1856,7 @@ def get_asset_aliases_with_http_info(
18561856
self,
18571857
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
18581858
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
1859-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1859+
name_pattern: Optional[StrictStr] = None,
18601860
order_by: Optional[StrictStr] = None,
18611861
_request_timeout: Union[
18621862
None,
@@ -1879,7 +1879,7 @@ def get_asset_aliases_with_http_info(
18791879
:type limit: int
18801880
:param offset:
18811881
:type offset: int
1882-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1882+
:param name_pattern:
18831883
:type name_pattern: str
18841884
:param order_by:
18851885
:type order_by: str
@@ -1939,7 +1939,7 @@ def get_asset_aliases_without_preload_content(
19391939
self,
19401940
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
19411941
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
1942-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1942+
name_pattern: Optional[StrictStr] = None,
19431943
order_by: Optional[StrictStr] = None,
19441944
_request_timeout: Union[
19451945
None,
@@ -1962,7 +1962,7 @@ def get_asset_aliases_without_preload_content(
19621962
:type limit: int
19631963
:param offset:
19641964
:type offset: int
1965-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1965+
:param name_pattern:
19661966
:type name_pattern: str
19671967
:param order_by:
19681968
:type order_by: str
@@ -2835,8 +2835,8 @@ def get_assets(
28352835
self,
28362836
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
28372837
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
2838-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
2839-
uri_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
2838+
name_pattern: Optional[StrictStr] = None,
2839+
uri_pattern: Optional[StrictStr] = None,
28402840
dag_ids: Optional[List[StrictStr]] = None,
28412841
only_active: Optional[StrictBool] = None,
28422842
order_by: Optional[StrictStr] = None,
@@ -2861,9 +2861,9 @@ def get_assets(
28612861
:type limit: int
28622862
:param offset:
28632863
:type offset: int
2864-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
2864+
:param name_pattern:
28652865
:type name_pattern: str
2866-
:param uri_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
2866+
:param uri_pattern:
28672867
:type uri_pattern: str
28682868
:param dag_ids:
28692869
:type dag_ids: List[str]
@@ -2930,8 +2930,8 @@ def get_assets_with_http_info(
29302930
self,
29312931
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
29322932
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
2933-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
2934-
uri_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
2933+
name_pattern: Optional[StrictStr] = None,
2934+
uri_pattern: Optional[StrictStr] = None,
29352935
dag_ids: Optional[List[StrictStr]] = None,
29362936
only_active: Optional[StrictBool] = None,
29372937
order_by: Optional[StrictStr] = None,
@@ -2956,9 +2956,9 @@ def get_assets_with_http_info(
29562956
:type limit: int
29572957
:param offset:
29582958
:type offset: int
2959-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
2959+
:param name_pattern:
29602960
:type name_pattern: str
2961-
:param uri_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
2961+
:param uri_pattern:
29622962
:type uri_pattern: str
29632963
:param dag_ids:
29642964
:type dag_ids: List[str]
@@ -3025,8 +3025,8 @@ def get_assets_without_preload_content(
30253025
self,
30263026
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
30273027
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
3028-
name_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
3029-
uri_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
3028+
name_pattern: Optional[StrictStr] = None,
3029+
uri_pattern: Optional[StrictStr] = None,
30303030
dag_ids: Optional[List[StrictStr]] = None,
30313031
only_active: Optional[StrictBool] = None,
30323032
order_by: Optional[StrictStr] = None,
@@ -3051,9 +3051,9 @@ def get_assets_without_preload_content(
30513051
:type limit: int
30523052
:param offset:
30533053
:type offset: int
3054-
:param name_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
3054+
:param name_pattern:
30553055
:type name_pattern: str
3056-
:param uri_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
3056+
:param uri_pattern:
30573057
:type uri_pattern: str
30583058
:param dag_ids:
30593059
:type dag_ids: List[str]

airflow_client/client/api/connection_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def get_connections(
11311131
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
11321132
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
11331133
order_by: Optional[StrictStr] = None,
1134-
connection_id_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1134+
connection_id_pattern: Optional[StrictStr] = None,
11351135
_request_timeout: Union[
11361136
None,
11371137
Annotated[StrictFloat, Field(gt=0)],
@@ -1155,7 +1155,7 @@ def get_connections(
11551155
:type offset: int
11561156
:param order_by:
11571157
:type order_by: str
1158-
:param connection_id_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1158+
:param connection_id_pattern:
11591159
:type connection_id_pattern: str
11601160
:param _request_timeout: timeout setting for this request. If one
11611161
number provided, it will be total request
@@ -1214,7 +1214,7 @@ def get_connections_with_http_info(
12141214
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
12151215
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
12161216
order_by: Optional[StrictStr] = None,
1217-
connection_id_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1217+
connection_id_pattern: Optional[StrictStr] = None,
12181218
_request_timeout: Union[
12191219
None,
12201220
Annotated[StrictFloat, Field(gt=0)],
@@ -1238,7 +1238,7 @@ def get_connections_with_http_info(
12381238
:type offset: int
12391239
:param order_by:
12401240
:type order_by: str
1241-
:param connection_id_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1241+
:param connection_id_pattern:
12421242
:type connection_id_pattern: str
12431243
:param _request_timeout: timeout setting for this request. If one
12441244
number provided, it will be total request
@@ -1297,7 +1297,7 @@ def get_connections_without_preload_content(
12971297
limit: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
12981298
offset: Optional[Annotated[int, Field(strict=True, ge=0)]] = None,
12991299
order_by: Optional[StrictStr] = None,
1300-
connection_id_pattern: Annotated[Optional[StrictStr], Field(description="SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.")] = None,
1300+
connection_id_pattern: Optional[StrictStr] = None,
13011301
_request_timeout: Union[
13021302
None,
13031303
Annotated[StrictFloat, Field(gt=0)],
@@ -1321,7 +1321,7 @@ def get_connections_without_preload_content(
13211321
:type offset: int
13221322
:param order_by:
13231323
:type order_by: str
1324-
:param connection_id_pattern: SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Regular expressions are **not** supported.
1324+
:param connection_id_pattern:
13251325
:type connection_id_pattern: str
13261326
:param _request_timeout: timeout setting for this request. If one
13271327
number provided, it will be total request

0 commit comments

Comments
 (0)