Example #1
0
File: sort-by.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
Example #2
0
File: p.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
Example #3
0
File: count.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
Example #4
0
File: count.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
Example #5
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.max = None
Example #6
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
Example #7
0
File: join.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
Example #8
0
File: join.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
Example #9
0
File: min.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.min = None
Example #10
0
File: nth.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.value = self.options.get("value", 1)
     self.items_count = 0
     self.accum = None
Example #11
0
File: drop-last.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = self.options.get("value", 1)
     self.accum = collections.deque(maxlen=self.count)
Example #12
0
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
Example #13
0
File: options.py Project: Roger/y
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
Example #14
0
File: set.py Project: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()
Example #15
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = self.options.get("value", 1)
     self.items_count = 0
Example #16
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
Example #17
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()