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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-component-loader
3
- Version: 0.7.10
3
+ Version: 0.7.12
4
4
  Summary: Components and Frameworks to give new features to streamlit
5
5
  Home-page: https://github.com/quiradev/streamlit-plugins
6
6
  Author: Victor Quilon Ranera
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-component-loader
3
- Version: 0.7.10
3
+ Version: 0.7.12
4
4
  Summary: Components and Frameworks to give new features to streamlit
5
5
  Home-page: https://github.com/quiradev/streamlit-plugins
6
6
  Author: Victor Quilon Ranera
@@ -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)):