streamlit-nightly 1.38.1.dev20240910__py2.py3-none-any.whl → 1.38.1.dev20240911__py2.py3-none-any.whl

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.
@@ -124,11 +124,6 @@ def check_cache_replay_rules() -> None:
124
124
  exception(CachedWidgetWarning())
125
125
 
126
126
 
127
- _fragment_writes_widget_to_outside_error = (
128
- "Fragments cannot write to elements outside of their container."
129
- )
130
-
131
-
132
127
  def check_fragment_path_policy(dg: DeltaGenerator):
133
128
  """Ensures that the current widget is not written outside of the
134
129
  fragment's delta path.
@@ -276,10 +276,14 @@ class CachedFunc:
276
276
  # We've acquired the lock - but another thread may have acquired it first
277
277
  # and already computed the value. So we need to test for a cache hit again,
278
278
  # before computing.
279
- with contextlib.suppress(CacheKeyNotFoundError):
279
+ try:
280
280
  cached_result = cache.read_result(value_key)
281
281
  # Another thread computed the value before us. Early exit!
282
282
  return self._handle_cache_hit(cached_result)
283
+ except CacheKeyNotFoundError:
284
+ # No cache hit -> we will call the cached function
285
+ # below.
286
+ pass
283
287
 
284
288
  # We acquired the lock before any other thread. Compute the value!
285
289
  with self._info.cached_message_replay_ctx.calling_cached_function(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "./static/css/main.5513bd04.css",
4
- "main.js": "./static/js/main.7b7fe9ac.js",
4
+ "main.js": "./static/js/main.e270cec5.js",
5
5
  "static/js/6679.265ca09c.chunk.js": "./static/js/6679.265ca09c.chunk.js",
6
6
  "static/js/9464.7e9a3c0a.chunk.js": "./static/js/9464.7e9a3c0a.chunk.js",
7
7
  "static/js/9077.e0a8db2a.chunk.js": "./static/js/9077.e0a8db2a.chunk.js",
@@ -9,7 +9,7 @@
9
9
  "static/css/3156.93909c7e.chunk.css": "./static/css/3156.93909c7e.chunk.css",
10
10
  "static/js/3156.002c6ee0.chunk.js": "./static/js/3156.002c6ee0.chunk.js",
11
11
  "static/css/5711.c24b25fa.chunk.css": "./static/css/5711.c24b25fa.chunk.css",
12
- "static/js/5711.2f36e813.chunk.js": "./static/js/5711.2f36e813.chunk.js",
12
+ "static/js/5711.3d376a33.chunk.js": "./static/js/5711.3d376a33.chunk.js",
13
13
  "static/js/3861.0dedcd19.chunk.js": "./static/js/3861.0dedcd19.chunk.js",
14
14
  "static/js/8642.dfef7dcb.chunk.js": "./static/js/8642.dfef7dcb.chunk.js",
15
15
  "static/js/7493.95e79b96.chunk.js": "./static/js/7493.95e79b96.chunk.js",
@@ -53,7 +53,7 @@
53
53
  "static/js/5544.2769497c.chunk.js": "./static/js/5544.2769497c.chunk.js",
54
54
  "static/css/7077.81b3d18f.chunk.css": "./static/css/7077.81b3d18f.chunk.css",
55
55
  "static/js/7077.e21833ae.chunk.js": "./static/js/7077.e21833ae.chunk.js",
56
- "static/js/2266.48d2ebd0.chunk.js": "./static/js/2266.48d2ebd0.chunk.js",
56
+ "static/js/2266.f3886a78.chunk.js": "./static/js/2266.f3886a78.chunk.js",
57
57
  "static/js/3389.71902a75.chunk.js": "./static/js/3389.71902a75.chunk.js",
58
58
  "static/js/4297.3afbdd03.chunk.js": "./static/js/4297.3afbdd03.chunk.js",
59
59
  "static/js/4942.e4db7877.chunk.js": "./static/js/4942.e4db7877.chunk.js",
@@ -153,6 +153,6 @@
153
153
  },
154
154
  "entrypoints": [
155
155
  "static/css/main.5513bd04.css",
156
- "static/js/main.7b7fe9ac.js"
156
+ "static/js/main.e270cec5.js"
157
157
  ]
158
158
  }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><link rel="shortcut icon" href="./favicon.png"/><link rel="preload" href="./static/media/SourceSansPro-Regular.0d69e5ff5e92ac64a0c9.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="./static/media/SourceSansPro-SemiBold.abed79cd0df1827e18cf.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="./static/media/SourceSansPro-Bold.118dea98980e20a81ced.woff2" as="font" type="font/woff2" crossorigin><title>Streamlit</title><script>window.prerenderReady=!1</script><script defer="defer" src="./static/js/main.7b7fe9ac.js"></script><link href="./static/css/main.5513bd04.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><link rel="shortcut icon" href="./favicon.png"/><link rel="preload" href="./static/media/SourceSansPro-Regular.0d69e5ff5e92ac64a0c9.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="./static/media/SourceSansPro-SemiBold.abed79cd0df1827e18cf.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="./static/media/SourceSansPro-Bold.118dea98980e20a81ced.woff2" as="font" type="font/woff2" crossorigin><title>Streamlit</title><script>window.prerenderReady=!1</script><script defer="defer" src="./static/js/main.e270cec5.js"></script><link href="./static/css/main.5513bd04.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>