feat(chart-data): add rowcount, timegrain and column result types (#13271)

* feat(chart-data): add rowcount, timegrain and column result types

* break out actions from query_context

* rename module
This commit is contained in:
Ville Brofeldt
2021-02-24 07:43:47 +02:00
committed by GitHub
parent 6954114f84
commit 0a00153375
12 changed files with 339 additions and 99 deletions

View File

@@ -35,6 +35,7 @@ config = app.config # type: ignore
stats_logger: BaseStatsLogger = config["STATS_LOGGER"]
logger = logging.getLogger(__name__)
# TODO: DRY up cache key code
def json_dumps(obj: Any, sort_keys: bool = False) -> str:
return json.dumps(obj, default=json_int_dttm_ser, sort_keys=sort_keys)