potiuk commented on PR #55894: URL: https://github.com/apache/airflow/pull/55894#issuecomment-3410510415
> @potiuk like this at given places? > > ``` > dagbag = DagBag(bundle.path, bundle_path=bundle.path, include_examples=False) > add_bundle_path_ephemeral_no_cleanup(dagbag) # or better pass bundle or even bundle.path? > # + make warn/info line inside the method saying it is permantently changing sys.path > ``` Smth like that. I would rather explicitly use bundle.path and do it before DagBag instantiation (this is what happens currently in task runner for example. -- 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]
