Skip to content

Commit fb74cc4

Browse files
committed
missing
1 parent f1d5bd0 commit fb74cc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/web/server/src/simcore_service_webserver/resource_manager/user_sessions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
RedisResourceRegistry,
1515
get_registry,
1616
)
17-
from .settings import ResourceManagerSettings, get_plugin_settings
17+
from .settings import get_plugin_settings
1818

1919
_logger = logging.getLogger(__name__)
2020

@@ -27,7 +27,7 @@
2727

2828

2929
def _get_service_deletion_timeout(app: web.Application) -> int:
30-
settings: ResourceManagerSettings = get_plugin_settings(app)
30+
settings = get_plugin_settings(app)
3131
return settings.RESOURCE_MANAGER_RESOURCE_TTL_S
3232

3333

services/web/server/tests/unit/with_dbs/04/garbage_collector/test_resource_manager_user_sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async def test_users_sessions_resources_registry(
275275
user_session_key = UserSession(
276276
user_id=user_id, client_session_id=client_session_id
277277
)
278-
assert rt.resource_key() == user_session_key # noqa: SLF001
278+
assert rt.resource_key == user_session_key
279279

280280
# set the socket id and check it is rightfully there
281281
await rt.set_socket_id(socket_id)

0 commit comments

Comments
 (0)