dashlab 0.3.7__tar.gz → 0.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dashlab-0.3.7 → dashlab-0.3.8}/PKG-INFO +1 -1
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/_version.py +1 -1
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/base.py +3 -1
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab.egg-info/PKG-INFO +1 -1
- {dashlab-0.3.7 → dashlab-0.3.8}/LICENSE +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/README.md +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/__init__.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/_internal.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/core.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/patches.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/animator.css +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/animator.js +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/fscreen.css +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/fscreen.js +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/listw.css +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/static/listw.js +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/utils.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab/widgets.py +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab.egg-info/SOURCES.txt +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab.egg-info/dependency_links.txt +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab.egg-info/requires.txt +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/dashlab.egg-info/top_level.txt +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/pyproject.toml +0 -0
- {dashlab-0.3.7 → dashlab-0.3.8}/setup.cfg +0 -0
|
@@ -22,6 +22,7 @@ from .utils import print_error, disabled, _build_css, _fix_init_sig, _format_doc
|
|
|
22
22
|
|
|
23
23
|
# Us
|
|
24
24
|
_user_ctx = nullcontext # this can be set from external packages like ipyslides will set one
|
|
25
|
+
_this_klass = '' # for external used in ipyslides to detect current class where function is running
|
|
25
26
|
|
|
26
27
|
_running_callbacks = set() # Global set to track currently running callbacks
|
|
27
28
|
|
|
@@ -892,7 +893,8 @@ class DashboardBase(ipw.interactive, metaclass = _metaclass):
|
|
|
892
893
|
_run_callbacks(self.__icallbacks, kwargs, self)
|
|
893
894
|
|
|
894
895
|
def __user_ctx(self):
|
|
895
|
-
global _user_ctx
|
|
896
|
+
global _user_ctx, _this_klass
|
|
897
|
+
_this_klass = "." + ".".join(self._dom_classes) # for context manager use outside
|
|
896
898
|
try:
|
|
897
899
|
with _user_ctx(): pass # test if it works
|
|
898
900
|
except Exception as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|