From 30a01877f282f3ea80a267baf7fb70dca182b77d Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 31 Jul 2024 15:30:06 +0200 Subject: [PATCH 1/2] Update __init__.py --- src/streamlit_extras/bottom_container/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/streamlit_extras/bottom_container/__init__.py b/src/streamlit_extras/bottom_container/__init__.py index 898fe09..66ff58c 100644 --- a/src/streamlit_extras/bottom_container/__init__.py +++ b/src/streamlit_extras/bottom_container/__init__.py @@ -14,6 +14,9 @@ def bottom() -> DeltaGenerator: """ Insert a multi-element container that sticks to the bottom of the app. + + Note that this can only be in the main body of the app, and not in + other parts e.g. st.sidebar """ if hasattr(st, "_bottom"): return st._bottom From f07264bb489a5e61d3e69e11742d2e9e512875ad Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 1 Aug 2024 09:24:54 +0000 Subject: [PATCH 2/2] Fix lint --- src/streamlit_extras/bottom_container/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamlit_extras/bottom_container/__init__.py b/src/streamlit_extras/bottom_container/__init__.py index 66ff58c..6201163 100644 --- a/src/streamlit_extras/bottom_container/__init__.py +++ b/src/streamlit_extras/bottom_container/__init__.py @@ -15,7 +15,7 @@ def bottom() -> DeltaGenerator: """ Insert a multi-element container that sticks to the bottom of the app. - Note that this can only be in the main body of the app, and not in + Note that this can only be in the main body of the app, and not in other parts e.g. st.sidebar """ if hasattr(st, "_bottom"):