I have the following test code that runs perfectly in VSCode.
import pymongo import os MONGODB_URI = os.getenv("MONGO_URI") DBS_NA