Commit
·
4b8c314
1
Parent(s):
dbfe679
Make it slim
Browse files
streamlit_nested_expanders.py
CHANGED
|
@@ -1,66 +1,14 @@
|
|
| 1 |
from typing import Optional, Iterable
|
| 2 |
|
| 3 |
import streamlit as st
|
| 4 |
-
from streamlit import cursor
|
| 5 |
-
from streamlit import legacy_caching
|
| 6 |
-
from streamlit import type_util
|
| 7 |
-
from streamlit import util
|
| 8 |
-
from streamlit.cursor import Cursor
|
| 9 |
from streamlit.report_thread import get_report_ctx as get_script_run_ctx
|
| 10 |
#from streamlit.script_run_context import get_script_run_ctx
|
| 11 |
-
from streamlit.errors import StreamlitAPIException
|
| 12 |
from streamlit.errors import NoSessionContext
|
| 13 |
from streamlit.proto import Block_pb2
|
| 14 |
from streamlit.proto import ForwardMsg_pb2
|
| 15 |
-
from streamlit.proto.RootContainer_pb2 import RootContainer
|
| 16 |
-
from streamlit.logger import get_logger
|
| 17 |
-
|
| 18 |
-
from streamlit.elements.balloons import BalloonsMixin
|
| 19 |
-
from streamlit.elements.button import ButtonMixin
|
| 20 |
-
from streamlit.elements.markdown import MarkdownMixin
|
| 21 |
-
from streamlit.elements.text import TextMixin
|
| 22 |
-
from streamlit.elements.alert import AlertMixin
|
| 23 |
-
from streamlit.elements.json import JsonMixin
|
| 24 |
-
from streamlit.elements.doc_string import HelpMixin
|
| 25 |
-
from streamlit.elements.exception import ExceptionMixin
|
| 26 |
-
from streamlit.elements.bokeh_chart import BokehMixin
|
| 27 |
-
from streamlit.elements.graphviz_chart import GraphvizMixin
|
| 28 |
-
from streamlit.elements.plotly_chart import PlotlyMixin
|
| 29 |
-
from streamlit.elements.deck_gl_json_chart import PydeckMixin
|
| 30 |
-
from streamlit.elements.map import MapMixin
|
| 31 |
-
from streamlit.elements.iframe import IframeMixin
|
| 32 |
-
from streamlit.elements.media import MediaMixin
|
| 33 |
-
from streamlit.elements.checkbox import CheckboxMixin
|
| 34 |
-
from streamlit.elements.multiselect import MultiSelectMixin
|
| 35 |
-
from streamlit.elements.metric import MetricMixin
|
| 36 |
-
from streamlit.elements.radio import RadioMixin
|
| 37 |
-
from streamlit.elements.selectbox import SelectboxMixin
|
| 38 |
-
from streamlit.elements.text_widgets import TextWidgetsMixin
|
| 39 |
-
from streamlit.elements.time_widgets import TimeWidgetsMixin
|
| 40 |
-
from streamlit.elements.progress import ProgressMixin
|
| 41 |
-
from streamlit.elements.empty import EmptyMixin
|
| 42 |
-
from streamlit.elements.number_input import NumberInputMixin
|
| 43 |
-
from streamlit.elements.camera_input import CameraInputMixin
|
| 44 |
-
from streamlit.elements.color_picker import ColorPickerMixin
|
| 45 |
-
from streamlit.elements.file_uploader import FileUploaderMixin
|
| 46 |
-
from streamlit.elements.select_slider import SelectSliderMixin
|
| 47 |
-
from streamlit.elements.slider import SliderMixin
|
| 48 |
-
from streamlit.elements.snow import SnowMixin
|
| 49 |
-
from streamlit.elements.image import ImageMixin
|
| 50 |
-
from streamlit.elements.pyplot import PyplotMixin
|
| 51 |
-
from streamlit.elements.write import WriteMixin
|
| 52 |
-
from streamlit.elements.layouts import LayoutsMixin
|
| 53 |
-
from streamlit.elements.form import FormMixin, FormData, current_form_id
|
| 54 |
-
from streamlit.state import NoValue
|
| 55 |
-
|
| 56 |
-
from streamlit.elements.arrow import ArrowMixin
|
| 57 |
-
from streamlit.elements.arrow_altair import ArrowAltairMixin
|
| 58 |
-
from streamlit.elements.arrow_vega_lite import ArrowVegaLiteMixin
|
| 59 |
-
from streamlit.elements.legacy_data_frame import LegacyDataFrameMixin
|
| 60 |
-
from streamlit.elements.legacy_altair import LegacyAltairMixin
|
| 61 |
-
from streamlit.elements.legacy_vega_lite import LegacyVegaLiteMixin
|
| 62 |
-
from streamlit.elements.dataframe_selector import DataFrameSelectorMixin
|
| 63 |
|
|
|
|
| 64 |
from streamlit.delta_generator import DeltaGenerator
|
| 65 |
|
| 66 |
|
|
|
|
| 1 |
from typing import Optional, Iterable
|
| 2 |
|
| 3 |
import streamlit as st
|
| 4 |
+
from streamlit import cursor
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
from streamlit.report_thread import get_report_ctx as get_script_run_ctx
|
| 6 |
#from streamlit.script_run_context import get_script_run_ctx
|
|
|
|
| 7 |
from streamlit.errors import NoSessionContext
|
| 8 |
from streamlit.proto import Block_pb2
|
| 9 |
from streamlit.proto import ForwardMsg_pb2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
from streamlit.elements.form import FormData, current_form_id
|
| 12 |
from streamlit.delta_generator import DeltaGenerator
|
| 13 |
|
| 14 |
|