We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The dag id is named as listing_6_08 in chapter06/dags/listing_6_8.py, so the chapter06/scripts/trigger_dag.sh should follow the dag id.
listing_6_08
chapter06/dags/listing_6_8.py
chapter06/scripts/trigger_dag.sh
From:
#!/usr/bin/env bash # Trigger DAG with Airflow CLI airflow dags trigger listing_6_8 --conf '{"supermarket": 1}' # Trigger DAG with Airflow REST API curl -X POST "http://localhost:8080/api/v1/dags/listing_6_8/dagRuns" -H "Content-Type: application/json" -d '{"conf": {"supermarket": 1}}' --user "admin:admin"
To:
#!/usr/bin/env bash # Trigger DAG with Airflow CLI airflow dags trigger listing_6_08 --conf '{"supermarket": 1}' # Trigger DAG with Airflow REST API curl -X POST "http://localhost:8080/api/v1/dags/listing_6_08/dagRuns" -H "Content-Type: application/json" -d '{"conf": {"supermarket": 1}}' --user "admin:admin"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The dag id is named as
listing_6_08
inchapter06/dags/listing_6_8.py
, so thechapter06/scripts/trigger_dag.sh
should follow the dag id.From:
To:
The text was updated successfully, but these errors were encountered: