dry-python / dry-python/returns

Consider adding `NonEmptyList`

未关闭
#257 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
Python
星标
4.4k
派生
155
平均合并
2 小时 27 分钟
30 天内合并 PR
22

描述

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/

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。