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

@ -5,6 +5,9 @@ from typing import (
import trio
from libp2p.custom_types import (
TProtocol,
)
from libp2p.exceptions import (
ParseError,
)
@ -24,9 +27,6 @@ from libp2p.stream_muxer.abc import (
IMuxedConn,
IMuxedStream,
)
from libp2p.typing import (
TProtocol,
)
from libp2p.utils import (
decode_uvarint_from_stream,
encode_uvarint,

View File

@ -2,6 +2,9 @@ from collections import (
OrderedDict,
)
from libp2p.custom_types import (
TProtocol,
)
from libp2p.network.connection.raw_connection_interface import (
IRawConnection,
)
@ -24,9 +27,6 @@ from libp2p.transport.typing import (
TMuxerClass,
TMuxerOptions,
)
from libp2p.typing import (
TProtocol,
)
from .abc import (
IMuxedConn,