-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise exceptions when encountering errors in files. #467
Comments
TheGeeKing
added a commit
to TheGeeKing/python-dotenv
that referenced
this issue
Aug 15, 2023
Changed: - `sey_key` and `get_key` have now verbose parameter. Default verbose was True for `get_key`, so `sey_key` and `get_key` have True by default. - `sey_key` use `with_warn_for_invalid_lines` so I added a verbose parameter to it which is by default True. - `parse` was also using `with_warn_for_invalid_lines`, it will by default be using `self.verbose` Resolve theskumar#467
TheGeeKing
added a commit
to TheGeeKing/python-dotenv
that referenced
this issue
Aug 15, 2023
Changed: - `sey_key` and `get_key` have now verbose parameter. Default verbose was True for `get_key`, so `sey_key` and `get_key` have True by default. - `sey_key` use `with_warn_for_invalid_lines` so I added a verbose parameter to it which is by default True. - `parse` was also using `with_warn_for_invalid_lines`, it will by default be using `self.verbose` Resolve theskumar#467
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current behaviour of the
set_key
andget_key
functions is to warn for invalid lines, that isn't very helpful when using this library to parse env filesA
ignore_errors
parameter can be added to these functionsThe text was updated successfully, but these errors were encountered: