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

Support for additional engine parameters #1

Open
braybaud opened this issue Feb 26, 2019 · 0 comments
Open

Support for additional engine parameters #1

braybaud opened this issue Feb 26, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@braybaud
Copy link

I am trying to extend the SQLite timeout parameter.
To do so, I need to modify the create_engine parameters.

It would be nice to add an connect_args to the get_db function allowing to pass:

db = get_db(application, ..., connect_args={'timeout': 15})

which will add this to the create_engine.

We could also think making it generic and just pass the **kwargs of the get_db downstream to the create_engine

@braybaud braybaud added the enhancement New feature or request label Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant