From 6dbec8c57182016d0939d2b11ba9e0fd1d14b24d Mon Sep 17 00:00:00 2001 From: Aleksei Stepanov Date: Wed, 27 Nov 2019 15:47:51 +0100 Subject: [PATCH] Fix typing information: fail on cython --- exec_helpers/subprocess_runner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exec_helpers/subprocess_runner.py b/exec_helpers/subprocess_runner.py index 60f851e..a65d915 100644 --- a/exec_helpers/subprocess_runner.py +++ b/exec_helpers/subprocess_runner.py @@ -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