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 collections.abc import Iterator, Mapping
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
import enforce_typing
|
|
||||||
import requests
|
import requests
|
||||||
from frozendict import frozendict
|
from frozendict import frozendict
|
||||||
|
|
||||||
|
@ -40,14 +39,12 @@ def shard_id_for_address(address: str) -> str:
|
||||||
return 'shards/Shard2/' # TODO
|
return 'shards/Shard2/' # TODO
|
||||||
|
|
||||||
|
|
||||||
@enforce_typing.enforce_types
|
|
||||||
@dataclasses.dataclass(frozen=True)
|
@dataclasses.dataclass(frozen=True)
|
||||||
class Balances:
|
class Balances:
|
||||||
update_time: datetime.datetime
|
update_time: datetime.datetime
|
||||||
balances: Mapping[str, Decimal]
|
balances: Mapping[str, Decimal]
|
||||||
|
|
||||||
|
|
||||||
@enforce_typing.enforce_types
|
|
||||||
@dataclasses.dataclass(frozen=True)
|
@dataclasses.dataclass(frozen=True)
|
||||||
class PbcClient:
|
class PbcClient:
|
||||||
session: requests.Session
|
session: requests.Session
|
||||||
|
|
Loading…
Reference in New Issue
Block a user