Skip to content

Commit 0c09088

Browse files
committed
update docs for get_relative_path
1 parent d2e2e54 commit 0c09088

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dash/_get_paths.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def display_content(path):
6666
if page_name == "page-2":
6767
return chapters.page_2
6868
```
69+
70+
`dash.get_relative_path` is not compatible with Dash Snapshots. Use
71+
`get_relative_path` on the app instance instead: `app.get_relative_path`.
6972
"""
7073
return app_get_relative_path(CONFIG.requests_pathname_prefix, path)
7174

0 commit comments

Comments
 (0)