4 ms·
I was thinking this too, if a decorator could make this easier. I'd also like whatever a solution is to work well with type annotations. I'm surprised there i
by softwaredoug 5y ago
I was thinking this too, if a decorator could make this easier.
I'd also like whatever a solution is to work well with type annotations.
I'm surprised there isn't a pep to improve the situation. (Maybe there is and I haven't found it!)
- hultner 5y agoThere is, see my comment here: https://news.ycombinator.com/item?id=30047413 https://news.ycombinator.com/item?id=30047413