dry-python / dry-python/returns

flatten results of do-blocks before returning

Aperta
#1,312 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
4.4k
Fork
155
Merge medio
2h 27m
PR unite (30g)
22

Descrizione

In order to enhance the flexibility and avoid workarounds, consider flattening the results of do-blocks before returning them. This way the user can decide inside the do-block if his result needs a `unit` operation or not.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.