-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Somebody mentioned having some trouble with Pyramid and Zappa, but I haven't explored it yet. It should be somewhat straight forward, but I haven't confirmed it yet. My guess is that it'll mean having something like this:
def generate_wsgi_app():
config = Configurator()
config.add_route('hello', '/hello/{name}')
config.add_view(hello_world, route_name='hello')
app = config.make_wsgi_app()
return appand then
{
"dev": {
"s3_bucket": "lmbda",
"app_function": "your_module.generate_wsgi_app"
}
}But, I haven't tried this yet. Does this make sense, @bbangert ? Is there a pattern/convention that'd be better?
pywebdesign
Metadata
Metadata
Assignees
Labels
No labels