From 599ef8b119d0b37791b53d9f3a14eeaa658421b1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 8 Sep 2024 11:36:40 +0200 Subject: Fix type annotation for finance.flow.simulate() --- finance/flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance/flow.py b/finance/flow.py index 443966c..bc2ee0a 100644 --- a/finance/flow.py +++ b/finance/flow.py @@ -47,7 +47,7 @@ def monthly_candidates(start: datetime) -> Generator[datetime, None, None]: def simulate( - start: datetime, end: datetime, flows: tuple[Flow] + start: datetime, end: datetime, flows: tuple[Flow, ...] ) -> tuple[list[datetime], list[Decimal]]: dates: list[datetime] = [] values: list[Decimal] = [] -- cgit v1.2.3-70-g09d2