ethereum/eth-typing

"eth_typing" does not explicitly export attribute

bh2smith opened this issue · 1 comments

I am running into some issues with mypy and imports from this package.

src/multisend.py:9: error: Module "eth_typing" does not explicitly export attribute "ChecksumAddress"; implicit reexport disabled
src/multisend.py:9: error: Module "eth_typing" does not explicitly export attribute "HexStr"; implicit reexport disabled
src/multisend.py:9: error: Module "eth_typing" does not explicitly export attribute "URI"; implicit reexport disabled

I would expect that I actually can import these...

Never mind, had to import the full path:

from eth_typing.ethpm import URI
from eth_typing.encoding import HexStr
from eth_typing.evm import ChecksumAddress

Before it was

from eth_typing import URI, HexStr, ChecksumAddress

as auto-magically suggested by my IDE