code: def find(self, **kwargs):
          
          matches = self.findall(**kwargs)
          num_matches = len(matches)
          if not num_matches:
              msg = "No %s matching: %s." % (self.resource_class.__name__, kwargs)
              raise exc.NotFound(404, msg)
          if num_matches > 1:
              msg = "More than one %s matching: %s." % (
                      self.resource_class.__name__, kwargs)
              raise exc.NoUniqueMatch(400, msg)
          else:
              return matches[0]
docs: Finds a single item with attributes matching ``**kwargs``.
  
          This isn't very efficient: it loads the entire list then filters on
          the Python side.