Fixing base agg

This commit is contained in:
mrblacyk 2019-03-09 02:20:33 -08:00
parent d28213cadb
commit f70227a309

View File

@ -5,6 +5,7 @@
# ########################################################################### #
import json
import datetime
class BaseKibanaAgg:
@ -16,10 +17,7 @@ class BaseKibanaAgg:
self.enabled = str()
self.type = str()
self.schema = str()
self.params = {
"field": "",
"customLabel": "",
}
self.params = dict()
def __call__(self):
@ -89,6 +87,7 @@ class BaseKibanaDoc:
def __call__(self):
self.updated_at = datetime.datetime.today().isoformat() + "Z"
return self.__dict__