Skip to content

Commit b1da2eb

Browse files
fix: typecheck
1 parent 4691989 commit b1da2eb

File tree

1 file changed

+1
-0
lines changed
  • services/storage/src/simcore_service_storage/modules/celery

1 file changed

+1
-0
lines changed

services/storage/src/simcore_service_storage/modules/celery/worker_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535

3636
def worker_init_wrapper(sender, **_kwargs):
37+
assert _settings.STORAGE_CELERY # nosec
3738
return partial(on_worker_init, app_server, _settings.STORAGE_CELERY)(
3839
sender, **_kwargs
3940
)

0 commit comments

Comments
 (0)