Skip to content

env_file()

Return the dotenv filename for a given environment name.

azure_config.env_file(env: str) -> str
Argument Type Description
env str The environment name. ‘prod’ maps to ‘.env’; anything else maps to ‘.env.<name>’.
  • str: The dotenv filename.
  • ****: If called with ‘local’ (local has no env file).