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
The app runs from /home/test/code, which doesn't have myenv.conf file. The following debug log:
DEBUG:envfile not found at myenv.conf, looking in parent dir.
DEBUG:envfile not found at /home/test/myenv.conf, looking in parent dir.
DEBUG:envfile not found at /home/myenv.conf, looking in parent dir.
DEBUG:envfile not found at /myenv.conf, looking in parent dir.
UserWarning: Could not any envfile.
This is contrary to the documentation of the function. The function should not recurse if path is given, but file missing, or if it does this needs to be documented.
The text was updated successfully, but these errors were encountered:
When using
read_envfile
with path defined, the function still recurses up the directory tree if the given path is not found.Consider the following code:
The app runs from
/home/test/code
, which doesn't havemyenv.conf
file. The following debug log:This is contrary to the documentation of the function. The function should not recurse if path is given, but file missing, or if it does this needs to be documented.
The text was updated successfully, but these errors were encountered: