But using pymongo directly works