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

Aperta
#42 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Inizia esaminando la registrazione e l’invocazione delle attività nei test delle attività, quindi confronta il notebook Sentinel 2 attuale dell’issue #38. Definisci come devono essere rappresentati gli argomenti con nome e i valori restituiti dalle attività, aggiorna i test e il notebook e verifica che gli output rimangano invariati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
64
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aidotse/PASEOS

Tutte le issue di aidotse/PASEOS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.