I need to search an ObjectId with python using pymongo but I always get this error. Any ideas how to search?
import pymongo from pymongo import MongoClient
I use pymongo 2.4.1.
from bson.objectid import ObjectId [i for i in dbm.neo_nodes.find({"_id": ObjectId(obj_id_to_find)})]