You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a type change (for better or for worse) that's being caught by pyright -- possibly others.
We have a migration env.py with a statement like configuration["sqlalchemy.url"] = database that's throwing the error when pyright runs. With v1.10.4, there's no such error. I'm not sure if this is part of autogenerated output, if the code was a bit invalid from the start, or if there's something else going on.
In this case, configuration = config.get_section(config.config_ini_section), config = context.config, and from alembic import context.
Let me know if I can provide anything else to help debug.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi Alembic and all,
There seems to be a type change (for better or for worse) that's being caught by
pyright
-- possibly others.We have a migration
env.py
with a statement likeconfiguration["sqlalchemy.url"] = database
that's throwing the error whenpyright
runs. With v1.10.4, there's no such error. I'm not sure if this is part of autogenerated output, if the code was a bit invalid from the start, or if there's something else going on.In this case,
configuration = config.get_section(config.config_ini_section)
,config = context.config
, andfrom alembic import context
.Let me know if I can provide anything else to help debug.
Thanks!
The text was updated successfully, but these errors were encountered: