Getting the following error:
With Python, it’s very important to be strict in using spaces and/or tabs to indent. Verify what the lines above and below have used either spaces or tabs (not both) and apply the same style (tabs or spaces). This should help fix the error message you encountered.
TabError: inconsistent use of tabs and spaces in indentation
Hope this helps!
The issue would still not be resolved. Copy that part of the code in to Jupyter note book and we can find some inconsistancies. Fix it there and copy back in db.py