aws / aws/sagemaker-python-sdk

Transformer.transform() doesn't return job name

オープン
#2,858 コメント 2 件 リアクション 0 件 担当者 1 名 @mollyheamazon が担当を希望しています GitHub で見る
主要言語
Python
スター
2.3k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
35

説明

**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 field `latest_transform_job`. We are planning to use `transformer. latest_transform_job.name` to get the job name.

But the `Transformer` documentation doesn't mention anything about the field `latest_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**
* https://github.com/aws/sagemaker-python-sdk/blob/dev/src/sagemaker/transformer.py#L210
* https://sagemaker.readthedocs.io/en/stable/api/inference/transformer.html

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。