aws-step-functions-data-science-sdk-python icon indicating copy to clipboard operation
aws-step-functions-data-science-sdk-python copied to clipboard

ProcessingJob does not have StepID

Open momonga-ml opened this issue 3 years ago • 1 comments

Currently need to set the name manually for StepId.ProcessingJob.value, as it does not show-up in StepID.

see code under Setup Pipeline with the Step Functions SDK for example: https://github.com/data-science-on-aws/workshop/blob/master/10_pipeline/stepfunctions/01_Create_Pipeline_Train_and_Deploy_Reviews_BERT_TensorFlow.ipynb

momonga-ml avatar May 28 '21 02:05 momonga-ml

Steps can accept any string for its name as long as it is unique to the workflow. StepId only really exists for the SDK's prebuilt Pipeline classes, which use the same step names all the time.

Neither using StepId enums or a custom strings for step names is wrong per se.


Related to https://github.com/aws/aws-step-functions-data-science-sdk-python/issues/136

wong-a avatar Jun 17 '21 22:06 wong-a