Пример #1
0
 def __init__(self, operands, **kwargs):
     Operation.__init__(self, operands)
     TransformerBase.__init__(self, **kwargs)
     models = operands
     self.models = list( map(lambda x : get_transformer(x), models) )
Пример #2
0
 def __init__(self, rtr, **kwargs):
     Operation.__init__(self, [])
     TransformerBase.__init__(self, **kwargs)
     self.operands=[]
     self.rtr = rtr[0]
Пример #3
0
 def __init__(self, operands, **kwargs):
     assert 2 == len(operands)
     Operation.__init__(self, operands)
     TransformerBase.__init__(self, **kwargs)
     self.left = operands[0]
     self.right = operands[1]
Пример #4
0
 def __init__(self, *args, **kwargs):
     Operation.__init__(self, [])
     TransformerBase.__init__(self, **kwargs)