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
I am getting a TypeError during the initialization of an app that loads Flask-AppBuilder (see below).
I have tried both marshmallow-sqlalchemy 1.0.0, 0.30 and 0.26, but all of them returns the same results.
I am not sure the error involves Flask-AppBuilder directly, but I wanted to check why there is no support for the latest version of marshmallow-sqlalchemy.
Describe the actual results
When launching the app, I get
Traceback (most recent call last):
File "/usr/bin/superset", line 5, in <module>from superset.cli.main import superset
File "/usr/lib/python3.11/site-packages/superset/__init__.py", line 21, in <module>from superset.app import create_app
File "/usr/lib/python3.11/site-packages/superset/app.py", line 24, in <module>from superset.initialization import SupersetAppInitializer
File "/usr/lib/python3.11/site-packages/superset/initialization/__init__.py", line 28, in <module>from flask_appbuilder import expose, IndexView
File "/usr/lib/python3.11/site-packages/flask_appbuilder/__init__.py", line 5, in <module>from .api import ModelRestApi # noqa: F401^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/flask_appbuilder/api/__init__.py", line 29, in <module>from marshmallow_sqlalchemy.fields import Related, RelatedList
File "/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/__init__.py", line 1, in <module>from .schema import (
File "/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/schema.py", line 143, in <module>classSQLAlchemySchema(
File "/usr/lib/python3.11/site-packages/marshmallow/schema.py", line 116, in __new__
klass._declared_fields = mcs.get_declared_fields(
^^^^^^^^^^^^^^^^^^^^^^^^TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required positional argument: 'dict_cls'
Steps to reproduce
on Arch Linux/Manjaro: yay -S superset && superset --help
The text was updated successfully, but these errors were encountered:
Environment
pip-freeze
:Describe the expected results
I am getting a
TypeError
during the initialization of an app that loads Flask-AppBuilder (see below).I have tried both marshmallow-sqlalchemy 1.0.0, 0.30 and 0.26, but all of them returns the same results.
I am not sure the error involves Flask-AppBuilder directly, but I wanted to check why there is no support for the latest version of marshmallow-sqlalchemy.
Describe the actual results
When launching the app, I get
Steps to reproduce
on Arch Linux/Manjaro:
yay -S superset && superset --help
The text was updated successfully, but these errors were encountered: