In Python3 I can do :
# Function with string as input
def function(argument: str):
return argument
But I cannot:
# Function with optional input
def function(argument='default': str):
return argument
What would be the correct syntax to define the type of an optional argument?