aidotse / aidotse/PASEOS

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

Abierto
#42 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement user-facing
Lenguaje dominante
Python
Estrellas
61
Forks
16
Merge medio
32 min
PR fusionados (30 d)
8

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.