peewee-value-returns-to-its-default-after-few-seconds-bug
OK ISSUES IS
That a pointer to the database is not refreshing automatically, it pointing to local data in memory so holding old data. Don't spam the issues -- please try to have a bit of patience. Well it took me 2 hours before I found the issue.
it is not clear about refreshing data from the doc...
https://stackoverflow.com/questions/75804965/peewee-value-returns-to-its-default-after-few-seconds-bug

Can you explain this ?