Skip to content

Commit 68b54a1

Browse files
committed
fixed typings
1 parent 737d03f commit 68b54a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

casparser/types.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ class TransactionType(TypedDict):
2727
balance: Union[Decimal, float]
2828

2929

30-
class SchemeValuation(TypedDict):
30+
class SchemeValuationType(TypedDict):
31+
"""Scheme valuation as of a given date."""
32+
3133
date: Union[date, str]
3234
value: Union[Decimal, float]
3335

@@ -42,7 +44,7 @@ class SchemeType(TypedDict, total=False):
4244
rta: str
4345
open: Union[Decimal, float]
4446
close: Union[Decimal, float]
45-
valuation: str
47+
valuation: SchemeValuationType
4648
transactions: List[TransactionType]
4749

4850

0 commit comments

Comments
 (0)