|
1 | 1 | """ |
2 | 2 | Airflow API |
3 | 3 |
|
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. |
5 | 5 |
|
6 | 6 | The version of the OpenAPI document: 2 |
7 | 7 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
@@ -375,6 +375,7 @@ def create_backfill( |
375 | 375 | '404': "HTTPExceptionResponse", |
376 | 376 | '409': "HTTPExceptionResponse", |
377 | 377 | '422': "HTTPValidationError", |
| 378 | + '503': "HTTPExceptionResponse", |
378 | 379 | } |
379 | 380 | response_data = self.api_client.call_api( |
380 | 381 | *_param, |
@@ -447,6 +448,7 @@ def create_backfill_with_http_info( |
447 | 448 | '404': "HTTPExceptionResponse", |
448 | 449 | '409': "HTTPExceptionResponse", |
449 | 450 | '422': "HTTPValidationError", |
| 451 | + '503': "HTTPExceptionResponse", |
450 | 452 | } |
451 | 453 | response_data = self.api_client.call_api( |
452 | 454 | *_param, |
@@ -519,6 +521,7 @@ def create_backfill_without_preload_content( |
519 | 521 | '404': "HTTPExceptionResponse", |
520 | 522 | '409': "HTTPExceptionResponse", |
521 | 523 | '422': "HTTPValidationError", |
| 524 | + '503': "HTTPExceptionResponse", |
522 | 525 | } |
523 | 526 | response_data = self.api_client.call_api( |
524 | 527 | *_param, |
@@ -664,6 +667,7 @@ def create_backfill_dry_run( |
664 | 667 | '404': "HTTPExceptionResponse", |
665 | 668 | '409': "HTTPExceptionResponse", |
666 | 669 | '422': "HTTPValidationError", |
| 670 | + '503': "HTTPExceptionResponse", |
667 | 671 | } |
668 | 672 | response_data = self.api_client.call_api( |
669 | 673 | *_param, |
@@ -735,6 +739,7 @@ def create_backfill_dry_run_with_http_info( |
735 | 739 | '404': "HTTPExceptionResponse", |
736 | 740 | '409': "HTTPExceptionResponse", |
737 | 741 | '422': "HTTPValidationError", |
| 742 | + '503': "HTTPExceptionResponse", |
738 | 743 | } |
739 | 744 | response_data = self.api_client.call_api( |
740 | 745 | *_param, |
@@ -806,6 +811,7 @@ def create_backfill_dry_run_without_preload_content( |
806 | 811 | '404': "HTTPExceptionResponse", |
807 | 812 | '409': "HTTPExceptionResponse", |
808 | 813 | '422': "HTTPValidationError", |
| 814 | + '503': "HTTPExceptionResponse", |
809 | 815 | } |
810 | 816 | response_data = self.api_client.call_api( |
811 | 817 | *_param, |
|
0 commit comments