Exemplo n.º 1
0
Arquivo: sort-by.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
Exemplo n.º 2
0
Arquivo: p.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
Exemplo n.º 3
0
Arquivo: count.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
Exemplo n.º 4
0
Arquivo: count.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.count = 0
Exemplo n.º 5
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.max = None
Exemplo n.º 6
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
     self.key = self.options.get("value", "value")
Exemplo n.º 7
0
Arquivo: join.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
Exemplo n.º 8
0
Arquivo: join.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.first = True
Exemplo n.º 9
0
Arquivo: min.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.min = None
Exemplo n.º 10
0
Arquivo: nth.py Projeto: 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
Exemplo n.º 11
0
Arquivo: drop-last.py Projeto: 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)
Exemplo n.º 12
0
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
Exemplo n.º 13
0
Arquivo: options.py Projeto: Roger/y
 def on_options(self, options):
     InputCommand.on_options(self, options)
     self.printer(options)
Exemplo n.º 14
0
Arquivo: set.py Projeto: Roger/y
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()
Exemplo n.º 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
Exemplo n.º 16
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.accum = []
Exemplo n.º 17
0
 def __init__(self, options, din, dout):
     InputCommand.__init__(self, options, din, dout)
     self.set = set()