File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ def tuner_fn(fn_args: tfx.components.FnArgs) -> tfx.components.TunerFnResult:
229
229
datetime .datetime .now ().strftime ('%Y%m%d%H' ))
230
230
231
231
if _CLOUD_FIT_IMAGE == 'gcr.io/my-project-id/cloud_fit' :
232
- raise ValueError ('Build your own cloud_fit image, ' +
232
+ raise ValueError ('Build your own cloud_fit image, '
233
233
'default dummy one is used!' )
234
234
235
235
tuner = cloud_tuner .DistributingCloudTuner (
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def _prepare_data(self):
102
102
io_utils .copy_file (
103
103
'data/data.csv' ,
104
104
f'gs://{ self ._BUCKET_NAME } /{ self ._DATA_DIRECTORY_NAME } /'
105
- + f'{ self ._pipeline_name } /data.csv' )
105
+ f'{ self ._pipeline_name } /data.csv' )
106
106
107
107
@retry .retry (ignore_eventual_failure = True )
108
108
def _delete_pipeline_data (self ):
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ def _get_artifact_type(cls):
247
247
if type_annotation_cls :
248
248
if not issubclass (type_annotation_cls , SystemArtifact ):
249
249
raise ValueError (
250
- '%s' 's TYPE_ANNOTATION %s is not a subclass of SystemArtifact.' %
250
+ '%ss TYPE_ANNOTATION %s is not a subclass of SystemArtifact.' %
251
251
(cls , type_annotation_cls ))
252
252
if type_annotation_cls .MLMD_SYSTEM_BASE_TYPE :
253
253
artifact_type .base_type = type_annotation_cls .MLMD_SYSTEM_BASE_TYPE
You can’t perform that action at this time.
0 commit comments