Skip to content

Commit 4ba288c

Browse files
committed
ensure OwnerMetadata can be serialized
1 parent 4431084 commit 4ba288c

File tree

1 file changed

+6
-1
lines changed
  • services/storage/src/simcore_service_storage/api/_worker_tasks

1 file changed

+6
-1
lines changed

services/storage/src/simcore_service_storage/api/_worker_tasks/tasks.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
FoldersBody,
1010
PresignedLink,
1111
)
12+
from servicelib.celery.models import OwnerMetadata
1213
from servicelib.logging_utils import log_context
1314

1415
from ...models import FileMetaData
@@ -26,7 +27,11 @@
2627
def setup_worker_tasks(app: Celery) -> None:
2728
register_celery_types()
2829
register_pydantic_types(
29-
FileUploadCompletionBody, FileMetaData, FoldersBody, PresignedLink
30+
FileUploadCompletionBody,
31+
FileMetaData,
32+
FoldersBody,
33+
PresignedLink,
34+
OwnerMetadata,
3035
)
3136

3237
with log_context(_logger, logging.INFO, msg="worker task registration"):

0 commit comments

Comments
 (0)