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 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;