You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
If you try to enhance Pyramid features by writing a decorator that applies @view_config() to a function generated by this decorator, Configurator.scan() cannot find this view. For example,
Robert Forkel mentioned that he had the same issue in cornice and found a solution. Based on his input, I wrote a similar fix for view_config(). It seems to work, but I'm in the process of cleaning up, adding comments and testing.
Thanks! I reimplemented this because I could not figure out what repository your commit was to. In any case, the _depth argument now supplies the functionality.
If you try to enhance Pyramid features by writing a decorator that applies
@view_config()
to a function generated by this decorator,Configurator.scan()
cannot find this view. For example,where
homemade_rpc_framework.py
contains:See Writing a decorator that returns a Pyramid view in the
pylons-discuss
Google group for more details.The text was updated successfully, but these errors were encountered: