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 current behaviour of the set_key and get_key functions is to warn for invalid lines, that isn't very helpful when using this library to parse env files
A ignore_errors parameter can be added to these functions
The text was updated successfully, but these errors were encountered:
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`
Resolvetheskumar#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`
Resolvetheskumar#467
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: