mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
fix: loading examples from raw.githubusercontent.com fails with 429 errors (#33354)
This commit is contained in:
committed by
GitHub
parent
7791674f24
commit
f045a73e2d
@@ -21,7 +21,7 @@ from tests.unit_tests.migrations.viz.utils import migrate_and_assert
|
||||
|
||||
SOURCE_FORM_DATA: dict[str, Any] = {
|
||||
"granularity_sqla": "ds",
|
||||
"time_range": "100 years ago : today",
|
||||
"time_range": "1925-04-24 : 2025-04-24",
|
||||
"viz_type": "pivot_table",
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ TARGET_FORM_DATA: dict[str, Any] = {
|
||||
"form_data_bak": SOURCE_FORM_DATA,
|
||||
"granularity_sqla": "ds",
|
||||
"rowOrder": "value_z_to_a",
|
||||
"time_range": "100 years ago : today",
|
||||
"time_range": "1925-04-24 : 2025-04-24",
|
||||
"viz_type": "pivot_table_v2",
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ def test_migration() -> None:
|
||||
target["adhoc_filters"] = [
|
||||
{
|
||||
"clause": "WHERE",
|
||||
"comparator": "100 years ago : today",
|
||||
"comparator": "1925-04-24 : 2025-04-24",
|
||||
"expressionType": "SIMPLE",
|
||||
"operator": "TEMPORAL_RANGE",
|
||||
"subject": "ds",
|
||||
|
||||
Reference in New Issue
Block a user