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.Dismiss alert
The Pyramid example shown in the docs is mostly for taste. The problem is that Pyramid unlike other frameworks uses thread-locals and using an example as it is, causes numerous side effects and makes it unusable for example if you want to use the database.
The following is an example that will not cause side effects, shows database use and can be used with integration tests.
Instead of updating the simple example that we have under examples/, I'm thinking of enhancing the adapter side: #794 Does this work for you? If you don't like the context property name "pyramid_request", please go ahead with your own adapter. It's safe enough to use your own one as the adapter layer is simple and stable enough.
The Pyramid example shown in the docs is mostly for taste. The problem is that Pyramid unlike other frameworks uses thread-locals and using an example as it is, causes numerous side effects and makes it unusable for example if you want to use the database.
The following is an example that will not cause side effects, shows database use and can be used with integration tests.
Category (place an
x
in each of the[ ]
)Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: