env_file()
Description
Section titled “Description”Return the dotenv filename for a given environment name.
azure_config.env_file(env: str) -> strArguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
env |
str | The environment name. ‘prod’ maps to ‘.env’; anything else maps to ‘.env.<name>’. |
Returns
Section titled “Returns”- str: The dotenv filename.
Raises
Section titled “Raises”- ****: If called with ‘local’ (local has no env file).
