def obj_get(self, request=None, **kwargs):
        return Document(self.get_collection(request).find_one({
            "_id": ObjectId(kwargs.get("pk"))
        }))
Returns mongodb document from provided id.
dataset/ETHPy150Open HumanDynamics/openPDS/openpds/tastypie_mongodb/resources.py/MongoDBResource.obj_get