This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 67ebc3a6cd Fix DataFusion example type annotations (#35753)
67ebc3a6cd is described below
commit 67ebc3a6cd2bf5a2b2414c7358dc6177e23c2fcb
Author: Andrey Anshin <[email protected]>
AuthorDate: Tue Nov 21 23:44:09 2023 +0400
Fix DataFusion example type annotations (#35753)
---
tests/system/providers/google/cloud/datafusion/example_datafusion.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/tests/system/providers/google/cloud/datafusion/example_datafusion.py
b/tests/system/providers/google/cloud/datafusion/example_datafusion.py
index 38f443a706..506323dccb 100644
--- a/tests/system/providers/google/cloud/datafusion/example_datafusion.py
+++ b/tests/system/providers/google/cloud/datafusion/example_datafusion.py
@@ -215,7 +215,7 @@ with DAG(
# [END howto_cloud_data_fusion_update_instance_operator]
@task(task_id="get_artifacts_versions")
- def get_artifacts_versions(ti) -> dict:
+ def get_artifacts_versions(ti=None):
hook = DataFusionHook()
instance_url = ti.xcom_pull(task_ids="get_instance",
key="return_value")["apiEndpoint"]
artifacts = hook.get_instance_artifacts(instance_url=instance_url,
namespace="default")
@@ -319,7 +319,7 @@ with DAG(
# TEST BODY
>> create_instance
>> get_instance
- >> get_artifacts_versions() # type: ignore[call-arg]
+ >> get_artifacts_versions()
>> restart_instance
>> update_instance
>> create_pipeline