Skip to content

Commit

Permalink
Correction to type hint
Browse files Browse the repository at this point in the history
Co-authored-by: Callum Forrester <callum.forrester@diamond.ac.uk>
  • Loading branch information
LeeHudsonDLS and callumforrester authored Nov 22, 2024
1 parent c5d3f38 commit 62b74a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tickit/adapters/io/tcp_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TcpIo(AdapterIo[CommandAdapter]):
host: str
port: int

def __init__(self, host: str, port: int, separator: str = None) -> None:
def __init__(self, host: str, port: int, separator: str | None = None) -> None:
self.host = host
self.port = port
self.separator = separator
Expand Down

0 comments on commit 62b74a1

Please sign in to comment.