kacpermuda commented on code in PR #37725:
URL: https://github.com/apache/airflow/pull/37725#discussion_r1538934144


##########
airflow/providers/openlineage/conf.py:
##########
@@ -51,6 +51,11 @@ def disabled_operators() -> set[str]:
     return set(operator.strip() for operator in option.split(";") if 
operator.strip())
 
 
+@cache
+def selective_enable() -> bool:
+    return conf.getboolean("openlineage", "selective_enable", fallback=False)

Review Comment:
   We can use _CONFIG_SECTION as in all other functions 😄 



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to