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