Skip to content

Commit ff39671

Browse files
committed
Update Python Client to 3.3.0rc1
1 parent 718955e commit ff39671

197 files changed

Lines changed: 15667 additions & 1165 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: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,55 @@
1717
under the License.
1818
-->
1919

20+
# v3.3.0
21+
22+
## New Features:
23+
24+
- AIP-103: Add Core API endpoints for task state and asset state (#67041)
25+
- AIP-103: Add patch task state core API and support for ``expires_at`` in set API (#67319)
26+
- Add ``awaiting_input`` task state for Human-in-the-loop (#68028)
27+
- Return dag-specified results in the dag run wait API (#64577)
28+
- Add ``POST /dags/{dag_id}/clearDagRuns`` bulk endpoint (#67709)
29+
- Add bulk delete Dag Runs (#67095)
30+
- Add bulk update to mark Dag runs as success/failed (#67948)
31+
- Clear, mark success/failed and delete multiple task instances (#64141)
32+
- Add partition clear support to the REST API matching the CLI (#68702)
33+
- Propagate ``partition_date`` to consumers of partitioned assets (#67285)
34+
- Add consumer-team asset filtering API endpoint support (#68034)
35+
- Add Dag runs filters for Consuming Asset (#63624)
36+
- Add async connection testing via workers for security isolation (#62343)
37+
- Add ``nav_top_level`` option for plugin nav items (#67084)
38+
- Implement patching of task group instances in the API (#62812)
39+
- Add cursor-based pagination for the ``get_dag_runs`` endpoint (#65604)
40+
- Add cursor-based pagination for the ``get_task_instances`` endpoint (#64845)
41+
- Support ordering ``XCom`` entries in the REST API (#65418)
42+
- Enable queueing up new tasks (#63484)
43+
- Add the "is backfillable" property for Dags (#64644)
44+
- Add ``DagRunType`` for operator (#63733)
45+
- Pass ``try_number`` to the extra links API (#65661)
46+
- Add ``rerun_with_latest_version`` config hierarchy for clear/rerun behavior (#63884)
47+
48+
## Improvements:
49+
50+
- Record writer info for every asset-store write for better cross-linkage (#67902)
51+
- Apply note when clearing a Dag Run / task instances (#67639)
52+
- Update search parameters to better leverage DB indexes (#64963)
53+
- Filter task instances by rendered map index (#66008)
54+
- Handle undecryptable Variable values gracefully in the Stable REST API (#65452)
55+
- Surface import errors on deactivated Dags (#65687)
56+
- Align Dag capitalization from "DAG" to "Dag" in the API (#66211, #66099, #66112)
57+
58+
## Bug Fixes:
59+
60+
- Stop exposing trigger kwargs in the REST API response (#67868)
61+
- Fix Dag run partition-key filter breaking on composite keys with ``|`` (#68459)
62+
- Fix sort order for mapped task instances (#67551)
63+
- Fix using the Dag form when materializing an asset (#64211)
64+
- Fix ``GET /auth/login`` missing 400 in the OpenAPI spec (#67571)
65+
- Fix ``GET /pools`` list endpoint incorrectly documenting 404 in the OpenAPI spec (#67570)
66+
- Fix backfill params not overriding existing Dag run conf (#64939)
67+
- Fix ``PATCH /dags`` pagination bug and document wildcard ``dag_id_pattern`` (#63665)
68+
2069
# v3.2.2
2170

2271
## Improvements:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ the Apache Airflow API.
141141
Note that you will need to pass authentication credentials. If your Airflow deployment supports
142142
**Bearer token authentication**, you can use the following example:
143143

144-
For example, here is how to pause a DAG with `curl`, using a Bearer token:
144+
For example, here is how to pause a Dag with `curl`, using a Bearer token:
145145

146146
```bash
147147
curl -X PATCH 'https://example.com/api/v2/dags/{dag_id}?update_mask=is_paused' \
@@ -651,7 +651,7 @@ configuration = airflow_client.client.Configuration(host="http://localhost:8080"
651651

652652
* Run scheduler (or dag file processor you have setup with standalone dag file processor) for few parsing
653653
loops (you can pass --num-runs parameter to it or keep it running in the background). The script relies
654-
on example DAGs being serialized to the DB and this only
654+
on example Dags being serialized to the DB and this only
655655
happens when scheduler runs with ``core/load_examples`` set to True.
656656

657657
* Run webserver - reachable at the host/port for the test script you want to run. Make sure it had enough

airflow_client/client/__init__.py

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

airflow_client/client/api/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# import apis into api package
44
from airflow_client.client.api.asset_api import AssetApi
5+
from airflow_client.client.api.asset_state_store_api import AssetStateStoreApi
56
from airflow_client.client.api.backfill_api import BackfillApi
67
from airflow_client.client.api.config_api import ConfigApi
78
from airflow_client.client.api.connection_api import ConnectionApi
@@ -23,6 +24,7 @@
2324
from airflow_client.client.api.provider_api import ProviderApi
2425
from airflow_client.client.api.task_api import TaskApi
2526
from airflow_client.client.api.task_instance_api import TaskInstanceApi
27+
from airflow_client.client.api.task_state_store_api import TaskStateStoreApi
2628
from airflow_client.client.api.variable_api import VariableApi
2729
from airflow_client.client.api.version_api import VersionApi
2830
from airflow_client.client.api.x_com_api import XComApi

0 commit comments

Comments
 (0)