Open chelsyx opened 6 years ago
Yes. This is a serious issue. I've reported it to the SQLAlchemy folks and it might be fixed in the current version. I can't find the bug in a quick web search so maybe it was addressed? It would be worth updating mwdb's requirements to pull in a more recent version of SQLAlchemy to see if it is still an issue. I'm pretty backlogged so please feel free to try to beat me to it :D
Hmmm... Updating mwdb's requirements doesn't help: I changed the requirement to sqlalchemy>1.2
(the most recent version of SQLAlchemy is 1.2.11 released on 2018-08-20) but the error is still there.
When using
mwdb.Schema
to connect to production database, tables cannot be load because of those weird view names on labs:It works after I remove those names from
ONLY_TABLES
(https://github.com/mediawiki-utilities/python-mwdb/blob/master/mwdb/schema.py#L37). But I'm sure it's not the right way to fix it because it won't work on both production database and public replicas.