Add support for 3.7 checking of mock transport

This commit is contained in:
Adam Hopkins
2021-02-22 13:39:10 +02:00
parent 070236677c
commit c7307c1f85
4 changed files with 5 additions and 103 deletions

View File

@@ -1,9 +0,0 @@
from typing import Protocol, Union
class TransportProtocol(Protocol):
def get_protocol(self):
...
def get_extra_info(self, info: str) -> Union[str, bool, None]:
...