You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Airlock specifically didn't use environs because its transitive dependencies seemed pretty heavyweight for the value it gives. We're only using it in settings.py, so it seems unlikely we're getting the full value from it and that we can easily remove it.
The text was updated successfully, but these errors were encountered:
The solution used in Airlock is to rely on just importing the .env and directly calling out to os.environ(), with a helpful error message if an environment variable is missing telling you to import via your shell.
See Dave's comment in this PR.
Airlock specifically didn't use environs because its transitive dependencies seemed pretty heavyweight for the value it gives. We're only using it in settings.py, so it seems unlikely we're getting the full value from it and that we can easily remove it.
The text was updated successfully, but these errors were encountered: