File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/simcore_service_webserver/resource_manager
tests/unit/with_dbs/04/garbage_collector Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
2727
2828
2929def _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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments