Skip to content

Commit b68b64e

Browse files
committed
Address comments on PR #2819; add newsfragment
1 parent aaf5c06 commit b68b64e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

newsfragments/2819.breaking.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use ``AsyncWeb3`` class and preserve typing for the async api calls.

web3/contract/base_contract.py

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
ABIEvent,
108108
ABIFunction,
109109
BlockIdentifier,
110-
CallOverride,
111110
EventData,
112111
FilterParams,
113112
FunctionIdentifier,

web3/contract/utils.py

-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
AsyncWeb3,
6060
Web3,
6161
)
62-
from web3.contract.async_contract import AsyncContractFunction # noqa: F401
63-
from web3.contract.contract import ContractFunction # noqa: F401
6462

6563
ACCEPTABLE_EMPTY_STRINGS = ["0x", b"0x", "", b""]
6664

0 commit comments

Comments
 (0)