dry-python / dry-python/returns
Consider adding `to_iterable` converter
未关闭
enhancement
help wanted
- 主要语言
- Python
- 星标
- 4.4k
- 派生
- 155
- 平均合并
- 2 小时 27 分钟
- 30 天内合并 PR
- 22
描述
After #244 we now have `.from_iterable` constructor on every container.
We should also add `to_iterable(container: Container[Sequence[T]]) -> Iterable[Container[T]]:` (where `Container` is just an alias, we should support types for all existing containers).
So, this will allow us to construct and deconstruct values easily.
贡献指南
评估
这个 Issue 还没有评估数据。