@@ -256,7 +256,7 @@ def create_examples(
256
256
)
257
257
self .put_execution (
258
258
'ExampleGen' ,
259
- inputs = {},
259
+ inputs = {}, # pytype: disable=wrong-arg-types # dont-delete-module-type
260
260
outputs = {'examples' : self .unwrap_tfx_artifacts (examples )},
261
261
contexts = contexts ,
262
262
connection_config = connection_config ,
@@ -275,7 +275,7 @@ def transform_examples(
275
275
)
276
276
self .put_execution (
277
277
'Transform' ,
278
- inputs = inputs ,
278
+ inputs = inputs , # pytype: disable=wrong-arg-types # dont-delete-module-type
279
279
outputs = {
280
280
'transform_graph' : self .unwrap_tfx_artifacts ([transform_graph ])
281
281
},
@@ -298,7 +298,7 @@ def train_on_examples(
298
298
inputs ['transform_graph' ] = self .unwrap_tfx_artifacts ([transform_graph ])
299
299
self .put_execution (
300
300
'TFTrainer' ,
301
- inputs = inputs ,
301
+ inputs = inputs , # pytype: disable=wrong-arg-types # dont-delete-module-type
302
302
outputs = {'model' : self .unwrap_tfx_artifacts ([model ])},
303
303
contexts = contexts ,
304
304
connection_config = connection_config ,
@@ -325,7 +325,7 @@ def evaluator_bless_model(
325
325
326
326
self .put_execution (
327
327
'Evaluator' ,
328
- inputs = inputs ,
328
+ inputs = inputs , # pytype: disable=wrong-arg-types # dont-delete-module-type
329
329
outputs = {'blessing' : self .unwrap_tfx_artifacts ([model_blessing ])},
330
330
contexts = contexts ,
331
331
connection_config = connection_config ,
@@ -353,7 +353,7 @@ def infra_validator_bless_model(
353
353
354
354
self .put_execution (
355
355
'InfraValidator' ,
356
- inputs = {'model' : self .unwrap_tfx_artifacts ([model ])},
356
+ inputs = {'model' : self .unwrap_tfx_artifacts ([model ])}, # pytype: disable=wrong-arg-types # dont-delete-module-type
357
357
outputs = {'result' : self .unwrap_tfx_artifacts ([model_infra_blessing ])},
358
358
contexts = contexts ,
359
359
connection_config = connection_config ,
@@ -375,7 +375,7 @@ def push_model(
375
375
)
376
376
self .put_execution (
377
377
'ServomaticPusher' ,
378
- inputs = {'model_export' : self .unwrap_tfx_artifacts ([model ])},
378
+ inputs = {'model_export' : self .unwrap_tfx_artifacts ([model ])}, # pytype: disable=wrong-arg-types # dont-delete-module-type
379
379
outputs = {'model_push' : self .unwrap_tfx_artifacts ([model_push ])},
380
380
contexts = contexts ,
381
381
connection_config = connection_config ,
0 commit comments