diff --git a/docs/providers.rst b/docs/providers.rst index 599a01f823..861baab9e4 100644 --- a/docs/providers.rst +++ b/docs/providers.rst @@ -385,6 +385,7 @@ AsyncHTTPProvider >>> from web3 import Web3, AsyncHTTPProvider >>> from web3.eth import AsyncEth >>> from web3.net import AsyncNet + >>> from web3.geth import Geth, AsyncGethTxPool >>> w3 = Web3( ... AsyncHTTPProvider(endpoint_uri), diff --git a/newsfragments/2302.doc.rst b/newsfragments/2302.doc.rst new file mode 100644 index 0000000000..7a8c7ce9dd --- /dev/null +++ b/newsfragments/2302.doc.rst @@ -0,0 +1 @@ +update imports for `AsyncHTTPProvider` sample code