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

Enable passing parameters to Flask SQLAlchemy #2

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

Enable passing parameters to Flask SQLAlchemy #2

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

Comments

@braybaud
Copy link

Currently we are calling SQLAlchemy with only the application:
see https://github.com/InstituteforDiseaseModeling/rse_db/blob/master/rse_db/utils.py#L130

It would be nice to also be able to specify extra parameters.
For example, I am trying to disable autoflush and am unable to do so with the get_db function.

@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