Commit 3d17c42a authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor linting.

parent 65660927
Pipeline #53085 passed with stages
in 17 minutes and 33 seconds
......@@ -50,7 +50,7 @@ def index(threads, dry):
entry = entry.to_dict(include_meta=True)
entry['_op_type'] = 'index'
yield entry
if dry:
for _ in elastic_updates():
pass
......
......@@ -32,7 +32,7 @@ path_analyzer = analyzer(
tokenizer=tokenizer('path_tokenizer', 'pattern', pattern='/'))
user_cache = dict()
user_cache: Dict[str, Any] = dict()
"""
A cache for user popos used in the index. We will not retrieve names all the time.
This cache should be cleared, before larger re-index operations.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment