Skip to content

Commit a2ead06

Browse files
authored
Prepare release 2.1.0 (#19)
1 parent 1b5ca49 commit a2ead06

File tree

242 files changed

+1959
-286
lines changed

Some content is hidden

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

242 files changed

+1959
-286
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
# Apache Airflow Python Client
2121

22+
> **_NOTE:_** The Apache Airflow Client is still under active development and some methods
23+
> or APIs might be broken. Please raise an issue in github if you encounter any such issues.
24+
25+
2226

2327
## Requirements.
2428

airflow_client/.openapi-generator/FILES

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ client/api/monitoring_api.py
1212
client/api/permission_api.py
1313
client/api/plugin_api.py
1414
client/api/pool_api.py
15+
client/api/provider_api.py
1516
client/api/role_api.py
1617
client/api/task_instance_api.py
1718
client/api/user_api.py
@@ -70,6 +71,8 @@ client/model/plugin_collection_item.py
7071
client/model/pool.py
7172
client/model/pool_collection.py
7273
client/model/pool_collection_all_of.py
74+
client/model/provider.py
75+
client/model/provider_collection.py
7376
client/model/relative_delta.py
7477
client/model/resource.py
7578
client/model/role.py
@@ -111,7 +114,6 @@ client/model/x_com_collection_all_of.py
111114
client/model/x_com_collection_item.py
112115
client/model_utils.py
113116
client/models/__init__.py
114-
client/models/__init__.py
115117
client/rest.py
116118
docs/Action.md
117119
docs/ActionCollection.md
@@ -171,6 +173,9 @@ docs/Pool.md
171173
docs/PoolApi.md
172174
docs/PoolCollection.md
173175
docs/PoolCollectionAllOf.md
176+
docs/Provider.md
177+
docs/ProviderApi.md
178+
docs/ProviderCollection.md
174179
docs/RelativeDelta.md
175180
docs/Resource.md
176181
docs/Role.md
@@ -274,6 +279,9 @@ test/test_pool.py
274279
test/test_pool_api.py
275280
test/test_pool_collection.py
276281
test/test_pool_collection_all_of.py
282+
test/test_provider.py
283+
test/test_provider_api.py
284+
test/test_provider_collection.py
277285
test/test_relative_delta.py
278286
test/test_resource.py
279287
test/test_role.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.0
1+
5.1.1

airflow_client/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Example:
131131
|-|-|
132132
| v2.0 | Initial release |
133133
| v2.0.2 | Added /plugins endpoint |
134+
| v2.1 | New providers endpoint |
134135

135136
# Trying the API
136137

@@ -238,7 +239,7 @@ fulfilling the request.
238239
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
239240

240241
- API version: 1.0.0
241-
- Package version: 1.0.0
242+
- Package version: 2.1.0
242243
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
243244
For more information, please visit [https://airflow.apache.org](https://airflow.apache.org)
244245

@@ -357,8 +358,12 @@ Class | Method | HTTP request | Description
357358
*PoolApi* | [**get_pools**](docs/PoolApi.md#get_pools) | **GET** /pools | List pools
358359
*PoolApi* | [**patch_pool**](docs/PoolApi.md#patch_pool) | **PATCH** /pools/{pool_name} | Update a pool
359360
*PoolApi* | [**post_pool**](docs/PoolApi.md#post_pool) | **POST** /pools | Create a pool
361+
*ProviderApi* | [**get_providers**](docs/ProviderApi.md#get_providers) | **GET** /providers | List providers
362+
*RoleApi* | [**delete_role**](docs/RoleApi.md#delete_role) | **DELETE** /roles/{role_name} | Delete a role
360363
*RoleApi* | [**get_role**](docs/RoleApi.md#get_role) | **GET** /roles/{role_name} | Get a role
361364
*RoleApi* | [**get_roles**](docs/RoleApi.md#get_roles) | **GET** /roles | List roles
365+
*RoleApi* | [**patch_role**](docs/RoleApi.md#patch_role) | **PATCH** /roles/{role_name} | Update a role
366+
*RoleApi* | [**post_role**](docs/RoleApi.md#post_role) | **POST** /roles | Create a role
362367
*TaskInstanceApi* | [**get_extra_links**](docs/TaskInstanceApi.md#get_extra_links) | **GET** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/links | List extra links
363368
*TaskInstanceApi* | [**get_log**](docs/TaskInstanceApi.md#get_log) | **GET** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/logs/{task_try_number} | Get logs
364369
*TaskInstanceApi* | [**get_task_instance**](docs/TaskInstanceApi.md#get_task_instance) | **GET** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id} | Get a task instance
@@ -425,6 +430,8 @@ Class | Method | HTTP request | Description
425430
- [Pool](docs/Pool.md)
426431
- [PoolCollection](docs/PoolCollection.md)
427432
- [PoolCollectionAllOf](docs/PoolCollectionAllOf.md)
433+
- [Provider](docs/Provider.md)
434+
- [ProviderCollection](docs/ProviderCollection.md)
428435
- [RelativeDelta](docs/RelativeDelta.md)
429436
- [Resource](docs/Resource.md)
430437
- [Role](docs/Role.md)

airflow_client/client/__init__.py

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

airflow_client/client/api/config_api.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

airflow_client/client/api/connection_api.py

Lines changed: 7 additions & 1 deletion
Large diffs are not rendered by default.

airflow_client/client/api/dag_api.py

Lines changed: 13 additions & 1 deletion
Large diffs are not rendered by default.

airflow_client/client/api/dag_run_api.py

Lines changed: 7 additions & 1 deletion
Large diffs are not rendered by default.

airflow_client/client/api/event_log_api.py

Lines changed: 7 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)