Skip to content
New issue

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

Allow loggers and default factories to be set on connection pools #13

Closed
kgaughan opened this issue Jul 10, 2012 · 0 comments
Closed

Allow loggers and default factories to be set on connection pools #13

kgaughan opened this issue Jul 10, 2012 · 0 comments
Assignees

Comments

@kgaughan
Copy link
Owner

This is a silly omission.

Right now, pools don't have a way to assign either of these to their contexts. This makes dealing with the likes of Jinja a touch awkward if you're using a connection pool.

What's needed is something akin to the default_factory and logger attributes on Context to be added to PoolBase. These would be assigned to any newly created contexts within the pool.

@ghost ghost assigned kgaughan Jul 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant