@@ -135,11 +135,11 @@ def create_fit_pipeline(
135135 return PipelineMeta (
136136 pipeline (trn_fit_nodes + enc_fit_nodes , tags = TAGS_TRANSFORM ),
137137 [
138- D ("transformers" , f"{ view } .trn.{ t } " , ["views" , "trn" , view , t ], type = "pkl" )
138+ D ("transformers" , f"{ view } .trn.{ t } " , ["views" , view , "trn" , t ], type = "pkl" )
139139 for t in view .tables
140140 ]
141141 + [
142- D ("encoders" , f"{ view } .enc.{ enc } " , ["views" , "enc" , view , enc ], type = "pkl" )
142+ D ("encoders" , f"{ view } .enc.{ enc } " , ["views" , view , 'enc' , enc ], type = "pkl" )
143143 for enc in encs
144144 ],
145145 )
@@ -177,21 +177,21 @@ def create_transform_pipeline(
177177 D (
178178 "split_transformed" ,
179179 f"{ view } .{ split } .ctx_{ t } " ,
180- ["views" , "ctx" , f" { view } . { split } " , t ],
180+ ["views" , view , split , "ctx " , t ],
181181 )
182182 )
183183 outputs .append (
184184 D (
185185 "split_transformed" ,
186186 f"{ view } .{ split } .bst_{ t } " ,
187- ["views" , "bst" , f" { view } . { split } " , t ],
187+ ["views" , view , split , "bst " , t ],
188188 )
189189 )
190190 outputs .append (
191191 D (
192192 "split_transformed" ,
193193 f"{ view } .{ split } .ids_{ t } " ,
194- ["views" , "ids" , f" { view } . { split } " , t ],
194+ ["views" , view , split , "ids " , t ],
195195 )
196196 )
197197
@@ -218,7 +218,7 @@ def create_transform_pipeline(
218218 # FIXME: Pass proper layer properly, don't infer
219219 "synth_reencoded" if retransform else "split_encoded" ,
220220 f"{ view } .{ split } .{ enc } " ,
221- ["synth" if retransform else "views" , enc , f" { view } . { split } " ],
221+ ["synth" if retransform else "views" , view , split ],
222222 versioned = retransform ,
223223 )
224224 )
@@ -272,26 +272,26 @@ def create_reverse_pipeline(view: View, alg: str, enc: str):
272272 D (
273273 "synth_decoded" ,
274274 f"{ view } .{ alg } .bst_{ t } " ,
275- ["synth" , "bst" , f" { view } . { alg } " , t ],
275+ ["synth" , view , alg , "bst " , t ],
276276 versioned = True ,
277277 ),
278278 D (
279279 "synth_decoded" ,
280280 f"{ view } .{ alg } .ids_{ t } " ,
281- ["synth" , "ids" , f" { view } . { alg } " , t ],
281+ ["synth" , view , alg , "ids " , t ],
282282 versioned = True ,
283283 ),
284284 D (
285285 "synth_decoded" ,
286286 f"{ view } .{ alg } .ctx_{ t } " ,
287- ["synth" , "ctx" , f" { view } . { alg } " , t ],
287+ ["synth" , view , alg , "ctx " , t ],
288288 versioned = True ,
289289 type = "multi" ,
290290 ),
291291 D (
292292 "synth_reversed" ,
293293 f"{ view } .{ alg } .{ t } " ,
294- ["synth" , "dec" , f" { view } . { alg } " , t ],
294+ ["synth" , view , alg , 'tables' , t ],
295295 versioned = True ,
296296 ),
297297 ]
0 commit comments