env
dev_tool.tools.env
log = logging.getLogger(__name__)
module-attribute
get_env_variables
A function that checks which environment variables are not set.
Parameters:
Returns:
Source code in dev_tool/tools/env.py
is_in_env_variables
A function that checks if all specified environment variables are set.
Parameters:
-
variables(list[str] | tuple[str, ...]) –The list of environment variables to check.
-
suppress(bool, default:False) –A flag indicating whether to suppress warning messages.
Returns:
-
bool–True if all variables are set, False otherwise.