dry-python / dry-python/returns
Consider adding `Lazy` protocol
Offen
enhancement
good first issue
hacktoberfest
help wanted
- Vorherrschende Sprache
- Python
- Sterne
- 4.4k
- Forks
- 155
- Ø Merge
- 2 Std. 27 Min.
- Gemergte PRs (30 T.)
- 22
Beschreibung
We can add `Lazy = () => A` protocol to `returns.primitives.types`
This might be helpful when working with `IO` when someone want to slow things down.
One should use `Protocol` and `__call__` to model this type.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.