parameters: (self, request=None, **kwargs)
return_statement: return self.get_object_class()(self.get_collection().find_one({
              "_id": ObjectId(kwargs.get("pk"))
          }))
docstring: Returns mongodb document from provided id.
docstring_summary: Returns mongodb document from provided id.
docstring_tokens: Returns mongodb document from provided id .
function: def obj_get(self, request=None, **kwargs):
          """
          Returns mongodb document from provided id.
          """
          return self.get_object_class()(self.get_collection().find_one({
              "_id": ObjectId(kwargs.get("pk"))
          }))
function_tokens: def obj_get ( self , request = None , * * kwargs ) : return self . get_object_class ( ) ( self . get_collection ( ) . find_one ( { "_id" : ObjectId ( kwargs . get ( "pk" ) ) } ) )