Skip to content

Commit

Permalink
Specify which super setup is being called so that mypy doesn't compla…
Browse files Browse the repository at this point in the history
…in about ambiguity.
  • Loading branch information
mccleeary-galois committed May 15, 2024
1 parent 0beabc6 commit 171a809
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/argo_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ class DynamicSocketProcess(SocketProcess):
"""

def setup(self) -> None:
super().setup()
if self.proc is None or self.proc.poll() is not None:
# To debug, consider setting stderr to sys.stdout instead (to see
# server log messages).
Expand Down Expand Up @@ -260,8 +259,6 @@ def __init__(self, host: str, port: int, ipv6: bool=True):
super().__init__()

def setup(self) -> None:
super().setup()

self.socket = socket.socket(socket.AF_INET6 if self.ipv6 else socket.AF_INET, socket.SOCK_STREAM)
self.socket.connect((self.host, self.port))
self.socket.setblocking(False)
Expand Down Expand Up @@ -358,7 +355,6 @@ class StdIOProcess(ManagedProcess):
__messages: queue.Queue[str] # multiprocessing.Queue[str] #

def setup(self) -> None:
super().setup()
if self.proc is None or self.proc.poll() is not None:
# To debug, consider setting stderr to sys.stdout instead (to see
# server log messages).
Expand Down

0 comments on commit 171a809

Please sign in to comment.