6 ms·
It's using function annotations as a way to describe which URL to route to. Function annotations aren't used by anything in Python3 by default, so it's one poss
by mcav 17y ago
It's using function annotations as a way to describe which URL to route to. Function annotations aren't used by anything in Python3 by default, so it's one possible way to do that.
- rbanffy 17y agoI would prefer to use a decorator for that.