dosubot[bot] commented on issue #29694: URL: https://github.com/apache/superset/issues/29694#issuecomment-2249132157
<!-- Greeting --> Hey @sadpandajoe! I'm here to assist you with any bugs, questions, or contributions while we wait for a human maintainer. Let's tackle this together! <!-- Answer --> The example data such as dashboards and charts no longer exist when spinning up an ephemeral instance in a PR because the provided workflow configuration does not include any steps to load or initialize example data. To include example data, you need to add steps in the workflow to load the example data after the environment is spun up. You can use scripts like `misc_dashboard.py` to load example dashboards and charts, or leverage the `ImportAssetsCommand` from the `superset.commands.importers.v1.assets` module to import predefined configurations for databases, datasets, charts, and dashboards <sup>[[1]](https://github.com/apache/superset/blob/master/.github/workflows/ephemeral-env.yml)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/examples/misc_dashboard.py)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/tests/unit_tests/commands/importers/v1/assets_test.py)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
