Open andy-seleya opened 1 week ago
Am I right in thinking that this tweak to use the existing typing.Union
import would fix this?
def parse_location_input(location_input: Union[str, tuple, None]) -> Union[str, None]:
Or we could add:
from __future__ import annotations
agree, they should work
Considering union type is available starting from python 3.10 (docs), adding location based search #28 will limit python version to 3.10+.