Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GRANEF
Analysis
API
Commits
581bdd7b
Project 'granef/analysis-api' was moved to 'granef/analysis/api'. Please update any links and bookmarks that may still have the old path.
Commit
581bdd7b
authored
2 years ago
by
Milan Čermák
Browse files
Options
Downloads
Patches
Plain Diff
Attribute search fix
parent
67c5b182
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GranefAPI/routers/graph_queries.py
+1
-1
1 addition, 1 deletion
GranefAPI/routers/graph_queries.py
with
1 addition
and
1 deletion
GranefAPI/routers/graph_queries.py
+
1
−
1
View file @
581bdd7b
...
...
@@ -97,7 +97,7 @@ def attribute_search(request: query_models.AttributeValueQuery) -> dict:
dgraph_client
=
DgraphClient
()
query
=
f
"""
{{
attribute_search(func: has(
{
request
.
attribute
}
)) @filter(eq(
{
request
.
attribute
}
,
{
request
.
value
}
)) {{
attribute_search(func: has(
{
request
.
attribute
}
)) @filter(eq(
{
request
.
attribute
}
,
"
{
request
.
value
}
"
)) {{
expand(_all_)
}}
}}
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment