Flask - Deployment
Which of the following is the correct way to read an environment variable named
SECRET_KEY with a default fallback in Flask?SECRET_KEY with a default fallback in Flask?os.getenv with two arguments: variable name and default value.os.get. D: os.getenv('SECRET_KEY', 'default_key') is correct.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions