dry-python / dry-python/returns
Consider adding `Lazy` protocol
Ouverte
enhancement
good first issue
hacktoberfest
help wanted
- Langage dominant
- Python
- Étoiles
- 4.4k
- Forks
- 155
- Merge moyen
- 2 h 27 min
- PR mergées (30 j)
- 22
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.