Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
b5e5ca2a
Commit
b5e5ca2a
authored
Sep 22, 2020
by
Lauri Himanen
Browse files
Removed (accidental?) comment.
parent
8ef5bda9
Pipeline
#82693
passed with stages
in 29 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/app/api/encyclopedia.py
View file @
b5e5ca2a
...
...
@@ -330,7 +330,7 @@ class EncMaterialsResource(Resource):
filter
=
get_enc_filter
(),
)
#
s = Search(index=config.elastic.index_name)
s
=
Search
(
index
=
config
.
elastic
.
index_name
)
s
=
s
.
query
(
bool_query
)
s
.
aggs
.
bucket
(
"materials"
,
agg_parent
)
buckets_path
=
{
x
:
"{}._count"
.
format
(
x
)
for
x
in
requested_properties
}
...
...
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