Open shreeshaprabhu opened 2 years ago
@shreeshaprabhu This function returns pipeline step arguments in case the Transformer instance is built with PipelineSession, returning job_name with break existing customers.
@navinsoni it seems that in the current transform
implementation, it never returns anything. I suspect returning the name of the transform job would not break any customer code?
Describe the feature you'd like
Get name of batch transform job after
sagemaker.transformer.Transformer.transform()
call, because the method does not return anything.How would this feature be used? Please describe.
Job name will be used for bookkeeping purposes. Job name will be used to locate logs if debugging is required.
Describe alternatives you've considered
When
transform
method is executed, it sets the object fieldlatest_transform_job
. We are planning to usetransformer. latest_transform_job.name
to get the job name.But the
Transformer
documentation doesn't mention anything about the fieldlatest_transform_job
. We are not sure if the field is safe for use or if the field will get removed/replaced in the future versions.Additional context