Esempio n. 1
0
 def from_fd(cls, fd, **kwargs):
     """
     Creates iterator result from fd
     """
     result = cls(**kwargs)
     result.container = elliptics.IteratorResultContainer(fd)
     return result
Esempio n. 2
0
 def from_info(cls, fd, is_sorted, position, **kwargs):
     result = cls(**kwargs)
     result.container = elliptics.IteratorResultContainer(
         fd, is_sorted, position)
     return result