Hello, let me preface saying that I am new to mongoDB and Motor.
As with any database, it is importante to sanitize queries to prevent malicious users from injecting bad queries into your system. What is the best way to do this with Python and Motor? I am using FastAPI.
I found a few references to a node package for sanitizing mongoDB queries, but the only resource I found for Python is a fairly unknown plugin https://github.com/noamt/python-mongo-sanitizer