rename typing.py to custom_types.py for clarity

This commit is contained in:
pacrob
2025-02-02 07:04:36 -07:00
committed by Paul Robinson
parent d0234bb183
commit e7a9ee78a8
35 changed files with 95 additions and 94 deletions

View File

@ -28,6 +28,9 @@ from libp2p.crypto.keys import (
PrivateKey,
)
from libp2p.crypto.secp256k1 import create_new_key_pair as create_secp256k1_key_pair
from libp2p.custom_types import (
TProtocol,
)
from libp2p.host.basic_host import (
BasicHost,
)
@ -121,9 +124,6 @@ from libp2p.transport.typing import (
from libp2p.transport.upgrader import (
TransportUpgrader,
)
from libp2p.typing import (
TProtocol,
)
from .constants import (
FLOODSUB_PROTOCOL_ID,