mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
docs: correct location of existing time grain definition (#21309)
This commit is contained in:
parent
b302818522
commit
0112a112bf
@ -658,13 +658,13 @@ CSV_EXPORT = {"encoding": "utf-8"}
|
||||
# Time grain configurations
|
||||
# ---------------------------------------------------
|
||||
# List of time grains to disable in the application (see list of builtin
|
||||
# time grains in superset/db_engine_specs.builtin_time_grains).
|
||||
# time grains in superset/db_engine_specs/base.py).
|
||||
# For example: to disable 1 second time grain:
|
||||
# TIME_GRAIN_DENYLIST = ['PT1S']
|
||||
TIME_GRAIN_DENYLIST: List[str] = []
|
||||
|
||||
# Additional time grains to be supported using similar definitions as in
|
||||
# superset/db_engine_specs.builtin_time_grains.
|
||||
# superset/db_engine_specs/base.py.
|
||||
# For example: To add a new 2 second time grain:
|
||||
# TIME_GRAIN_ADDONS = {'PT2S': '2 second'}
|
||||
TIME_GRAIN_ADDONS: Dict[str, str] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user