aws / aws-step-functions-data-science-sdk-python

Step Functions Data Science SDK for building machine learning (ML) workflows and pipelines on AWS
Apache License 2.0
289 stars 88 forks source link

ProcessingJob does not have StepID #137

Open momonga-ml opened 3 years ago

momonga-ml commented 3 years ago

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

wong-a commented 3 years ago

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