uranusjr commented on code in PR #30367: URL: https://github.com/apache/airflow/pull/30367#discussion_r1166055102
########## airflow/operators/python.py: ########## @@ -695,7 +695,7 @@ def _get_airflow_version_from_target_env(self) -> str | None: result = subprocess.check_output( [self.python, "-c", "from airflow import __version__; print(__version__)"], text=True, - env={**os.environ, "_AIRFLOW__AS_LIBRARY": "true"}, + env={**os.environ, "_AIRFLOW__AS_LIBRARY": "true"}, # Required to avoid `result` polluted by airflow init logs. Review Comment: ```suggestion env={**os.environ, "_AIRFLOW__AS_LIBRARY": "true"}, # Required to avoid `result` polluted by Airflow logs. ``` -- 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