dry-python / dry-python/returns
Consider adding `to_iterable` converter
Abierto
enhancement
help wanted
- Lenguaje dominante
- Python
- Estrellas
- 4.4k
- Forks
- 155
- Merge medio
- 2 h 27 min
- PR fusionados (30 d)
- 22
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.