(self, dash_app: Dash)
| 225 | return response |
| 226 | |
| 227 | def setup_component_suites(self, dash_app: Dash): |
| 228 | def serve(package_name, fingerprinted_path): |
| 229 | return self.serve_component_suites( |
| 230 | dash_app, package_name, fingerprinted_path |
| 231 | ) |
| 232 | |
| 233 | # pylint: disable=protected-access |
| 234 | dash_app._add_url( |
| 235 | "_dash-component-suites/<string:package_name>/<path:fingerprinted_path>", |
| 236 | serve, |
| 237 | ) |
| 238 | |
| 239 | def _create_redirect_function(self, redirect_to): |
| 240 | def _redirect(): |