dry-python / dry-python/returns
Consider adding `NonEmptyList`
Open
enhancement
help wanted
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 155
- Avg merge
- 2h 27m
- Merged PRs (30d)
- 22
Description
Currently, Python does not have any valid type elements to work with lists.
And while `List` itself is good enough for collections and other things, sometimes we need to explicitly mark some list to have at least one argument.
Related: https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
Contributor guide
Assessment
This issue has not been assessed yet.