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

Feature Request: Support placeholders for Map state

オープン
#101 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
299
フォーク
84
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently I am not able to pass execution input to a Map state. If I try to pass execution input to map state it throws 'Object of type 'ExecutionInput' is not JSON serializable' . So is it possible to add palceholder support to Map state.

```
input_data_check_map_step= steps.states.Map(state_id='input_data_check_map',
iterator=input_data_check_lambda_task,
input_path=execution_input,
items_path=execution_input['input_data_dirs'],
parameters={'input_dir':'$.Map.Item.Value','fcst_date':"$.fcst_date"},
max_concurrency=5,
comment='Run input data checks in dynamic parllel state',
result_path='$.InputDataCheckRes')
```

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

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

調査の方向性

まず Map state の例を再現し、execution input、input_path、items_path がどのようにシリアライズされるかを追跡します。Map state の実装と、存在する場合は関連するテストを確認し、プレースホルダーの想定される動作を判断します。execution input を JSON serialization error なしで Map state に渡せ、提示されたケースがテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
cloud
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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