remove unused fields

This commit is contained in:
Alex Stokes
2019-08-24 21:02:30 +02:00
parent 9a74797068
commit e29c1507bf
4 changed files with 5 additions and 20 deletions

View File

@ -4,9 +4,6 @@ from .raw_connection_interface import IRawConnection
class RawConnection(IRawConnection):
conn_ip: str
conn_port: str
reader: asyncio.StreamReader
writer: asyncio.StreamWriter
initiator: bool
@ -16,14 +13,10 @@ class RawConnection(IRawConnection):
def __init__(
self,
ip: str,
port: str,
reader: asyncio.StreamReader,
writer: asyncio.StreamWriter,
initiator: bool,
) -> None:
self.conn_ip = ip
self.conn_port = port
self.reader = reader
self.writer = writer
self.initiator = initiator