Skip to content

Commit 89086e4

Browse files
committed
minor
1 parent 9e0b3ab commit 89086e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/web/server/src/simcore_service_webserver/projects/_controller/projects_slot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def _on_user_connected(
3030
assert product_name # nosec
3131
# check if there is a project resource
3232
with managed_resource(user_id, client_session_id, app) as user_session:
33-
projects: list[str] = await user_session.find(PROJECT_ID_KEY)
33+
projects = await user_session.find(PROJECT_ID_KEY)
3434
assert len(projects) <= 1, "At the moment, at most one project per session" # nosec
3535

3636
if projects:
@@ -63,7 +63,7 @@ async def _on_user_disconnected(
6363

6464
# check if there is a project resource
6565
with managed_resource(user_id, client_session_id, app) as user_session:
66-
projects: list[str] = await user_session.find(PROJECT_ID_KEY)
66+
projects = await user_session.find(PROJECT_ID_KEY)
6767

6868
assert len(projects) <= 1, "At the moment, at most one project per session" # nosec
6969

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def from_redis_hash_key(cls, hash_key: RedisHashKey) -> Self:
2828
def _update_json_schema_extra(schema: JsonDict) -> None:
2929
schema.update(
3030
{
31-
"exampels": [
31+
"examples": [
3232
{
3333
"user_id": 7,
3434
"client_session_id": "c7fc4985-f96a-4be3-a8ed-5a43b1aa15e2",

0 commit comments

Comments
 (0)