Skip to content

Commit 02c5f1f

Browse files
authored
io.Socket refactor (#753)
1 parent ce87b1b commit 02c5f1f

File tree

4 files changed

+270
-146
lines changed

4 files changed

+270
-146
lines changed

pylabrobot/io/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
class IOBase(ABC):
55
@abstractmethod
6-
async def write(self, *args, **kwargs):
6+
async def write(self, data: bytes, *args, **kwargs):
77
pass
88

99
@abstractmethod
10-
async def read(self, *args, **kwargs):
10+
async def read(self, *args, **kwargs) -> bytes:
1111
pass
1212

1313
def serialize(self):

0 commit comments

Comments
 (0)