Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
f93e774b
Unverified
Commit
f93e774b
authored
Aug 11, 2021
by
J-shang
Committed by
GitHub
Aug 11, 2021
Browse files
fix sharedstorage config convert (#4059)
parent
aff7f839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nni/experiment/config/common.py
nni/experiment/config/common.py
+1
-1
No files found.
nni/experiment/config/common.py
View file @
f93e774b
...
...
@@ -58,7 +58,7 @@ class SharedStorageConfig(ConfigBase):
nfs_server
:
Optional
[
str
]
=
None
exported_directory
:
Optional
[
str
]
=
None
def
__init__
(
self
,
*
,
_base_path
:
Optional
[
Path
],
**
kwargs
):
def
__init__
(
self
,
*
,
_base_path
:
Optional
[
Path
]
=
None
,
**
kwargs
):
kwargs
=
{
util
.
case_insensitive
(
key
):
value
for
key
,
value
in
kwargs
.
items
()}
if
'localmountpoint'
in
kwargs
:
kwargs
[
'localmountpoint'
]
=
Path
(
kwargs
[
'localmountpoint'
]).
expanduser
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment