aidotse / aidotse/PASEOS

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

未关闭
#42 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement user-facing
主要语言
Python
星标
61
派生
16
平均合并
32 分钟
30 天内合并 PR
8

描述

# 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。