I'd like to be able to differentiate between functions that return a URL vs a plain string (eg a local filepath vs a remote http URL)
Is there a way to do this with python type hints / PEP484?
def myfun() -> str:
return "https://example.com/foo"