mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(query-object): extra time-range-endpoints (#13331)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
7
tests/fixtures/query_context.py
vendored
7
tests/fixtures/query_context.py
vendored
@@ -17,13 +17,16 @@
|
||||
import copy
|
||||
from typing import Any, Dict, List
|
||||
|
||||
from superset.utils.core import AnnotationType, DTTM_ALIAS
|
||||
from superset.utils.core import AnnotationType, DTTM_ALIAS, TimeRangeEndpoint
|
||||
from tests.base_tests import get_table_by_name
|
||||
|
||||
query_birth_names = {
|
||||
"extras": {
|
||||
"where": "",
|
||||
"time_range_endpoints": ["inclusive", "exclusive"],
|
||||
"time_range_endpoints": (
|
||||
TimeRangeEndpoint.INCLUSIVE,
|
||||
TimeRangeEndpoint.EXCLUSIVE,
|
||||
),
|
||||
"time_grain_sqla": "P1D",
|
||||
},
|
||||
"groupby": ["name"],
|
||||
|
||||
Reference in New Issue
Block a user