Skip to content

Commit 75b74b6

Browse files
committed
Import from typing_extensions instead of typing
1 parent e122ca6 commit 75b74b6

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

src/ethereum/berlin/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.muir_glacier import trie as previous_trie

src/ethereum/byzantium/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.spurious_dragon import trie as previous_trie

src/ethereum/cancun/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.shanghai import trie as previous_trie

src/ethereum/constantinople/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.byzantium import trie as previous_trie
3939
from ethereum.crypto.hash import keccak256

src/ethereum/dao_fork/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.homestead import trie as previous_trie

src/ethereum/frontier/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.utils.hexadecimal import hex_to_bytes

src/ethereum/gray_glacier/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.arrow_glacier import trie as previous_trie
3939
from ethereum.crypto.hash import keccak256

src/ethereum/homestead/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.crypto.hash import keccak256
3939
from ethereum.frontier import trie as previous_trie

src/ethereum/istanbul/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.constantinople import trie as previous_trie
3939
from ethereum.crypto.hash import keccak256

src/ethereum/london/trie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
Tuple,
2828
TypeVar,
2929
Union,
30-
assert_type,
3130
cast,
3231
)
3332

3433
from ethereum_types.bytes import Bytes
3534
from ethereum_types.frozen import slotted_freezable
3635
from ethereum_types.numeric import U256, Uint
36+
from typing_extensions import assert_type
3737

3838
from ethereum.berlin import trie as previous_trie
3939
from ethereum.crypto.hash import keccak256

0 commit comments

Comments
 (0)