Skip to content

Commit

Permalink
Fix typing information: fail on cython
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinolog committed Nov 27, 2019
1 parent 4281b17 commit 6dbec8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exec_helpers/subprocess_runner.py
Expand Up @@ -47,17 +47,17 @@ def interface(self) -> "subprocess.Popen[bytes]":
return super(SubprocessExecuteAsyncResult, self).interface # type: ignore

@property
def stdin(self) -> typing.Optional[typing.IO[bytes]]: # type: ignore
def stdin(self) -> "typing.Optional[typing.IO[bytes]]": # type: ignore
"""Override original NamedTuple with proper typing."""
return super(SubprocessExecuteAsyncResult, self).stdin

@property
def stderr(self) -> typing.Optional[typing.IO[bytes]]: # type: ignore
def stderr(self) -> "typing.Optional[typing.IO[bytes]]": # type: ignore
"""Override original NamedTuple with proper typing."""
return super(SubprocessExecuteAsyncResult, self).stderr

@property
def stdout(self) -> typing.Optional[typing.IO[bytes]]: # type: ignore
def stdout(self) -> "typing.Optional[typing.IO[bytes]]": # type: ignore
"""Override original NamedTuple with proper typing."""
return super(SubprocessExecuteAsyncResult, self).stdout

Expand Down

0 comments on commit 6dbec8c

Please sign in to comment.