-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
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
Missing required parameter shows a stacktrace instead of a validation error #20559
Closed
1 of 2 tasks
Closed
1 of 2 tasks
Comments
cc @ephraimbuddy Something for you to look at when you are back |
kaxil
pushed a commit
that referenced
this issue
Jan 4, 2022
I think that this doc could be improved by adding examples of how to reference the params in your dag. (Also, the current example code causes this: #20559.) While trying to find the right place to work a few reference examples in, I ended up rewriting quite a lot of it. Let me know if you think that this is an improvement. I haven't yet figured out how to build this and view it locally, and I'd want to do that as a sanity check before merging it, but I figured get feedback on what I've written before I do that.
Looks like the same issue as #20442. |
potiuk
pushed a commit
that referenced
this issue
Jan 23, 2022
I think that this doc could be improved by adding examples of how to reference the params in your dag. (Also, the current example code causes this: #20559.) While trying to find the right place to work a few reference examples in, I ended up rewriting quite a lot of it. Let me know if you think that this is an improvement. I haven't yet figured out how to build this and view it locally, and I'd want to do that as a sanity check before merging it, but I figured get feedback on what I've written before I do that. (cherry picked from commit 064efbe)
jedcunningham
pushed a commit
that referenced
this issue
Jan 27, 2022
I think that this doc could be improved by adding examples of how to reference the params in your dag. (Also, the current example code causes this: #20559.) While trying to find the right place to work a few reference examples in, I ended up rewriting quite a lot of it. Let me know if you think that this is an improvement. I haven't yet figured out how to build this and view it locally, and I'd want to do that as a sanity check before merging it, but I figured get feedback on what I've written before I do that. (cherry picked from commit 064efbe)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apache Airflow version
2.2.3 (latest released)
What happened
I wanted to improve the Params concepts doc to show how one can reference the params from a task. While doing so, I tried to run that DAG by clicking "Trigger" (i.e. I didn't opt to modify the params first). Then I saw this:
I started with the dag in the docs, but ended up making some tweaks. Here's how it was when I saw the error.
What you expected to happen
If there's a required parameter, and I try to trigger a dagrun, I should get a friendly warning explaining what I've done wrong.
How to reproduce
Run the dag above
Operating System
docker / debian
Versions of Apache Airflow Providers
n/a
Deployment
Astronomer
Deployment details
astro dev start
Dockerfile:
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: