Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
pymemri
Commits
758a4b52
Commit
758a4b52
authored
2 years ago
by
Eelco van der Wel
Browse files
Options
Download
Email Patches
Plain Diff
ignore undefined edges in get_item
parent
21a436bd
dev
aziz/tweet_schema
disable_cert_verify
eelco/export-schema-json
sz/create_account_when_keys_are_present
v0.1.2
v0.1.0
v0.0.52
v0.0.51
v0.0.50
v0.0.48
v0.0.47
v0.0.46
v0.0.45
v0.0.44
v0.0.43
v0.0.42
v0.0.41
v0.0.40
v0.0.39
v0.0.38
v0.0.37
v0.0.36
v0.0.35
v0.0.34
v0.0.33
v0.0.32
1 merge request
!262
ignore undefined edges in get_item
Pipeline
#11125
passed with stage
in 2 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pymemri/pod/client.py
+4
-1
pymemri/pod/client.py
with
4 additions
and
1 deletion
+4
-1
pymemri/pod/client.py
+
4
-
1
View file @
758a4b52
...
...
@@ -328,7 +328,10 @@ class PodClient:
item
=
self
.
_get_item_with_properties
(
id
)
edges
=
self
.
get_edges
(
id
)
for
e
in
edges
:
item
.
add_edge
(
e
[
"name"
],
e
[
"item"
])
if
e
[
"name"
]
in
item
.
edges
:
item
.
add_edge
(
e
[
"name"
],
e
[
"item"
])
else
:
logger
.
debug
(
f
"Could not add edge
{
e
[
'name'
]
}
: Edge is not defined on Item."
)
return
item
def
get_edges
(
self
,
id
):
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets