Update db.py

removed NotImplementedError import