Passing arguments to activities as dictionaries instead of as list of lists.

オープン
#42 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

まず、アクティビティテストにおけるアクティビティの登録と呼び出しを調べ、次に issue #38 の現在の Sentinel 2 notebook と比較します。キーワード引数とアクティビティの戻り値をどのように表現すべきかを定義し、テストと notebook を更新して、出力が変わらないことを確認します。

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

説明

enhancement user-facing

Feature

Desired Behavior / Functionality

At the moment, when you register an activity in the Sentinel 2 notebook or in the activity tests, if you want to return an argument or modify data, you need to pass it as input as a list or a list of lists. It would be nice to edit the code to take as input dictionaries, making the code much more readable and understandable.

Furthermore, it would be nice to have a dedicated mechanism to access values return from activities.

What Needs to Be Done

  • Change args for activities to be kwargs
  • Process return values of activity functions in some way
  • Update Sentinel 2 example notebook from #38 to use this

How Can It Be Tested

The outputs should be the same as now.

主要言語
Python
スター
64
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aidotse/PASEOS のほかの issue

aidotse/PASEOS の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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