Question:
I have a python repl that seemed to work fine not too long ago but when I opened today my calls to db are all squiggly red lines in the linter. I did not change anything related to replit db so I am very confused why this isn’t working anymore.
Ok, so I see the problem now. The pyright error messages all over the place were misleading me. I don’t understand why it labels things as errors now but not before but in any event I had a logic error for an edge case that was trying to pull a value from the databse that had not been written yet and the pyright errors made me think it was a bigger issue with the code. After fixing, if I just ignore pyright freaking out everything now works fine.