lcyh opened a new issue #12732:
URL: https://github.com/apache/superset/issues/12732
A clear and concise description of what the bug is.
I customized a component yh_color_table,but it was wrong,I don't know
what's wrong?
error: "'yh_color_table'"
stacktrace: "Traceback (most recent call last):↵ File
"/data/app/superset-web/superset/views/base.py", line 135, in wraps↵ return
f(self, *args, **kwargs)↵ File
"/data/app/superset-web/superset/utils/decorators.py", line 63, in wrapper↵
check_perms(*args, **kwargs)↵ File
"/data/app/superset-web/superset/views/core.py", line 125, in
check_datasource_perms↵ force=False,↵ File
"/data/app/superset-web/superset/views/utils.py", line 120, in get_viz↵
viz_obj = viz.viz_types[viz_type](↵KeyError: 'yh_color_table'↵")
Ping gave me some suggestions on how to create a custom component?
### Environment
superset --version
Python 3.7.8
Flask 1.1.2
Werkzeug 0.16.0
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]