diff --git a/thankyou/thankyou.py b/thankyou/thankyou.py index 86c4ad0..1f9bc2a 100644 --- a/thankyou/thankyou.py +++ b/thankyou/thankyou.py @@ -1,3 +1,4 @@ +from typing import Union import secrets # Translated list thanks to ChatGPT @@ -265,7 +266,7 @@ ] -def give_thanks(as_tuple=False) -> [str | tuple]: +def give_thanks(as_tuple: bool = False) -> Union[str, tuple]: """Returns translated "Thank You (Country)" Selects one randomply from a list of tuples using secrets package