You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Put v1 at the end to make sure lower versions can be added
34
+
# Put v3 in the middle to make sure a higher version can be added
35
+
deps= [some_dep2, some_dep3, some_dep1]
36
+
37
+
app=App(ui.div("ui goes here"), server=None)
38
+
39
+
# During a page refresh, the same session is kept alive. This means the mapping of `app._registered_dependencies` is kept. However, the dependencies requested by the user can be different when using a UI function.
40
+
41
+
# Simulate adding the _conflicting_ dependencies from three different dynamic UI
42
+
# functions
43
+
fordepindeps:
44
+
app._register_web_dependency(dep)
45
+
# All three dependencies should be registered as they are unique and will be requested by the browser
0 commit comments