Skip to content

Supply additional parameters to create_engine function #205

Open
@cheungpat

Description

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Supply additional parameters to create_engine function · Issue #205 · SkygearIO/py-skygear