potiuk commented on code in PR #40589:
URL: https://github.com/apache/airflow/pull/40589#discussion_r1669006910
##########
airflow/providers/openlineage/conf.py:
##########
@@ -145,3 +145,8 @@ def execution_timeout() -> int:
"""[openlineage] execution_timeout."""
option = conf.get(_CONFIG_SECTION, "execution_timeout", fallback="")
return _safe_int_convert(str(option).strip(), default=10)
+
+
+@cache
+def include_full_task_info() -> bool:
+ return _is_true(conf.get(_CONFIG_SECTION, "include_full_task_info",
fallback="False"))
Review Comment:
BTW. I think the behaviour where invalid values are silently converted to
default is a bad idea. Imagine this typo:
```
include_full_task_info: trve
```
Which might be difficult to spot depending on the font you are using in your
IDE
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]