Support Decimal
Opened this issue · 2 comments
yukinarit commented
@envclass
@dataclass
class Hoge:
d: Decimal
h = Hoge(d=Decimal(10))
os.environ['ENV_D'] = '20'
assert isinstance(h.d, Decimal)
assert h.d == Decimal(20)
pranavvp10 commented
Hi @yukinarit can you be more specific for this?
yukinarit commented
@pranavvp10 Updated the description, PTAL