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
dgl
Commits
8b23ec60
Unverified
Commit
8b23ec60
authored
Aug 21, 2023
by
Da Zheng
Committed by
GitHub
Aug 21, 2023
Browse files
Fix a bug in standalone mode (#6179)
parent
c6cdeb6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/dgl/distributed/standalone_kvstore.py
python/dgl/distributed/standalone_kvstore.py
+2
-1
No files found.
python/dgl/distributed/standalone_kvstore.py
View file @
8b23ec60
...
@@ -62,7 +62,8 @@ class KVClient(object):
...
@@ -62,7 +62,8 @@ class KVClient(object):
def
delete_data
(
self
,
name
):
def
delete_data
(
self
,
name
):
"""delete the data"""
"""delete the data"""
del
self
.
_data
[
name
]
del
self
.
_data
[
name
]
self
.
_gdata_name_list
.
remove
(
name
)
if
name
in
self
.
_gdata_name_list
:
self
.
_gdata_name_list
.
remove
(
name
)
def
data_name_list
(
self
):
def
data_name_list
(
self
):
"""get the names of all data"""
"""get the names of all data"""
...
...
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