dry-python / dry-python/returns
Consider adding `to_iterable` converter
オープン
enhancement
help wanted
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 155
- 平均マージ
- 2時間 27分
- マージ済み PR(30日)
- 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 はまだ評価されていません。