(n_clicks)
| 275 | prevent_initial_call=True, |
| 276 | ) |
| 277 | def callback_hook(n_clicks): |
| 278 | try: |
| 279 | retrieved_app = get_app() |
| 280 | hook_access_results["callback_hook"] = retrieved_app is not None |
| 281 | return f"Hook callback: {n_clicks}" |
| 282 | except Exception as err: |
| 283 | hook_access_results["callback_hook"] = False |
| 284 | return f"Error in hook callback: {err}" |
| 285 | |
| 286 | app = Dash(__name__) |
| 287 | app.layout = [ |
nothing calls this directly
no test coverage detected
searching dependent graphs…