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
Generating the migration goes well and executing works like a charm, however mypy has a few complaints:
migrations/versions/cd7033b17112_update_form_component_types_enum.py:13: error: Module "alembic_postgresql_enum" does not explicitly export attribute "TableReference" [attr-defined]
migrations/versions/cd7033b17112_update_form_component_types_enum.py:26: error: Module has no attribute "sync_enum_values" [attr-defined]
migrations/versions/cd7033b17112_update_form_component_types_enum.py:44: error: Module has no attribute "sync_enum_values" [attr-defined]
I'm running mypy in strict mode btw. I suppose the first one could be fixed easily by either defining __all__ in the __init__.py or by using:
from .get_enum_dataimportColumnTypeasColumnTypefrom .get_enum_dataimportTableReferenceasTableReference
instead of:
from .get_enum_dataimportColumnType, TableReference
Not sure how to go about fixing the others though.
The text was updated successfully, but these errors were encountered:
Generating the migration goes well and executing works like a charm, however mypy has a few complaints:
I'm running mypy in strict mode btw. I suppose the first one could be fixed easily by either defining
__all__
in the__init__.py
or by using:instead of:
Not sure how to go about fixing the others though.
The text was updated successfully, but these errors were encountered: