Update example DAG files to latest syntax
See original GitHub issueHello,
When we stop releasing backport packages, we will be able to update all example DAGs to use the new syntax for handling outputs introduced by AIP-31.
This is an example change.
product_set_update = CloudVisionUpdateProductSetOperator(
location=GCP_VISION_LOCATION,
- product_set_id="{{ task_instance.xcom_pull('product_set_create') }}",
+ product_set_id=product_set_create.output,
product_set=ProductSet(display_name='My Product Set 2'),
task_id='product_set_update',
)
Best regards, Kamil Bregułła
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:14 (14 by maintainers)
Top Results From Across the Web
DAGs — Airflow Documentation
A DAG (Directed Acyclic Graph) is the core concept of Airflow, collecting Tasks together, organized with dependencies and relationships to say how they...
Read more >DAG writing best practices in Apache Airflow - Astronomer Docs
Keep up to date with the best practices for developing efficient, secure, and scalable DAGs using Airflow. Learn about DAG design and data...
Read more >Writing DAGs (workflows) | Cloud Composer - Google Cloud
This guide shows you how to write an Apache Airflow directed acyclic graph (DAG) that runs in a Cloud Composer environment. Note: Because...
Read more >airflow: 1.7: DAG not being updated in GUI - Stack Overflow
I encountered this problem in a code tab, it would not update. Turns out it is not updated due to the mistake in...
Read more >Creating and updating Apache Airflow jobs using the CLI
The following example demonstrates how to create an Airflow DAG in Cloudera Data ... cde job create --name <job_name> --type airflow --dag-file <DAG_file> ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this could be done as extra task afterwards
Fantastic! Thanks @josh-fell !