We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd58947 commit 229b9aaCopy full SHA for 229b9aa
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/nodeports.py
@@ -12,6 +12,7 @@
12
from typing import cast
13
14
import magic
15
+from aiofiles.os import remove
16
from aiofiles.tempfile import TemporaryDirectory as AioTemporaryDirectory
17
from models_library.basic_types import IDStr
18
from models_library.projects import ProjectIDStr
@@ -285,6 +286,11 @@ async def _get_data_from_port(
285
286
destination_folder=final_path,
287
progress_bar=sub_progress,
288
)
289
+
290
+ with log_context(
291
+ _logger, logging.DEBUG, f"archive removal '{downloaded_file}'"
292
+ ):
293
+ await remove(downloaded_file)
294
else:
295
# move archive to directory as is
296
final_path = final_path / downloaded_file.name
0 commit comments