mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user