dry-python / dry-python/returns

flatten results of do-blocks before returning

Offen
#1,312 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
4.4k
Forks
155
Ø Merge
2 Std. 27 Min.
Gemergte PRs (30 T.)
22

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.