Page MenuHomePhabricator

Suppress SQLAlchemy Database track warning message
Open, In Progress, Needs TriagePublic

Description

Each time the database is loaded, there's a warning message which pops up as shown below

site-packages/flask_sqlalchemy/__init__.py:872: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.

This config should be set to False to disable modifications tracking and this should be able to stop this warning from showing up.

Event Timeline

Change #1134332 had a related patch set uploaded (by Bovimacoco; author: Bovimacoco):

[labs/tools/wdaudiolex-be@main] T386712 Suppress SQLAlchemy Database track warning message bug: T386712

https://gerrit.wikimedia.org/r/1134332

Bovimacoco changed the task status from Open to In Progress.Apr 5 2025, 11:18 AM
Bovimacoco claimed this task.

Change #1134332 merged by Wandji collins:

[labs/tools/wdaudiolex-be@main] T386712 Suppress SQLAlchemy Database track warning message bug: T386712

https://gerrit.wikimedia.org/r/1134332