4 ms·
Fair points! Yeah, I exclusively use the typing.NamedTuple declaration these days, because it's: - less redundant - easy to add a per-attribute comment if
by jeffdn 5y ago
Fair points!
Yeah, I exclusively use the typing.NamedTuple declaration these days, because it's:
- less redundant
- easy to add a per-attribute comment if needed
- great when encapsulating disparate data to be able to have concrete types listed