Answers for "python how to type hint function"

0

typing multiple types

from typing import Union


def foo(client_id: str) -> Union[list,bool]
Posted by: Guest on March-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language