Skip to content

Commit 251633d

Browse files
committed
mypy fix
1 parent aec68f4 commit 251633d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/web/server/src/simcore_service_webserver/groups/_classifiers_repository.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ async def _get_bundle(
2828
async def get_classifiers_from_bundle(self, gid: int) -> dict[str, Any] | None:
2929
bundle_row = await self._get_bundle(gid)
3030
if bundle_row:
31-
return bundle_row.bundle
31+
# pylint: disable=protected-access
32+
return dict(bundle_row.bundle._mapping) # noqa: SLF001
3233
return None
3334

3435
async def group_uses_scicrunch(

0 commit comments

Comments
 (0)