The export_dashboard Module

Export a single Superset dashboard (by id) to a native YAML bundle (console script: export_dashboard). Examples:

export_dashboard 6
export_dashboard 6 --base-url http://localhost:8088/ --out medicare_6.zip \
    --unpack medicare_6/

Find a dashboard’s id from its Superset URL: …/superset/dashboard/<id>/.

To refresh a committed canonical bundle, export with –unpack into a temp dir, review the diff, then replace the committed bundle with it.

main(argv=None)[source]