Removed use of enforce_typing
This commit is contained in:
parent
f43d26851b
commit
389c14f4a6
|
@ -6,7 +6,6 @@ import logging
|
|||
from collections.abc import Iterator, Mapping
|
||||
from decimal import Decimal
|
||||
|
||||
import enforce_typing
|
||||
import requests
|
||||
from frozendict import frozendict
|
||||
|
||||
|
@ -40,14 +39,12 @@ def shard_id_for_address(address: str) -> str:
|
|||
return 'shards/Shard2/' # TODO
|
||||
|
||||
|
||||
@enforce_typing.enforce_types
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class Balances:
|
||||
update_time: datetime.datetime
|
||||
balances: Mapping[str, Decimal]
|
||||
|
||||
|
||||
@enforce_typing.enforce_types
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class PbcClient:
|
||||
session: requests.Session
|
||||
|
|
Loading…
Reference in New Issue
Block a user