code: def first(self, **kwargs):
          
          result = result = self._get(limit=1, **kwargs)
          if result:
              return result[0]
          else:
              raise self.source_class.DoesNotExist(repr(kwargs))
docs: Retrieve the first node from the set matching supplied parameters
  
          :param kwargs: same syntax as `filter()`
          :return: node