NamedTuple Interface

May 15, 2017
1:18 p.m.
I think it would be nice to have a generic NamedTuple interface in python: from typing import NamedTupleType def test( arguments: NamedTupleType ) -> NamedTupleType: return SomeType(**NamedTupleType._asdict) The rationale is that named tuple exposes a common API, and it would be nice to have it readily available.
2865
Age (days ago)
2865
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fabrizio Messina