Flexible bestpractice controls #615
infogulch
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
apsw's bestpractice system is nice, since they provide a way to centrally manage how all new connections are set up.
But I don't see how the current design allows for customization of the parameters:
apsw/apsw/bestpractice.py
Lines 27 to 37 in aa2c46f
So I came up with a pattern to define
connection_*funcs that enables inline customization, and I thought I'd share it. Maybe you find it interesting:Beta Was this translation helpful? Give feedback.
All reactions