olegkachur-e commented on code in PR #53390:
URL: https://github.com/apache/airflow/pull/53390#discussion_r2259951244
##########
providers/standard/src/airflow/providers/standard/operators/python.py:
##########
@@ -880,9 +889,13 @@ def execute_callable(self):
with TemporaryDirectory(prefix="venv") as tmp_dir:
tmp_path = Path(tmp_dir)
+ tmp_dir, temp_venv_dir =
tmp_path.relative_to(tmp_path.anchor).parts
Review Comment:
Btw, can you please share a way to reproduce it, as for `with
TemporaryDirectory(prefix="venv") as tmp_dir:` I was expecting a path like
`tmp_dir_path/venv<random_str>`, as both parts are 'static'. What is a way to
add additional nested dirs there? @gopidesupavan
--
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]