Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
e10v committed Feb 6, 2024
1 parent 6911a17 commit 71846f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tea_tasting/metrics/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,22 @@ def analyze(
...

@overload
def validate_data(
def read_grouped_aggregates(
self: MetricBaseAggr,
data: dict[Any, tea_tasting.aggr.Aggregates],
variant_col: None = None,
) -> dict[Any, tea_tasting.aggr.Aggregates]:
...

@overload
def validate_data(
def read_grouped_aggregates(
self: MetricBaseAggr,
data: pd.DataFrame | ibis.expr.types.Table,
variant_col: str,
) -> dict[Any, tea_tasting.aggr.Aggregates]:
...

def validate_data(
def read_grouped_aggregates(
self: MetricBaseAggr,
data: pd.DataFrame | ibis.expr.types.Table | dict[
Any, tea_tasting.aggr.Aggregates],
Expand Down

0 comments on commit 71846f2

Please sign in to comment.