From 4278f77277a6f6602838fd324202ef89091e11f4 Mon Sep 17 00:00:00 2001 From: Liam Connors Date: Tue, 21 Oct 2025 14:24:16 -0400 Subject: [PATCH] update get_app doc --- dash/_get_app.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dash/_get_app.py b/dash/_get_app.py index 77df6d2219..904b05b40b 100644 --- a/dash/_get_app.py +++ b/dash/_get_app.py @@ -39,6 +39,13 @@ def wrap(*args, **kwargs): def get_app(): + """ + Return the current Dash app instance. + + Useful in multi-page apps when Python files within the `pages/` folder + need to reference the `app` object but importing it directly would cause + a circular import error. + """ try: ctx_app = app_context.get() if ctx_app is not None: