File tree Expand file tree Collapse file tree 6 files changed +0
-15
lines changed Expand file tree Collapse file tree 6 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ def create(
1616 registry_username = None ,
1717 registry_password = None ,
1818 command = None ,
19- container_user = None ,
2019 shutdown_timeout = None ,
2120 is_preemptible = None ,
2221 is_public = None ,
@@ -38,7 +37,6 @@ def create(
3837 :param str registry_username:
3938 :param str registry_password:
4039 :param str command:
41- :param str container_user:
4240 :param int shutdown_timeout:
4341 :param bool is_preemptible:
4442 :param bool is_public:
@@ -62,7 +60,6 @@ def create(
6260 registry_username = registry_username ,
6361 registry_password = registry_password ,
6462 command = command ,
65- container_user = container_user ,
6663 shutdown_timeout = shutdown_timeout ,
6764 is_preemptible = is_preemptible ,
6865 machine_type = machine_type ,
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ class Notebook(object):
2020 registry_password = attr .ib (type = str , default = None )
2121 command = attr .ib (type = str , default = None )
2222 default_entrypoint = attr .ib (type = str , default = None )
23- container_user = attr .ib (type = str , default = None )
2423 shutdown_timeout = attr .ib (type = int , default = None )
2524 is_preemptible = attr .ib (type = bool , default = None )
2625 project_id = attr .ib (type = str , default = None )
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ class NotebookSchema(BaseSchema):
2121 registry_password = marshmallow .fields .Str (load_from = "registryPassword" , dump_to = "registryPassword" )
2222 command = marshmallow .fields .Str (load_from = "command" , dump_to = "command" )
2323 default_entrypoint = marshmallow .fields .Str (load_from = "defaultEntrypoint" , dump_to = "defaultEntrypoint" )
24- container_user = marshmallow .fields .Str (load_from = "containerUser" , dump_to = "containerUser" )
2524 shutdown_timeout = marshmallow .fields .Int (load_from = "shutdownTimeout" , dump_to = "shutdownTimeout" )
2625 is_preemptible = marshmallow .fields .Bool (load_from = "isPreemptible" , dump_to = "isPreemptible" )
2726 is_public = marshmallow .fields .Bool (load_from = "isPublic" , dump_to = "isPublic" )
Original file line number Diff line number Diff line change @@ -84,13 +84,6 @@ def notebook_metrics():
8484 help = "Command (executed as `/bin/sh -c 'YOUR COMMAND'`)" ,
8585 cls = common .GradientOption ,
8686)
87- @click .option (
88- "--containerUser" ,
89- "container_user" ,
90- type = str ,
91- help = "Container user" ,
92- cls = common .GradientOption ,
93- )
9487@click .option (
9588 "--shutdownTimeout" ,
9689 "shutdown_timeout" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ clusterId: 321
33projectId : pr1234
44container : " jupyter/notebook"
55command : some_entrypoint
6- containerUser : some_container_user
76isPreemptible : true
87name : some_notebook_name
98registryPassword : some_password
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ class TestNotebooksCreate(object):
9797 "--registryUsername" , "some_username" ,
9898 "--registryPassword" , "some_password" ,
9999 "--command" , "some_entrypoint" ,
100- "--containerUser" , "some_container_user" ,
101100 "--shutdownTimeout" , "8" ,
102101 "--environment" , '{"key":"val"}' ,
103102 "--isPreemptible" ,
@@ -112,7 +111,6 @@ class TestNotebooksCreate(object):
112111 "registryUsername" : "some_username" ,
113112 "registryPassword" : "some_password" ,
114113 "command" : "c29tZV9lbnRyeXBvaW50" ,
115- "containerUser" : "some_container_user" ,
116114 "environment" : {"key" : "val" },
117115 "shutdownTimeout" : 8 ,
118116 "isPreemptible" : True ,
You can’t perform that action at this time.
0 commit comments