File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/user_services_preferences Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ async def save_preferences(
4040 service_key = service_key , service_version = service_version , value = dir_content
4141 )
4242
43- async with DBContextManager () as engine , engine .acquire () as conn :
43+ async with DBContextManager () as engine , engine .begin () as conn :
4444 await UserServicesUserPreferencesRepo .save (
4545 conn ,
4646 user_id = user_id ,
@@ -61,7 +61,7 @@ async def load_preferences(
6161) -> None :
6262 preference_class = get_model_class (service_key )
6363
64- async with DBContextManager () as engine , engine .acquire () as conn :
64+ async with DBContextManager () as engine , engine .connect () as conn :
6565 payload = await UserServicesUserPreferencesRepo .load (
6666 conn ,
6767 user_id = user_id ,
You can’t perform that action at this time.
0 commit comments