Implement notification rules and settings
This commit is contained in:
@@ -5,12 +5,11 @@ from django.conf import settings
|
||||
from elasticsearch import Elasticsearch
|
||||
from elasticsearch.exceptions import NotFoundError, RequestError
|
||||
|
||||
from core.db import StorageBackend
|
||||
from core.db import StorageBackend, add_defaults
|
||||
|
||||
# from json import dumps
|
||||
# pp = lambda x: print(dumps(x, indent=2))
|
||||
from core.db.processing import parse_results
|
||||
from core.views import helpers
|
||||
|
||||
|
||||
class ElasticsearchBackend(StorageBackend):
|
||||
@@ -204,7 +203,7 @@ class ElasticsearchBackend(StorageBackend):
|
||||
add_top = []
|
||||
add_top_negative = []
|
||||
|
||||
helpers.add_defaults(query_params)
|
||||
add_defaults(query_params)
|
||||
|
||||
# Now, run the helpers for SIQTSRSS/ADR
|
||||
# S - Size
|
||||
|
||||
Reference in New Issue
Block a user