mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
fix(examples): specify 'time_range_endpoints' to prevent toast warning (#11417)
This commit is contained in:
parent
2e6afdf7e7
commit
10a54b52ac
@ -143,6 +143,7 @@ def create_slices(tbl: BaseDatasource) -> Tuple[List[Slice], List[Slice]]:
|
||||
"compare_suffix": "o10Y",
|
||||
"limit": "25",
|
||||
"time_range": "No filter",
|
||||
"time_range_endpoints": ["inclusive", "exclusive"],
|
||||
"granularity_sqla": "ds",
|
||||
"groupby": [],
|
||||
"row_limit": config["ROW_LIMIT"],
|
||||
|
@ -185,6 +185,7 @@ def load_deck_dash() -> None:
|
||||
"max_radius": 250,
|
||||
"row_limit": 5000,
|
||||
"time_range": " : ",
|
||||
"time_range_endpoints": ["inclusive", "exclusive"],
|
||||
"size": "count",
|
||||
"time_grain_sqla": None,
|
||||
"viewport": {
|
||||
|
@ -129,6 +129,7 @@ def load_world_bank_health_n_pop( # pylint: disable=too-many-locals, too-many-s
|
||||
"since": "2014-01-01",
|
||||
"until": "2014-01-02",
|
||||
"time_range": "2014-01-01 : 2014-01-02",
|
||||
"time_range_endpoints": ["inclusive", "exclusive"],
|
||||
"markup_type": "markdown",
|
||||
"country_fieldtype": "cca3",
|
||||
"entity": "country_code",
|
||||
@ -273,7 +274,7 @@ def load_world_bank_health_n_pop( # pylint: disable=too-many-locals, too-many-s
|
||||
viz_type="sunburst",
|
||||
groupby=["region", "country_name"],
|
||||
since="2011-01-01",
|
||||
until="2011-01-01",
|
||||
until="2011-01-02",
|
||||
metric=metric,
|
||||
secondary_metric=secondary_metric,
|
||||
),
|
||||
@ -330,7 +331,7 @@ def load_world_bank_health_n_pop( # pylint: disable=too-many-locals, too-many-s
|
||||
params=get_slice_json(
|
||||
defaults,
|
||||
since="2011-01-01",
|
||||
until="2011-01-01",
|
||||
until="2012-01-01",
|
||||
viz_type="para",
|
||||
limit=100,
|
||||
metrics=["sum__SP_POP_TOTL", "sum__SP_RUR_TOTL_ZS", "sum__SH_DYN_AIDS"],
|
||||
|
Loading…
Reference in New Issue
Block a user