Commit 714f0219 authored by Juraj Sloboda's avatar Juraj Sloboda Committed by Matej Feder

Fix docstrings

parent 1dfddba2
......@@ -94,7 +94,9 @@ class ConnectionManager:
async def _connect(self, remote_eid):
"""Try to establish connection to node with specified EID
If some nodes have this information but all attempts to connect to the node fail then ConnectFailedError should be raised. Otherwise new connection object should be returned.
If some nodes have this information but all attempts to connect to the node fail
then ConnectFailedError should be raised.
Otherwise new connection object should be returned.
Args:
remote_eid: EID of node to connect to
......
......@@ -110,7 +110,11 @@ class ConvergenceLayerConnection(ABC):
"""CLA-specific connection"""
def __init__(self, cla_adapter):
"""Initialize CLA-specific connection"""
"""Initialize CLA-specific connection
Args:
cla_adapter (ConvergenceLayerAdapter): CLA adapter that instantiated this object
"""
self._cla_adapter = cla_adapter
self._their_eid = None
......
......@@ -21,7 +21,7 @@ class StreamedConvergenceLayerConnection(ConvergenceLayerConnection):
"""Initialize CLA-specific connection
Args:
cla_adapter (dict): CLA configuration
cla_adapter (ConvergenceLayerAdapter): CLA adapter that instantiated this object
reader (asyncio.StreamReader): Reader object of underlying connection
writer (asyncio.StreamWriter): Writer object of underlying connection
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment