We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current template decorator need a handler to be written from a class.
template
class
example:
class Handlers: @template('base.template') async def myhandler(self, request): return {'name': 'Test'}
but the following does not work:
@template('base.template') async def myhandler(self, request): return {'name': 'Test'}
The text was updated successfully, but these errors were encountered:
The arguments self and request were hard coded and are now replaced with *args
self
request
*args
Sorry, something went wrong.
Fix class/function bug #2
a6b7b40
Created version 1.0.5 containing the bug fix.
joente
No branches or pull requests
The current
template
decorator need a handler to be written from aclass
.example:
but the following does not work:
The text was updated successfully, but these errors were encountered: