dry-python / dry-python/returns
Consider adding `to_iterable` converter
Đang mở
enhancement
help wanted
- Ngôn ngữ chính
- Python
- Star
- 4.4k
- Fork
- 155
- Merge trung bình
- 2 giờ 27 phút
- Pull request đã merge (30 ngày)
- 22
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.