79169661

Date: 2024-11-08 10:40:30
Score: 1.5
Natty:
Report link

you could do it like this:

SQLALCHEMY_ENGINE_OPTIONS = {
    'pool_pre_ping': True,
    ...
}
SQLALCHEMY_BINDS = {
    'users': {
        'url': 'sqlite:///',
        'pool_pre_ping': True,
        ...
    },
    'application': SQLALCHEMY_DATABASE_URI
} 

it's working for me.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: vacant2777