Module 2

wish_farewell(user)

Wish the user farewell!

Parameters:

Name Type Description Default
user str

The name of the user.

required

Returns:

Name Type Description
string str

A farewell message for the user.

Source code in pytemplates_typer_cli/core/module2.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
def wish_farewell(user: str) -> str:
    """Wish the user farewell!

    Args:
        user: The name of the user.

    Returns:
        string: A farewell message for the user.

    """

    return f"Goodbye {user}!"