ashb commented on a change in pull request #7092: [AIRFLOW-6347] BugFix: Can't
get task logs when serialization is enabled
URL: https://github.com/apache/airflow/pull/7092#discussion_r363865931
##########
File path: airflow/utils/decorators.py
##########
@@ -64,7 +64,7 @@ def wrapper(*args, **kwargs):
dag_args = copy(dag.default_args) or {}
dag_params = copy(dag.params) or {}
- params = kwargs.get('params', {})
+ params = kwargs.get('params', {}) or {}
Review comment:
This is correct, but looks odd. This is covered by a test right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services