1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Fix typing issues

This commit is contained in:
thatmattlove
2021-09-13 14:10:32 -07:00
parent 723048d1d1
commit f2cb15d0e2
4 changed files with 18 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ class Connection(ABC):
"""Return a preconfigured sshtunnel.SSHTunnelForwarder instance."""
pass
async def response(self, output: Sequence[str]) -> Union[OutputDataModel, str]:
async def response(self, output: Sequence[str]) -> Union["OutputDataModel", str]:
"""Send output through common parsers."""
log.debug("Pre-parsed responses:\n{}", output)