Skip to content

Commit 7807035

Browse files
committed
Update Python Client to 3.3.1rc1
1 parent 561bfa0 commit 7807035

440 files changed

Lines changed: 1429 additions & 1629 deletions

File tree

Some content is hidden

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

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
under the License.
1818
-->
1919

20+
# v3.3.1
21+
22+
## Bug Fixes:
23+
24+
- Allow filtering Dag runs by partition date in the API (#70304)
25+
- Simplify the API docs on pattern search (#70509)
26+
- Document the 409 response from the XCom create endpoint (#71128)
27+
- API: Return 503 when SQLite locks during backfill creation (#69659)
28+
- Reject invalid partition keys in the create asset events API (#69581)
29+
2030
# v3.3.0
2131

2232
## New Features:

‎airflow_client/client/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66
Airflow API
77
8-
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead.
8+
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead. **Filtering with pattern parameters.** Many list endpoints accept ``*_pattern`` and ``*_prefix_pattern`` query parameters. Unless a parameter's own description says otherwise, ``*_pattern`` is a case-insensitive substring match (SQL ``ILIKE '%term%'``) where ``%`` matches any sequence and ``_`` matches any single character (e.g. ``%customer_%``) — convenient, but it cannot use B-tree indexes, so it is slow on large tables. ``*_prefix_pattern`` matches the start of the value, is case-sensitive and index-friendly (prefer it at scale); there ``%`` and ``_`` are literal and trailing non-alphanumeric characters are stripped so the range scan stays index-compatible under locale-aware collations (e.g. ``test_`` matches values starting with ``test``, and ``s3://`` matches ``s3``). In both, ``|`` means OR (e.g. ``dag1|dag2``) and ``~`` matches everything. Regular expressions are not supported by these parameters; regex-capable endpoints expose a separate parameter.
99
1010
The version of the OpenAPI document: 2
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "3.3.0"
17+
__version__ = "3.3.1"
1818

1919
# Define package exports
2020
__all__ = [

‎airflow_client/client/api/asset_api.py‎

Lines changed: 49 additions & 49 deletions
Large diffs are not rendered by default.

‎airflow_client/client/api/asset_state_store_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Airflow API
33
4-
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead.
4+
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead. **Filtering with pattern parameters.** Many list endpoints accept ``*_pattern`` and ``*_prefix_pattern`` query parameters. Unless a parameter's own description says otherwise, ``*_pattern`` is a case-insensitive substring match (SQL ``ILIKE '%term%'``) where ``%`` matches any sequence and ``_`` matches any single character (e.g. ``%customer_%``) — convenient, but it cannot use B-tree indexes, so it is slow on large tables. ``*_prefix_pattern`` matches the start of the value, is case-sensitive and index-friendly (prefer it at scale); there ``%`` and ``_`` are literal and trailing non-alphanumeric characters are stripped so the range scan stays index-compatible under locale-aware collations (e.g. ``test_`` matches values starting with ``test``, and ``s3://`` matches ``s3``). In both, ``|`` means OR (e.g. ``dag1|dag2``) and ``~`` matches everything. Regular expressions are not supported by these parameters; regex-capable endpoints expose a separate parameter.
55
66
The version of the OpenAPI document: 2
77
Generated by OpenAPI Generator (https://openapi-generator.tech)

‎airflow_client/client/api/backfill_api.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Airflow API
33
4-
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead.
4+
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead. **Filtering with pattern parameters.** Many list endpoints accept ``*_pattern`` and ``*_prefix_pattern`` query parameters. Unless a parameter's own description says otherwise, ``*_pattern`` is a case-insensitive substring match (SQL ``ILIKE '%term%'``) where ``%`` matches any sequence and ``_`` matches any single character (e.g. ``%customer_%``) — convenient, but it cannot use B-tree indexes, so it is slow on large tables. ``*_prefix_pattern`` matches the start of the value, is case-sensitive and index-friendly (prefer it at scale); there ``%`` and ``_`` are literal and trailing non-alphanumeric characters are stripped so the range scan stays index-compatible under locale-aware collations (e.g. ``test_`` matches values starting with ``test``, and ``s3://`` matches ``s3``). In both, ``|`` means OR (e.g. ``dag1|dag2``) and ``~`` matches everything. Regular expressions are not supported by these parameters; regex-capable endpoints expose a separate parameter.
55
66
The version of the OpenAPI document: 2
77
Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -375,6 +375,7 @@ def create_backfill(
375375
'404': "HTTPExceptionResponse",
376376
'409': "HTTPExceptionResponse",
377377
'422': "HTTPValidationError",
378+
'503': "HTTPExceptionResponse",
378379
}
379380
response_data = self.api_client.call_api(
380381
*_param,
@@ -447,6 +448,7 @@ def create_backfill_with_http_info(
447448
'404': "HTTPExceptionResponse",
448449
'409': "HTTPExceptionResponse",
449450
'422': "HTTPValidationError",
451+
'503': "HTTPExceptionResponse",
450452
}
451453
response_data = self.api_client.call_api(
452454
*_param,
@@ -519,6 +521,7 @@ def create_backfill_without_preload_content(
519521
'404': "HTTPExceptionResponse",
520522
'409': "HTTPExceptionResponse",
521523
'422': "HTTPValidationError",
524+
'503': "HTTPExceptionResponse",
522525
}
523526
response_data = self.api_client.call_api(
524527
*_param,
@@ -664,6 +667,7 @@ def create_backfill_dry_run(
664667
'404': "HTTPExceptionResponse",
665668
'409': "HTTPExceptionResponse",
666669
'422': "HTTPValidationError",
670+
'503': "HTTPExceptionResponse",
667671
}
668672
response_data = self.api_client.call_api(
669673
*_param,
@@ -735,6 +739,7 @@ def create_backfill_dry_run_with_http_info(
735739
'404': "HTTPExceptionResponse",
736740
'409': "HTTPExceptionResponse",
737741
'422': "HTTPValidationError",
742+
'503': "HTTPExceptionResponse",
738743
}
739744
response_data = self.api_client.call_api(
740745
*_param,
@@ -806,6 +811,7 @@ def create_backfill_dry_run_without_preload_content(
806811
'404': "HTTPExceptionResponse",
807812
'409': "HTTPExceptionResponse",
808813
'422': "HTTPValidationError",
814+
'503': "HTTPExceptionResponse",
809815
}
810816
response_data = self.api_client.call_api(
811817
*_param,

‎airflow_client/client/api/config_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Airflow API
33
4-
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead.
4+
Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead. **Filtering with pattern parameters.** Many list endpoints accept ``*_pattern`` and ``*_prefix_pattern`` query parameters. Unless a parameter's own description says otherwise, ``*_pattern`` is a case-insensitive substring match (SQL ``ILIKE '%term%'``) where ``%`` matches any sequence and ``_`` matches any single character (e.g. ``%customer_%``) — convenient, but it cannot use B-tree indexes, so it is slow on large tables. ``*_prefix_pattern`` matches the start of the value, is case-sensitive and index-friendly (prefer it at scale); there ``%`` and ``_`` are literal and trailing non-alphanumeric characters are stripped so the range scan stays index-compatible under locale-aware collations (e.g. ``test_`` matches values starting with ``test``, and ``s3://`` matches ``s3``). In both, ``|`` means OR (e.g. ``dag1|dag2``) and ``~`` matches everything. Regular expressions are not supported by these parameters; regex-capable endpoints expose a separate parameter.
55
66
The version of the OpenAPI document: 2
77
Generated by OpenAPI Generator (https://openapi-generator.tech)

0 commit comments

Comments
 (0)