3 ms·
Well, no. The decorator generator is called first, then the decorator is called, all at the time when the line "@app.route()" is first reached during import. Yo
by ekimekim 12y ago
Well, no. The decorator generator is called first, then the decorator is called, all at the time when the line "@app.route()" is first reached during import.
You could just as easily write @foo.bar[baz]('abc').hello
and it would still work - the code after the @ is just an expression that should return a callable.