Cleanup type checking

This commit is contained in:
Adam Hopkins 2021-02-21 21:29:54 +02:00
parent d402d0362e
commit bad9fd0258

View File

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