dry-python / dry-python/returns

Consider adding `to_iterable` converter

オープン
#391 コメント 7 件 リアクション 0 件 担当者 1 名 @thepabloaguilar が担当を希望しています GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。