Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamDee committed Oct 15, 2024
1 parent ca9b35d commit 2dbc0ad
Show file tree
Hide file tree
Showing 21 changed files with 80 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='all_entity_metric'),),
metric_specs=(MetricSpec(element_name='all_entity_metric', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(DimensionSpec(element_name='country', entity_links=(EntityReference(element_name='entity_1'),)),),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='entity_1_metric'),),
metric_specs=(MetricSpec(element_name='entity_1_metric', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(
DimensionSpec(
element_name='country',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='visit_buy_conversion_rate_by_session'),),
metric_specs=(
MetricSpec(
element_name='visit_buy_conversion_rate_by_session',
filter_spec_set=WhereFilterSpecSet(),
),
),
dimension_specs=(
DimensionSpec(
element_name='referrer_id',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='derived_metric_with_time_granularity_and_outer_metric_time_filter'),),
metric_specs=(
MetricSpec(
element_name='derived_metric_with_time_granularity_and_outer_metric_time_filter',
filter_spec_set=WhereFilterSpecSet(),
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(
spec_resolutions=(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='derived_metric_with_time_granularity_and_inner_metric_time_filter'),),
metric_specs=(
MetricSpec(
element_name='derived_metric_with_time_granularity_and_inner_metric_time_filter',
filter_spec_set=WhereFilterSpecSet(),
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(
spec_resolutions=(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='derived_metric_with_time_granularity'),),
metric_specs=(MetricSpec(element_name='derived_metric_with_time_granularity', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='derived_metric_without_time_granularity'),),
metric_specs=(
MetricSpec(
element_name='derived_metric_without_time_granularity',
filter_spec_set=WhereFilterSpecSet(),
),
),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='largest_listing'),),
metric_specs=(MetricSpec(element_name='largest_listing', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='ds',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='simple_metric_with_default_time_granularity_and_metric_time_filter'),),
metric_specs=(
MetricSpec(
element_name='simple_metric_with_default_time_granularity_and_metric_time_filter',
filter_spec_set=WhereFilterSpecSet(),
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(
spec_resolutions=(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='largest_listing'),),
metric_specs=(MetricSpec(element_name='largest_listing', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='monthly_metric_0'),),
metric_specs=(MetricSpec(element_name='monthly_metric_0', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='revenue_cumulative'),),
metric_specs=(MetricSpec(element_name='revenue_cumulative', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='ds',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='revenue_growth_2_weeks'),),
metric_specs=(MetricSpec(element_name='revenue_growth_2_weeks', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'), MetricSpec(element_name='revenue')),
metric_specs=(
MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),
MetricSpec(element_name='revenue', filter_spec_set=WhereFilterSpecSet()),
),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(
DimensionSpec(
element_name='is_instant',
Expand All @@ -25,7 +25,13 @@ ParseQueryResult(
),
descending=False,
),
OrderBySpec(instance_spec=MetricSpec(element_name='bookings'), descending=True),
OrderBySpec(
instance_spec=MetricSpec(
element_name='bookings',
filter_spec_set=WhereFilterSpecSet(),
),
descending=True,
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(
DimensionSpec(
element_name='is_instant',
Expand All @@ -25,7 +25,13 @@ ParseQueryResult(
),
descending=False,
),
OrderBySpec(instance_spec=MetricSpec(element_name='bookings'), descending=True),
OrderBySpec(
instance_spec=MetricSpec(
element_name='bookings',
filter_spec_set=WhereFilterSpecSet(),
),
descending=True,
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(
DimensionSpec(
element_name='is_instant',
Expand All @@ -25,7 +25,13 @@ ParseQueryResult(
),
descending=False,
),
OrderBySpec(instance_spec=MetricSpec(element_name='bookings'), descending=True),
OrderBySpec(
instance_spec=MetricSpec(
element_name='bookings',
filter_spec_set=WhereFilterSpecSet(),
),
descending=True,
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'),),
metric_specs=(MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),),
dimension_specs=(
DimensionSpec(
element_name='is_instant',
Expand All @@ -25,7 +25,13 @@ ParseQueryResult(
),
descending=False,
),
OrderBySpec(instance_spec=MetricSpec(element_name='bookings'), descending=True),
OrderBySpec(
instance_spec=MetricSpec(
element_name='bookings',
filter_spec_set=WhereFilterSpecSet(),
),
descending=True,
),
),
filter_intersection=PydanticWhereFilterIntersection(),
filter_spec_resolution_lookup=FilterSpecResolutionLookUp(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ParseQueryResult(
query_spec=MetricFlowQuerySpec(
metric_specs=(MetricSpec(element_name='bookings'), MetricSpec(element_name='revenue')),
metric_specs=(
MetricSpec(element_name='bookings', filter_spec_set=WhereFilterSpecSet()),
MetricSpec(element_name='revenue', filter_spec_set=WhereFilterSpecSet()),
),
time_dimension_specs=(
TimeDimensionSpec(
element_name='metric_time',
Expand Down

0 comments on commit 2dbc0ad

Please sign in to comment.