This repository was archived by the owner on May 9, 2024. It is now read-only.
File tree 4 files changed +9
-1
lines changed
4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change
1
+ Add an option to support creating a compute session by manually typing the name of an image.
Original file line number Diff line number Diff line change 63
63
flake8~=3.9.0
64
64
typecheck =
65
65
mypy>=0.800
66
+ types-pkg_resources
67
+ types-toml
66
68
67
69
[options.packages.find]
68
70
where = src
Original file line number Diff line number Diff line change 69
69
allowChangeSigninMode = {{allow_change_signin_mode}}
70
70
allowAnonymousChangePassword = {{allow_anonymous_change_password}}
71
71
allowProjectResourceMonitor = {{allow_project_resource_monitor}}
72
+ allowManualImageNameForSession = {{allow_manual_image_name_for_session}}
72
73
autoLogout = {{auto_logout}}
73
74
74
75
[resources]
@@ -178,8 +179,10 @@ async def console_handler(request: web.Request) -> web.StreamResponse:
178
179
'true' if config ['service' ].get ('allow_anonymous_change_password' ) else 'false' ,
179
180
'allow_project_resource_monitor' :
180
181
'true' if config ['service' ]['allow_project_resource_monitor' ] else 'false' ,
182
+ 'allow_manual_image_name_for_session' :
183
+ 'true' if config ['service' ].get ('allow_manual_image_name_for_session' ) else 'false' ,
181
184
'auto_logout' :
182
- 'true' if config ['service ' ].get ('auto_logout' ) else 'false' ,
185
+ 'true' if config ['session ' ].get ('auto_logout' ) else 'false' ,
183
186
'open_port_to_public' : open_port_to_public ,
184
187
'max_cpu_cores_per_container' : max_cpu_cores_per_container ,
185
188
'max_cuda_devices_per_container' : max_cuda_devices_per_container ,
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ allow_anonymous_change_password = false
25
25
allow_project_resource_monitor = false
26
26
# Allow users to change signin mode between ID/Password and IAM mode
27
27
allow_change_signin_mode = false
28
+ # Allow users to use the specific environment image by typing the exact name.
29
+ allow_manual_image_name_for_session = false
28
30
29
31
[resources ]
30
32
# Display "Open port to public" checkbox in the app launcher.
You can’t perform that action at this time.
0 commit comments