Skip to content

Commit ac299de

Browse files
author
Andrei Neagu
committed
mypy fixes adding access_rights
1 parent e2fe840 commit ac299de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

services/director-v2/src/simcore_service_director_v2/core/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def default_cluster(self) -> Cluster:
109109
authentication=self.COMPUTATIONAL_BACKEND_DEFAULT_CLUSTER_AUTH,
110110
owner=1, # NOTE: currently this is a soft hack (the group of everyone is the group 1)
111111
type=ClusterTypeInModel.ON_PREMISE,
112+
access_rights={},
112113
)
113114

114115
@field_validator("COMPUTATIONAL_BACKEND_DEFAULT_CLUSTER_AUTH", mode="before")

services/director-v2/src/simcore_service_director_v2/modules/clusters_keeper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ async def get_or_create_on_demand_cluster(
4848
owner=user_id,
4949
endpoint=returned_cluster.endpoint,
5050
authentication=returned_cluster.authentication,
51+
access_rights={},
5152
)
5253
except RemoteMethodNotRegisteredError as exc:
5354
# no clusters-keeper, that is not going to work!

0 commit comments

Comments
 (0)