Task: Search for a Document by ObjectId in MongoDB with PyMongo
Task: Search for a Document by ObjectId in MongoDB with PyMongo: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that correctly searches for a document by its id field (ObjectId) in a MongoDB collection using the pymongo library.
Part of PrimeIntellect/Terminal-Lego-15k.