From 7319cca786c75a7bc8aee8b1ef422c19e021f6e5 Mon Sep 17 00:00:00 2001 From: Roman Skurikhin Date: Thu, 21 Apr 2022 00:16:24 +0300 Subject: [PATCH 1/2] Fix image build in batch mode --- neuro_flow/batch_executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neuro_flow/batch_executor.py b/neuro_flow/batch_executor.py index f80250a3..eb4d2495 100644 --- a/neuro_flow/batch_executor.py +++ b/neuro_flow/batch_executor.py @@ -459,7 +459,7 @@ async def user_share(self, user: str, permission: Permission) -> Permission: class BatchExecutor: transient_progress: bool = False - run_builder_job: Callable[..., Awaitable[str]] = start_image_build + run_builder_job: Callable[..., Awaitable[str]] def __init__( self, @@ -500,7 +500,7 @@ def __init__( self._project_role = project_role self._is_projet_role_created = False - self._run_builder_job = self.run_builder_job + self._run_builder_job = start_image_build # A note about default value: # AS: I have no idea what timeout is better; From 882cabcc05bcf338876a43f7e8251eca3411832e Mon Sep 17 00:00:00 2001 From: Roman Skurikhin Date: Thu, 21 Apr 2022 00:17:32 +0300 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.D/818.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 CHANGELOG.D/818.bugfix diff --git a/CHANGELOG.D/818.bugfix b/CHANGELOG.D/818.bugfix new file mode 100644 index 00000000..0827b5f0 --- /dev/null +++ b/CHANGELOG.D/818.bugfix @@ -0,0 +1 @@ +Fixed error when trying to build image in batch mode