From 88a3a3159ed0cde1f5b2012bbdc30bac16f98daa Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Fri, 2 Aug 2019 12:07:35 -0700 Subject: [PATCH] Add clarifying comment about `InsecureTransport` --- libp2p/security/insecure_security.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libp2p/security/insecure_security.py b/libp2p/security/insecure_security.py index 959ea78f..9537265b 100644 --- a/libp2p/security/insecure_security.py +++ b/libp2p/security/insecure_security.py @@ -11,6 +11,11 @@ if TYPE_CHECKING: class InsecureTransport(ISecureTransport): + """ + ``InsecureTransport`` provides the "identity" upgrader for a ``IRawConnection``, + i.e. the upgraded transport does not add any additional security. + """ + transport_id: str def __init__(self, transport_id: str) -> None: