예제 #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()