We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5647abe commit c32ca56Copy full SHA for c32ca56
dash/dash.py
@@ -618,7 +618,10 @@ def _collect_and_register_resources(self, resources):
618
# add the version number of the package as a query parameter
619
# for cache busting
620
def _relative_url_path(relative_package_path="", namespace=""):
621
- if any(x in relative_package_path for x in ["dcc", "html", "dash_table"]):
+ if any(
622
+ relative_package_path.startswith(x)
623
+ for x in ["dcc", "html", "dash_table"]
624
+ ):
625
relative_package_path = relative_package_path.replace("dash.", "")
626
version = importlib.import_module(
627
"{}.{}".format(namespace, os.path.split(relative_package_path)[0])
0 commit comments