mathbou commented on code in PR #30367: URL: https://github.com/apache/airflow/pull/30367#discussion_r1167018515
########## airflow/__init__.py: ########## @@ -61,7 +61,8 @@ # Perform side-effects unless someone has explicitly opted out before import -# WARNING: DO NOT USE THIS UNLESS YOU REALLY KNOW WHAT YOU'RE DOING. +# WARNING: Use with care, `_AIRFLOW__AS_LIBRARY` will prevent proper intialization (configs, syspath, logger...). +# It might be needed if you intend to use airflow as third-party package. Review Comment: I'm not sure that the 'DO NOT' warning is still relevant here. The description says it might be useful, so it's a bit inconsistent. -- 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]
