Skip to content

Commit f0e4758

Browse files
committed
custom typehints
1 parent e3297c6 commit f0e4758

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from .model import ModelConfig
2+
3+
__all__ = ["ModelConfig"]

chebai/custom_typehints/model.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from typing import TypedDict
2+
3+
4+
class ModelConfig(TypedDict):
5+
path: str
6+
TPV: float
7+
FPV: float

0 commit comments

Comments
 (0)