def get_key(dotenv_path, key_to_get):
    # type: (Union[Text, _PathLike], Text) -> Optional[Text]
    """
    Gets the value of a given key from the given .env

    If the .env path given doesn't exist, fails
    """
    return DotEnv(dotenv_path, verbose=True).get(key_to_get)

    Gets the value of a given key from the given .env

    If the .env path given doesn't exist, fails
    
dynaconf/vendor/dotenv/main.py