Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Support Views in Flask-style decorators (RouteTableDef) #2472
I was taking a look at that and looks hard to give a 100% of consistency between decorators and views. Likely the best way to give support for decorating views is creating a new ad-hoc method called
routes = web.RouteTableDef() @routes.view('/view') class MyView(web.View): async def get(self): return await get_resp(self.request) async def post(self): return await post_resp(self.request)
On my TODO, but too many things these days. If you are keen on work on it, go ahead El 14/12/2017 22:41, "Andrew Svetlov" <firstname.lastname@example.org> escribió:…
AFAIK nobody. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2472 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABK1iViO4vqGlFzRKWyoeNs6abeqVXpLks5tAZXwgaJpZM4QT7_R> .
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs.