streamlit-component-loader 0.7.10__tar.gz → 0.7.12__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.
- {streamlit_component_loader-0.7.10/streamlit_component_loader.egg-info → streamlit_component_loader-0.7.12}/PKG-INFO +1 -1
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12/streamlit_component_loader.egg-info}/PKG-INFO +1 -1
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/streamlit_plugins/components/loader/__init__.py +0 -5
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/LICENSE +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/README.md +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/setup.cfg +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/setup.py +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/streamlit_component_loader.egg-info/SOURCES.txt +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/streamlit_component_loader.egg-info/dependency_links.txt +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/streamlit_component_loader.egg-info/requires.txt +0 -0
- {streamlit_component_loader-0.7.10 → streamlit_component_loader-0.7.12}/streamlit_component_loader.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import inspect
|
|
2
2
|
from abc import ABC, abstractmethod
|
|
3
|
-
import atexit
|
|
4
3
|
import time
|
|
5
4
|
from enum import Enum, auto
|
|
6
5
|
from typing import TypeVar, Callable, Tuple, Optional
|
|
@@ -4425,8 +4424,6 @@ class BaseLoader(ABC):
|
|
|
4425
4424
|
)
|
|
4426
4425
|
self.loader_container = loader_container
|
|
4427
4426
|
|
|
4428
|
-
atexit.register(self.stop_loader)
|
|
4429
|
-
|
|
4430
4427
|
def recreate_loader_with(self, **loader_kwargs) -> "LoaderType":
|
|
4431
4428
|
return self.__class__(loader_container=self.loader_container, **loader_kwargs)
|
|
4432
4429
|
|
|
@@ -4496,8 +4493,6 @@ class DefaultLoader(BaseLoader):
|
|
|
4496
4493
|
self.display_element = st.empty()
|
|
4497
4494
|
self.display_element_out = st.empty()
|
|
4498
4495
|
|
|
4499
|
-
atexit.register(self.stop_loader)
|
|
4500
|
-
|
|
4501
4496
|
@staticmethod
|
|
4502
4497
|
def _parse_height_css(height: int | str) -> str:
|
|
4503
4498
|
if isinstance(height, (int, float)):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|