code: def get(self):
  
          
          objects = yield self.client.find(self.get_mongo_query_from_arguments())
  
          self.write({
              "count" : len(objects),
              "results": objects
          })
          self.finish()
docs: Standard search end point for a resource of any type, override this get method as necessary
          in any specifc sub class.  This is mostly here as a convenience for basic querying functionality
          on attribute
  
          example URL::
  
              foo?attr1=foo&attr2=true
  
          will create a query of::
  
              {
                  "attr1": "foo",
                  "attr2": true
              }