示例#1
0
 def get_encoders(self):
     return (
         Unique('a', twin=True),
         Unique('b', twin=True),
         Token('c', twin=True, sequence_length=3),
         Unique('user_id'),
         Pass('price')
     )
示例#2
0
文件: pipelines.py 项目: zmyer/lore
 def get_output_encoder(self):
     return Pass('subscriber')
示例#3
0
文件: pipelines.py 项目: zmyer/lore
 def get_output_encoder(self):
     return Pass('target')
示例#4
0
文件: pipelines.py 项目: zmyer/lore
 def get_output_encoder(self):
     return Pass('xor')
示例#5
0
 def get_encoders(self):
     return (Pass('x'))