aidotse / aidotse/PASEOS

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

Đang mở
#42 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement user-facing
Ngôn ngữ chính
Python
Star
61
Fork
16
Merge trung bình
32 phút
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.