dry-python / dry-python/returns
Consider adding `Lazy` protocol
Open
enhancement
good first issue
hacktoberfest
help wanted
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 155
- Avg merge
- 2h 27m
- Merged PRs (30d)
- 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.
Contributor guide
Assessment
This issue has not been assessed yet.