This is an automated email from the ASF dual-hosted git repository.

jscheffl 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 395a9ab24d Add a newsfragment for PR 38015 validation (#38811)
395a9ab24d is described below

commit 395a9ab24d8fb785eec50858c19f91d20d9c7622
Author: Jens Scheffler <95105677+jsche...@users.noreply.github.com>
AuthorDate: Sun Apr 7 19:37:27 2024 +0200

    Add a newsfragment for PR 38015 validation (#38811)
---
 newsfragments/38015.significant.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/newsfragments/38015.significant.rst 
b/newsfragments/38015.significant.rst
new file mode 100644
index 0000000000..c6398da90a
--- /dev/null
+++ b/newsfragments/38015.significant.rst
@@ -0,0 +1,6 @@
+Stronger validation for key parameter defaults in taskflow context variables
+
+As for the taskflow implementation in conjunction with context variable 
defaults invalid parameter orders can be
+generated, it is now not accepted anymore (and validated) that taskflow 
functions are defined with defaults
+other than ``None``. If you have done this before you most likely will see a 
broken DAG and a error message like
+``Error message: Context key parameter my_param can't have a default other 
than None``.

Reply via email to