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
I noticed that Pyramid allows to pass a pregenerator to request.add_route(), which is then used by request.route_url() to touch up its arguments.
request.add_route()
request.route_url()
I don’t see this parameter for Service() though. What’s the recommended way of adding such a pregenerator?
Service()
The text was updated successfully, but these errors were encountered:
It doesn't seem to be possible to pass custom route arguments currently.
But we could add a service attribute (like predicate) here for example:
predicate
cornice/cornice/pyramidhook.py
Lines 183 to 201 in 494f35f
Sorry, something went wrong.
No branches or pull requests
I noticed that Pyramid allows to pass a pregenerator to
request.add_route()
, which is then used byrequest.route_url()
to touch up its arguments.I don’t see this parameter for
Service()
though. What’s the recommended way of adding such a pregenerator?The text was updated successfully, but these errors were encountered: