def extraction(content: str, channels: List[Color]=[Color.Red]):
pass
The second argument channels is a List of Color. However, what about if I also want to allow the possibility of channels being a str argument? In that case, it becomes:
def extraction(content: str, channels: str=None):
pass
Is it possible to combine the two definitions into one function definition?