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

Supply additional parameters to create_engine function #205

Open
cheungpat opened this issue Apr 27, 2018 · 0 comments
Open

Supply additional parameters to create_engine function #205

cheungpat opened this issue Apr 27, 2018 · 0 comments

Comments

@cheungpat
Copy link
Contributor

py-skygear provides function to create a SQLAlchemy engine connection, which calls create_engine() with the database URL. There is a request to set additional parameter for the create_engine() function, such as pool_pre_ping. This can be achieved by modifying the conn function (in skygear/utils/db.py) to pass kwargs to _get_engine() and create_engine().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant