1
0

Removed use of enforce_typing
Some checks failed
Build container / Python-Test (push) Successful in 22s
Build container / Python-Package (push) Failing after 22s
Build container / Container-Package (push) Failing after 1m2s

This commit is contained in:
Jon Michael Aanes 2024-05-22 23:56:06 +02:00
parent f43d26851b
commit 389c14f4a6
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -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