___location__ : str a string in the PickleDB class that holds the database path as entered
Modified
deldb(self, andfile = False) the deletion function now includes an option to delete the database file.
This implementation is non breaking. Existing calls to deldb() will not delete the file unless deldb(True) is called (which is invalid in older implementations, so there isn't a risk to production code.)
Creature comforts
Additional unit tests for new functionality, fixed docstring typos, updated relevant docstrings and HTML documentation.
pytest tests.py reports 100% ✅
Additions
___location__ : str
a string in thePickleDB
class that holds the database path as enteredModified
deldb(self, andfile = False)
the deletion function now includes an option to delete the database file.This implementation is non breaking. Existing calls to
deldb()
will not delete the file unlessdeldb(True)
is called (which is invalid in older implementations, so there isn't a risk to production code.)Creature comforts
Additional unit tests for new functionality, fixed docstring typos, updated relevant docstrings and HTML documentation.
pytest tests.py
reports 100% ✅