Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ChEMBL
C
ChEMBL
Main Web Interface
Elasticsearch Proxy API
Commits
bd3178ab
Commit
bd3178ab
authored
Jul 27, 2021
by
David Mendez
Browse files
make pylint happy
parent
a63af39a
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/es_data/es_data.py
app/es_data/es_data.py
+1
-1
No files found.
app/es_data/es_data.py
View file @
bd3178ab
...
...
@@ -140,7 +140,7 @@ def get_es_doc(index_name, doc_id, source=None):
try
:
start_time
=
time
.
time
()
source_param
=
properties_list
if
using_source
else
True
# True means, get all fields
response
=
ES
.
get
(
index
=
index_name
,
id
=
doc_id
,
_source
=
source_param
)
response
=
ES
.
get
(
index
=
index_name
,
id
=
doc_id
,
_source
=
source_param
)
# pylint: disable=unexpected-keyword-arg
end_time
=
time
.
time
()
time_taken
=
end_time
-
start_time
...
...
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