streamlit 1.50.0__py3-none-any.whl → 1.52.0__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.
- streamlit/__init__.py +5 -1
- streamlit/commands/execution_control.py +89 -14
- streamlit/commands/navigation.py +4 -6
- streamlit/commands/page_config.py +4 -6
- streamlit/components/v1/component_arrow.py +7 -7
- streamlit/components/v2/__init__.py +514 -0
- streamlit/components/v2/bidi_component/__init__.py +20 -0
- streamlit/components/v2/bidi_component/constants.py +29 -0
- streamlit/components/v2/bidi_component/main.py +534 -0
- streamlit/components/v2/bidi_component/serialization.py +272 -0
- streamlit/components/v2/bidi_component/state.py +92 -0
- streamlit/components/v2/component_definition_resolver.py +143 -0
- streamlit/components/v2/component_file_watcher.py +403 -0
- streamlit/components/v2/component_manager.py +439 -0
- streamlit/components/v2/component_manifest_handler.py +122 -0
- streamlit/components/v2/component_path_utils.py +245 -0
- streamlit/components/v2/component_registry.py +426 -0
- streamlit/components/v2/get_bidi_component_manager.py +51 -0
- streamlit/components/v2/manifest_scanner.py +615 -0
- streamlit/components/v2/presentation.py +198 -0
- streamlit/components/v2/types.py +324 -0
- streamlit/config.py +456 -53
- streamlit/config_option.py +4 -1
- streamlit/config_util.py +650 -1
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/connections/snowpark_connection.py +1 -1
- streamlit/dataframe_util.py +33 -26
- streamlit/delta_generator.py +13 -4
- streamlit/delta_generator_singletons.py +11 -15
- streamlit/deprecation_util.py +17 -6
- streamlit/elements/alert.py +16 -0
- streamlit/elements/arrow.py +68 -10
- streamlit/elements/bokeh_chart.py +10 -78
- streamlit/elements/code.py +2 -2
- streamlit/elements/deck_gl_json_chart.py +98 -40
- streamlit/elements/dialog_decorator.py +2 -1
- streamlit/elements/exception.py +4 -2
- streamlit/elements/form.py +27 -0
- streamlit/elements/graphviz_chart.py +1 -3
- streamlit/elements/heading.py +63 -10
- streamlit/elements/html.py +13 -2
- streamlit/elements/image.py +3 -5
- streamlit/elements/layouts.py +59 -33
- streamlit/elements/lib/built_in_chart_utils.py +50 -19
- streamlit/elements/lib/color_util.py +9 -19
- streamlit/elements/lib/column_config_utils.py +9 -12
- streamlit/elements/lib/column_types.py +40 -12
- streamlit/elements/lib/dialog.py +2 -2
- streamlit/elements/lib/image_utils.py +3 -5
- streamlit/elements/lib/layout_utils.py +100 -13
- streamlit/elements/lib/mutable_status_container.py +2 -2
- streamlit/elements/lib/options_selector_utils.py +2 -2
- streamlit/elements/lib/pandas_styler_utils.py +17 -9
- streamlit/elements/lib/shortcut_utils.py +152 -0
- streamlit/elements/lib/utils.py +4 -4
- streamlit/elements/map.py +80 -37
- streamlit/elements/markdown.py +50 -3
- streamlit/elements/media.py +5 -7
- streamlit/elements/metric.py +34 -6
- streamlit/elements/pdf.py +2 -4
- streamlit/elements/plotly_chart.py +197 -20
- streamlit/elements/progress.py +2 -4
- streamlit/elements/space.py +113 -0
- streamlit/elements/spinner.py +1 -1
- streamlit/elements/text.py +20 -3
- streamlit/elements/toast.py +2 -0
- streamlit/elements/vega_charts.py +356 -149
- streamlit/elements/widgets/audio_input.py +12 -11
- streamlit/elements/widgets/button.py +280 -43
- streamlit/elements/widgets/button_group.py +60 -9
- streamlit/elements/widgets/camera_input.py +3 -5
- streamlit/elements/widgets/chat.py +307 -43
- streamlit/elements/widgets/color_picker.py +8 -1
- streamlit/elements/widgets/data_editor.py +88 -44
- streamlit/elements/widgets/file_uploader.py +9 -11
- streamlit/elements/widgets/multiselect.py +4 -3
- streamlit/elements/widgets/number_input.py +4 -4
- streamlit/elements/widgets/radio.py +10 -3
- streamlit/elements/widgets/select_slider.py +8 -5
- streamlit/elements/widgets/selectbox.py +6 -3
- streamlit/elements/widgets/slider.py +38 -42
- streamlit/elements/widgets/text_widgets.py +2 -0
- streamlit/elements/widgets/time_widgets.py +587 -21
- streamlit/elements/write.py +27 -6
- streamlit/emojis.py +1 -1
- streamlit/errors.py +137 -0
- streamlit/git_util.py +1 -1
- streamlit/hello/hello.py +8 -0
- streamlit/hello/utils.py +2 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/navigation/page.py +11 -1
- streamlit/net_util.py +2 -2
- streamlit/proto/Alert_pb2.pyi +3 -3
- streamlit/proto/AppPage_pb2.pyi +7 -1
- streamlit/proto/ArrowData_pb2.py +27 -0
- streamlit/proto/ArrowData_pb2.pyi +52 -0
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +7 -1
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +7 -1
- streamlit/proto/Arrow_pb2.py +10 -10
- streamlit/proto/Arrow_pb2.pyi +19 -12
- streamlit/proto/AudioInput_pb2.pyi +7 -1
- streamlit/proto/Audio_pb2.pyi +7 -1
- streamlit/proto/AuthRedirect_pb2.pyi +7 -1
- streamlit/proto/AutoRerun_pb2.pyi +7 -1
- streamlit/proto/BackMsg_pb2.py +4 -2
- streamlit/proto/BackMsg_pb2.pyi +34 -4
- streamlit/proto/Balloons_pb2.pyi +7 -1
- streamlit/proto/BidiComponent_pb2.py +34 -0
- streamlit/proto/BidiComponent_pb2.pyi +159 -0
- streamlit/proto/Block_pb2.py +7 -7
- streamlit/proto/Block_pb2.pyi +39 -36
- streamlit/proto/BokehChart_pb2.pyi +7 -1
- streamlit/proto/ButtonGroup_pb2.pyi +9 -9
- streamlit/proto/Button_pb2.py +2 -2
- streamlit/proto/Button_pb2.pyi +11 -2
- streamlit/proto/CameraInput_pb2.pyi +7 -1
- streamlit/proto/ChatInput_pb2.py +6 -6
- streamlit/proto/ChatInput_pb2.pyi +18 -6
- streamlit/proto/Checkbox_pb2.pyi +3 -3
- streamlit/proto/ClientState_pb2.pyi +10 -4
- streamlit/proto/Code_pb2.pyi +7 -1
- streamlit/proto/ColorPicker_pb2.pyi +7 -1
- streamlit/proto/Common_pb2.py +3 -3
- streamlit/proto/Common_pb2.pyi +35 -23
- streamlit/proto/Components_pb2.pyi +19 -13
- streamlit/proto/DataFrame_pb2.pyi +55 -49
- streamlit/proto/DateInput_pb2.pyi +7 -1
- streamlit/proto/DateTimeInput_pb2.py +28 -0
- streamlit/proto/DateTimeInput_pb2.pyi +92 -0
- streamlit/proto/DeckGlJsonChart_pb2.py +10 -4
- streamlit/proto/DeckGlJsonChart_pb2.pyi +12 -6
- streamlit/proto/Delta_pb2.pyi +7 -1
- streamlit/proto/DocString_pb2.pyi +10 -4
- streamlit/proto/DownloadButton_pb2.py +2 -2
- streamlit/proto/DownloadButton_pb2.pyi +16 -2
- streamlit/proto/Element_pb2.py +7 -3
- streamlit/proto/Element_pb2.pyi +33 -5
- streamlit/proto/Empty_pb2.pyi +7 -1
- streamlit/proto/Exception_pb2.pyi +7 -1
- streamlit/proto/Favicon_pb2.pyi +7 -1
- streamlit/proto/FileUploader_pb2.pyi +7 -1
- streamlit/proto/ForwardMsg_pb2.py +12 -10
- streamlit/proto/ForwardMsg_pb2.pyi +42 -15
- streamlit/proto/GapSize_pb2.pyi +4 -4
- streamlit/proto/GitInfo_pb2.pyi +3 -3
- streamlit/proto/GraphVizChart_pb2.pyi +7 -1
- streamlit/proto/Heading_pb2.pyi +7 -1
- streamlit/proto/HeightConfig_pb2.py +2 -2
- streamlit/proto/HeightConfig_pb2.pyi +13 -4
- streamlit/proto/Html_pb2.py +2 -2
- streamlit/proto/Html_pb2.pyi +11 -2
- streamlit/proto/IFrame_pb2.pyi +7 -1
- streamlit/proto/Image_pb2.pyi +10 -4
- streamlit/proto/Json_pb2.pyi +7 -1
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +3 -3
- streamlit/proto/LinkButton_pb2.py +2 -2
- streamlit/proto/LinkButton_pb2.pyi +15 -2
- streamlit/proto/Logo_pb2.pyi +7 -1
- streamlit/proto/Markdown_pb2.pyi +3 -3
- streamlit/proto/Metric_pb2.pyi +7 -7
- streamlit/proto/MetricsEvent_pb2.pyi +10 -4
- streamlit/proto/MultiSelect_pb2.pyi +7 -1
- streamlit/proto/NamedDataSet_pb2.pyi +7 -1
- streamlit/proto/Navigation_pb2.pyi +3 -3
- streamlit/proto/NewSession_pb2.py +18 -18
- streamlit/proto/NewSession_pb2.pyi +59 -40
- streamlit/proto/NumberInput_pb2.pyi +3 -3
- streamlit/proto/PageConfig_pb2.pyi +7 -7
- streamlit/proto/PageInfo_pb2.pyi +7 -1
- streamlit/proto/PageLink_pb2.py +2 -2
- streamlit/proto/PageLink_pb2.pyi +11 -2
- streamlit/proto/PageNotFound_pb2.pyi +7 -1
- streamlit/proto/PageProfile_pb2.pyi +13 -7
- streamlit/proto/PagesChanged_pb2.pyi +7 -1
- streamlit/proto/ParentMessage_pb2.pyi +7 -1
- streamlit/proto/PlotlyChart_pb2.py +8 -6
- streamlit/proto/PlotlyChart_pb2.pyi +9 -7
- streamlit/proto/Progress_pb2.pyi +7 -1
- streamlit/proto/Radio_pb2.pyi +7 -1
- streamlit/proto/RootContainer_pb2.pyi +1 -1
- streamlit/proto/Selectbox_pb2.pyi +7 -1
- streamlit/proto/SessionEvent_pb2.pyi +7 -1
- streamlit/proto/SessionStatus_pb2.pyi +7 -1
- streamlit/proto/Skeleton_pb2.pyi +3 -3
- streamlit/proto/Slider_pb2.pyi +5 -5
- streamlit/proto/Snow_pb2.pyi +7 -1
- streamlit/proto/Space_pb2.py +27 -0
- streamlit/proto/Space_pb2.pyi +48 -0
- streamlit/proto/Spinner_pb2.pyi +7 -1
- streamlit/proto/TextAlignmentConfig_pb2.py +29 -0
- streamlit/proto/TextAlignmentConfig_pb2.pyi +68 -0
- streamlit/proto/TextArea_pb2.pyi +7 -1
- streamlit/proto/TextInput_pb2.pyi +3 -3
- streamlit/proto/Text_pb2.pyi +7 -1
- streamlit/proto/TimeInput_pb2.pyi +7 -1
- streamlit/proto/Toast_pb2.pyi +7 -1
- streamlit/proto/VegaLiteChart_pb2.pyi +7 -1
- streamlit/proto/Video_pb2.pyi +6 -6
- streamlit/proto/WidgetStates_pb2.py +2 -2
- streamlit/proto/WidgetStates_pb2.pyi +23 -7
- streamlit/proto/WidthConfig_pb2.py +2 -2
- streamlit/proto/WidthConfig_pb2.pyi +13 -4
- streamlit/proto/openmetrics_data_model_pb2.pyi +52 -52
- streamlit/runtime/app_session.py +65 -2
- streamlit/runtime/caching/cache_data_api.py +5 -5
- streamlit/runtime/caching/cache_errors.py +4 -1
- streamlit/runtime/caching/cache_resource_api.py +5 -4
- streamlit/runtime/caching/cache_utils.py +3 -2
- streamlit/runtime/caching/cached_message_replay.py +3 -3
- streamlit/runtime/caching/hashing.py +4 -5
- streamlit/runtime/caching/legacy_cache_api.py +2 -1
- streamlit/runtime/connection_factory.py +1 -3
- streamlit/runtime/download_data_util.py +53 -0
- streamlit/runtime/forward_msg_queue.py +5 -1
- streamlit/runtime/fragment.py +2 -1
- streamlit/runtime/media_file_manager.py +178 -2
- streamlit/runtime/memory_media_file_storage.py +1 -1
- streamlit/runtime/metrics_util.py +91 -3
- streamlit/runtime/runtime.py +14 -0
- streamlit/runtime/scriptrunner/exec_code.py +2 -1
- streamlit/runtime/scriptrunner/script_runner.py +5 -3
- streamlit/runtime/scriptrunner_utils/script_run_context.py +3 -6
- streamlit/runtime/secrets.py +2 -4
- streamlit/runtime/session_manager.py +3 -1
- streamlit/runtime/state/common.py +30 -5
- streamlit/runtime/state/presentation.py +85 -0
- streamlit/runtime/state/query_params.py +80 -29
- streamlit/runtime/state/safe_session_state.py +2 -2
- streamlit/runtime/state/session_state.py +221 -17
- streamlit/runtime/state/widgets.py +19 -3
- streamlit/runtime/websocket_session_manager.py +3 -1
- streamlit/source_util.py +2 -2
- streamlit/static/index.html +2 -2
- streamlit/static/manifest.json +557 -239
- streamlit/static/static/css/{index.CIiu7Ygf.css → index.BpABIXK9.css} +1 -1
- streamlit/static/static/css/index.DgR7E2CV.css +1 -0
- streamlit/static/static/js/{ErrorOutline.esm.DUpR0_Ka.js → ErrorOutline.esm.ZJDbmVTx.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.CN4j9-1w.js → FileDownload.esm.Dx0vI3vH.js} +1 -1
- streamlit/static/static/js/{FileHelper.CaIUKG91.js → FileHelper.B7Ero7qQ.js} +3 -3
- streamlit/static/static/js/{FormClearHelper.DTcdrasw.js → FormClearHelper.CG2XN1_g.js} +1 -1
- streamlit/static/static/js/IFrameUtil.DefezniK.js +1 -0
- streamlit/static/static/js/InputInstructions.Cj5-1zf6.js +1 -0
- streamlit/static/static/js/Particles.BfWfv0Aw.js +1 -0
- streamlit/static/static/js/{ProgressBar.DetlP5aY.js → ProgressBar.CGQ8OgfO.js} +2 -2
- streamlit/static/static/js/StreamlitSyntaxHighlighter.DTKLpwhl.js +20 -0
- streamlit/static/static/js/{Toolbar.C77ar7rq.js → Toolbar.B2qFUmd9.js} +1 -1
- streamlit/static/static/js/_arrayIncludes.B19Iyn2B.js +1 -0
- streamlit/static/static/js/_baseIndexOf.BTknn6Gb.js +1 -0
- streamlit/static/static/js/{base-input.BQft14La.js → base-input.o9tL8MDP.js} +4 -4
- streamlit/static/static/js/{checkbox.yZOfXCeX.js → checkbox.0BeV1IBL.js} +1 -1
- streamlit/static/static/js/{createSuper.Dh9w1cs8.js → createSuper.RBO59fEm.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.CiTkUy0t.js +1 -0
- streamlit/static/static/js/{downloader.MeHtkq8r.js → downloader.DwNZg3Mw.js} +1 -1
- streamlit/static/static/js/embed.XT9xNd3F.js +195 -0
- streamlit/static/static/js/{es6.VpBPGCnM.js → es6.x9KsYQg-.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.yMw_ARIL.js → iframeResizer.contentWindow.ZVXpMPi0.js} +1 -1
- streamlit/static/static/js/index.5VPOamri.js +1 -0
- streamlit/static/static/js/index.8HslT92O.js +14 -0
- streamlit/static/static/js/index.AnXMIBz3.js +7 -0
- streamlit/static/static/js/index.B0yp3bM1.js +6 -0
- streamlit/static/static/js/index.B1fRb5wF.js +1 -0
- streamlit/static/static/js/index.B527JZdO.js +3 -0
- streamlit/static/static/js/index.BHgV-yW4.js +1 -0
- streamlit/static/static/js/index.BQr-XwGV.js +1 -0
- streamlit/static/static/js/index.BTtmaLDB.js +1 -0
- streamlit/static/static/js/index.BWB_91TA.js +1 -0
- streamlit/static/static/js/index.BfEKaEmw.js +1 -0
- streamlit/static/static/js/index.BfXjTO8b.js +1 -0
- streamlit/static/static/js/index.Bjy4NRu9.js +3 -0
- streamlit/static/static/js/index.Bu5JWpT_.js +1 -0
- streamlit/static/static/js/index.BuCx76ZV.js +1 -0
- streamlit/static/static/js/index.BxjzhVUb.js +2 -0
- streamlit/static/static/js/index.By55VdPY.js +1 -0
- streamlit/static/static/js/index.CF5MxTbK.js +1 -0
- streamlit/static/static/js/index.CLmq_z9K.js +1 -0
- streamlit/static/static/js/index.CNH4rdSz.js +1 -0
- streamlit/static/static/js/{index.B0H9IXUJ.js → index.CTgm_-jO.js} +10 -41
- streamlit/static/static/js/index.C_rK-Swb.js +188 -0
- streamlit/static/static/js/index.CjozwSzS.js +1 -0
- streamlit/static/static/js/{index.CH1tqnSs.js → index.CkGVt6-G.js} +1 -1
- streamlit/static/static/js/index.CuvXOyER.js +2 -0
- streamlit/static/static/js/{index.FFOzOWzC.js → index.CyUHWoCC.js} +2 -2
- streamlit/static/static/js/index.CyroQtI4.js +2 -0
- streamlit/static/static/js/index.D6HmkoDm.js +263 -0
- streamlit/static/static/js/index.DAqCNvsO.js +1 -0
- streamlit/static/static/js/index.DB_w_CZQ.js +1 -0
- streamlit/static/static/js/index.DBalctjj.js +2 -0
- streamlit/static/static/js/index.DK0RFJUG.js +11 -0
- streamlit/static/static/js/index.DMxc2XFp.js +151 -0
- streamlit/static/static/js/index.DO5utP74.js +2 -0
- streamlit/static/static/js/index.DS7lf09n.js +1 -0
- streamlit/static/static/js/index.DWexTVLY.js +1 -0
- streamlit/static/static/js/index.DXxnU5ej.js +1 -0
- streamlit/static/static/js/index.DcU3uDvB.js +2 -0
- streamlit/static/static/js/index.DlltaH7J.js +1 -0
- streamlit/static/static/js/index.DpNTZz82.js +27 -0
- streamlit/static/static/js/index.Dr9HIhQw.js +1 -0
- streamlit/static/static/js/index.DsgAU5lc.js +1 -0
- streamlit/static/static/js/{index.64ejlaaT.js → index.KfXqjDYy.js} +1 -1
- streamlit/static/static/js/index.PaidgjCs.js +1 -0
- streamlit/static/static/js/index.RJZuWCGA.js +1 -0
- streamlit/static/static/js/{index.Ctn27_AE.js → index.hbeqcRTn.js} +53 -122
- streamlit/static/static/js/index.q5hIQwAY.js +1 -0
- streamlit/static/static/js/index.rORSX6IW.js +1 -0
- streamlit/static/static/js/index.uSX757_v.js +1 -0
- streamlit/static/static/js/index.x_QRaLMd.js +1 -0
- streamlit/static/static/js/{input.s6pjQ49A.js → input.D5oh9-aB.js} +2 -2
- streamlit/static/static/js/main.q9oGOg0H.js +13 -0
- streamlit/static/static/js/{memory.Cuvsdfrl.js → memory.5kCSFUJS.js} +1 -1
- streamlit/static/static/js/moment.C3j7ZXd7.js +4 -0
- streamlit/static/static/js/number-overlay-editor.Cn_LsK8N.js +9 -0
- streamlit/static/static/js/pandasStylerUtils.BqhXt51_.js +1 -0
- streamlit/static/static/js/{possibleConstructorReturn.CqidKeei.js → possibleConstructorReturn.DD9NK1Z8.js} +1 -1
- streamlit/static/static/js/record.B-tDciZb.js +1 -0
- streamlit/static/static/js/{sandbox.CCQREcJx.js → sandbox.DACSyz29.js} +1 -1
- streamlit/static/static/js/styled-components.C3R090At.js +1 -0
- streamlit/static/static/js/threshold.Q1mXg5rX.js +1 -0
- streamlit/static/static/js/throttle.B0GR3Iyz.js +1 -0
- streamlit/static/static/js/{timepicker.mkJF97Bb.js → timepicker.BdhzPxrv.js} +1 -1
- streamlit/static/static/js/timer.C2hYhUse.js +1 -0
- streamlit/static/static/js/{toConsumableArray.De7I7KVR.js → toConsumableArray.Db2pdqM2.js} +1 -1
- streamlit/static/static/js/uniqueId.CtqIr-Yh.js +1 -0
- streamlit/static/static/js/urls.BwSlolu9.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.CedkNjUW.js → useBasicWidgetState.Bfp6TnSw.js} +1 -1
- streamlit/static/static/js/useIntlLocale.hRV75Xgj.js +12 -0
- streamlit/static/static/js/{useTextInputAutoExpand.Ca7w8dVs.js → useTextInputAutoExpand.QepX7n8Y.js} +1 -1
- streamlit/static/static/js/useUpdateUiValue.DHx8TzX6.js +1 -0
- streamlit/static/static/js/useWaveformController.WxVzpzEX.js +1 -0
- streamlit/static/static/js/value.B4vHRSi7.js +1 -0
- streamlit/static/static/js/wavesurfer.esm.vI8Eid4k.js +73 -0
- streamlit/static/static/js/withCalculatedWidth.DcKeRSWJ.js +1 -0
- streamlit/static/static/js/withFullScreenWrapper.CrHddARq.js +1 -0
- streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
- streamlit/string_util.py +9 -4
- streamlit/testing/v1/app_test.py +17 -2
- streamlit/testing/v1/element_tree.py +85 -9
- streamlit/testing/v1/util.py +2 -2
- streamlit/type_util.py +3 -4
- streamlit/url_util.py +1 -3
- streamlit/user_info.py +1 -2
- streamlit/util.py +3 -1
- streamlit/watcher/event_based_path_watcher.py +23 -12
- streamlit/watcher/local_sources_watcher.py +11 -1
- streamlit/watcher/path_watcher.py +9 -6
- streamlit/watcher/polling_path_watcher.py +4 -1
- streamlit/watcher/util.py +2 -2
- streamlit/web/bootstrap.py +24 -0
- streamlit/web/cli.py +51 -22
- streamlit/web/server/bidi_component_request_handler.py +193 -0
- streamlit/web/server/component_file_utils.py +97 -0
- streamlit/web/server/component_request_handler.py +8 -21
- streamlit/web/server/oauth_authlib_routes.py +5 -2
- streamlit/web/server/oidc_mixin.py +3 -1
- streamlit/web/server/routes.py +2 -2
- streamlit/web/server/server.py +9 -0
- streamlit/web/server/server_util.py +3 -1
- streamlit/web/server/upload_file_request_handler.py +19 -1
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/METADATA +10 -7
- streamlit-1.52.0.dist-info/RECORD +620 -0
- streamlit/static/static/css/index.CHEnSPGk.css +0 -1
- streamlit/static/static/js/Hooks.BRba_Own.js +0 -1
- streamlit/static/static/js/InputInstructions.xnSDuYeQ.js +0 -1
- streamlit/static/static/js/Particles.CElH0XX2.js +0 -1
- streamlit/static/static/js/data-grid-overlay-editor.DcuHuCyW.js +0 -1
- streamlit/static/static/js/index.6xX1278W.js +0 -975
- streamlit/static/static/js/index.B-hiXRzw.js +0 -1
- streamlit/static/static/js/index.B4cAbHP6.js +0 -1
- streamlit/static/static/js/index.B4dUQfni.js +0 -1
- streamlit/static/static/js/index.BPQo7BKk.js +0 -1
- streamlit/static/static/js/index.Baqa90pe.js +0 -2
- streamlit/static/static/js/index.Bj9JgOEC.js +0 -1
- streamlit/static/static/js/index.BjCwMzj4.js +0 -3
- streamlit/static/static/js/index.Bm3VbPB5.js +0 -1
- streamlit/static/static/js/index.Bxz2yX3P.js +0 -1
- streamlit/static/static/js/index.BycLveZ4.js +0 -1
- streamlit/static/static/js/index.C9BdUqTi.js +0 -1
- streamlit/static/static/js/index.CFMf5_ez.js +0 -197
- streamlit/static/static/js/index.CGYqqs6j.js +0 -1
- streamlit/static/static/js/index.CMItVsFA.js +0 -1
- streamlit/static/static/js/index.CTBk8Vk2.js +0 -1
- streamlit/static/static/js/index.CiAQIz1H.js +0 -7
- streamlit/static/static/js/index.Cj7DSzVR.js +0 -73
- streamlit/static/static/js/index.Ck8rQ9OL.js +0 -1
- streamlit/static/static/js/index.ClELlchS.js +0 -1617
- streamlit/static/static/js/index.Cnpi3o3E.js +0 -1
- streamlit/static/static/js/index.D2QEXQq_.js +0 -1
- streamlit/static/static/js/index.DH71Ezyj.js +0 -1
- streamlit/static/static/js/index.DHh-U0dK.js +0 -3
- streamlit/static/static/js/index.DK7hD7_w.js +0 -1
- streamlit/static/static/js/index.DKv_lNO7.js +0 -2
- streamlit/static/static/js/index.DNLrMXgm.js +0 -12
- streamlit/static/static/js/index.DW0Grddz.js +0 -1
- streamlit/static/static/js/index.Dbe-Q3C-.js +0 -2
- streamlit/static/static/js/index.DcPNYEUo.js +0 -1
- streamlit/static/static/js/index.DuxqVQpd.js +0 -1
- streamlit/static/static/js/index.GRUzrudl.js +0 -1
- streamlit/static/static/js/number-overlay-editor.DdgVR5m3.js +0 -9
- streamlit/static/static/js/uniqueId.RI1LJdtz.js +0 -1
- streamlit/static/static/js/useUpdateUiValue.DeXelfRH.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.C3561XxJ.js +0 -1
- streamlit/static/static/media/MaterialSymbols-Rounded.DeCZgS-4.woff2 +0 -0
- streamlit-1.50.0.dist-info/RECORD +0 -557
- {streamlit-1.50.0.data → streamlit-1.52.0.data}/scripts/streamlit.cmd +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/WHEEL +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/entry_points.txt +0 -0
- {streamlit-1.50.0.dist-info → streamlit-1.52.0.dist-info}/top_level.txt +0 -0
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.PageProfile_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -133,7 +139,7 @@ class MetricsEvent(google.protobuf.message.Message):
|
|
|
133
139
|
@property
|
|
134
140
|
def attributions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
135
141
|
@property
|
|
136
|
-
def browser_info(self) ->
|
|
142
|
+
def browser_info(self) -> Global___BrowserInfo: ...
|
|
137
143
|
def __init__(
|
|
138
144
|
self,
|
|
139
145
|
*,
|
|
@@ -180,12 +186,12 @@ class MetricsEvent(google.protobuf.message.Message):
|
|
|
180
186
|
page_script_hash: builtins.str = ...,
|
|
181
187
|
active_theme: builtins.str = ...,
|
|
182
188
|
total_load_time: builtins.int = ...,
|
|
183
|
-
browser_info:
|
|
189
|
+
browser_info: Global___BrowserInfo | None = ...,
|
|
184
190
|
) -> None: ...
|
|
185
191
|
def HasField(self, field_name: typing.Literal["browser_info", b"browser_info"]) -> builtins.bool: ...
|
|
186
192
|
def ClearField(self, field_name: typing.Literal["active_theme", b"active_theme", "anonymous_id", b"anonymous_id", "app_id", b"app_id", "attributions", b"attributions", "branch", b"branch", "browser_info", b"browser_info", "commands", b"commands", "config", b"config", "context_locale", b"context_locale", "context_page_path", b"context_page_path", "context_page_referrer", b"context_page_referrer", "context_page_search", b"context_page_search", "context_page_title", b"context_page_title", "context_page_url", b"context_page_url", "context_user_agent", b"context_user_agent", "creator_id", b"creator_id", "dev", b"dev", "event", b"event", "exec_time", b"exec_time", "has_display", b"has_display", "headless", b"headless", "hosted_at", b"hosted_at", "is_fragment_run", b"is_fragment_run", "is_hello", b"is_hello", "is_webdriver", b"is_webdriver", "label", b"label", "machine_id_v3", b"machine_id_v3", "machine_id_v4", b"machine_id_v4", "main_module", b"main_module", "numPages", b"numPages", "os", b"os", "owner", b"owner", "page_script_hash", b"page_script_hash", "prep_time", b"prep_time", "python_version", b"python_version", "repo", b"repo", "report_hash", b"report_hash", "server_os", b"server_os", "session_id", b"session_id", "source", b"source", "streamlit_version", b"streamlit_version", "timezone", b"timezone", "total_load_time", b"total_load_time", "uncaught_exception", b"uncaught_exception"]) -> None: ...
|
|
187
193
|
|
|
188
|
-
|
|
194
|
+
Global___MetricsEvent: typing_extensions.TypeAlias = MetricsEvent
|
|
189
195
|
|
|
190
196
|
@typing.final
|
|
191
197
|
class BrowserInfo(google.protobuf.message.Message):
|
|
@@ -209,4 +215,4 @@ class BrowserInfo(google.protobuf.message.Message):
|
|
|
209
215
|
) -> None: ...
|
|
210
216
|
def ClearField(self, field_name: typing.Literal["browser_name", b"browser_name", "browser_version", b"browser_version", "device_type", b"device_type", "os", b"os"]) -> None: ...
|
|
211
217
|
|
|
212
|
-
|
|
218
|
+
Global___BrowserInfo: typing_extensions.TypeAlias = BrowserInfo
|
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -90,4 +96,4 @@ class MultiSelect(google.protobuf.message.Message):
|
|
|
90
96
|
def ClearField(self, field_name: typing.Literal["_accept_new_options", b"_accept_new_options", "accept_new_options", b"accept_new_options", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_selections", b"max_selections", "options", b"options", "placeholder", b"placeholder", "raw_values", b"raw_values", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
|
91
97
|
def WhichOneof(self, oneof_group: typing.Literal["_accept_new_options", b"_accept_new_options"]) -> typing.Literal["accept_new_options"] | None: ...
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
Global___MultiSelect: typing_extensions.TypeAlias = MultiSelect
|
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.DataFrame_pb2
|
|
24
|
+
import sys
|
|
24
25
|
import typing
|
|
25
26
|
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
26
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
27
33
|
|
|
28
34
|
@typing.final
|
|
@@ -56,4 +62,4 @@ class NamedDataSet(google.protobuf.message.Message):
|
|
|
56
62
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
57
63
|
def ClearField(self, field_name: typing.Literal["data", b"data", "has_name", b"has_name", "name", b"name"]) -> None: ...
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
Global___NamedDataSet: typing_extensions.TypeAlias = NamedDataSet
|
|
@@ -66,7 +66,7 @@ class Navigation(google.protobuf.message.Message):
|
|
|
66
66
|
POSITION_FIELD_NUMBER: builtins.int
|
|
67
67
|
PAGE_SCRIPT_HASH_FIELD_NUMBER: builtins.int
|
|
68
68
|
EXPANDED_FIELD_NUMBER: builtins.int
|
|
69
|
-
position:
|
|
69
|
+
position: Global___Navigation.Position.ValueType
|
|
70
70
|
page_script_hash: builtins.str
|
|
71
71
|
"""The script hash for the page identified by st.navigation"""
|
|
72
72
|
expanded: builtins.bool
|
|
@@ -79,10 +79,10 @@ class Navigation(google.protobuf.message.Message):
|
|
|
79
79
|
*,
|
|
80
80
|
sections: collections.abc.Iterable[builtins.str] | None = ...,
|
|
81
81
|
app_pages: collections.abc.Iterable[streamlit.proto.AppPage_pb2.AppPage] | None = ...,
|
|
82
|
-
position:
|
|
82
|
+
position: Global___Navigation.Position.ValueType = ...,
|
|
83
83
|
page_script_hash: builtins.str = ...,
|
|
84
84
|
expanded: builtins.bool = ...,
|
|
85
85
|
) -> None: ...
|
|
86
86
|
def ClearField(self, field_name: typing.Literal["app_pages", b"app_pages", "expanded", b"expanded", "page_script_hash", b"page_script_hash", "position", b"position", "sections", b"sections"]) -> None: ...
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
Global___Navigation: typing_extensions.TypeAlias = Navigation
|
|
@@ -16,7 +16,7 @@ from streamlit.proto import AppPage_pb2 as streamlit_dot_proto_dot_AppPage__pb2
|
|
|
16
16
|
from streamlit.proto import SessionStatus_pb2 as streamlit_dot_proto_dot_SessionStatus__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/NewSession.proto\x1a\x1dstreamlit/proto/AppPage.proto\x1a#streamlit/proto/SessionStatus.proto\"\xa5\x02\n\nNewSession\x12\x1f\n\ninitialize\x18\x01 \x01(\x0b\x32\x0b.Initialize\x12\x15\n\rscript_run_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x18\n\x10main_script_path\x18\x04 \x01(\t\x12\x17\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x07.Config\x12(\n\x0c\x63ustom_theme\x18\x07 \x01(\x0b\x32\x12.CustomThemeConfig\x12\x1b\n\tapp_pages\x18\x08 \x03(\x0b\x32\x08.AppPage\x12\x18\n\x10page_script_hash\x18\t \x01(\t\x12\x1d\n\x15\x66ragment_ids_this_run\x18\n \x03(\t\x12\x18\n\x10main_script_hash\x18\x0b \x01(\tJ\x04\x08\x05\x10\x06\"\xba\x01\n\nInitialize\x12\x1c\n\tuser_info\x18\x01 \x01(\x0b\x32\t.UserInfo\x12*\n\x10\x65nvironment_info\x18\x03 \x01(\x0b\x32\x10.EnvironmentInfo\x12&\n\x0esession_status\x18\x04 \x01(\x0b\x32\x0e.SessionStatus\x12\x14\n\x0c\x63ommand_line\x18\x05 \x01(\t\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08\"\x97\x02\n\x06\x43onfig\x12\x1a\n\x12gather_usage_stats\x18\x02 \x01(\x08\x12\x1e\n\x16max_cached_message_age\x18\x03 \x01(\x05\x12\x14\n\x0cmapbox_token\x18\x04 \x01(\t\x12\x19\n\x11\x61llow_run_on_save\x18\x05 \x01(\x08\x12\x14\n\x0chide_top_bar\x18\x06 \x01(\x08\x12\x18\n\x10hide_sidebar_nav\x18\x07 \x01(\x08\x12)\n\x0ctoolbar_mode\x18\x08 \x01(\x0e\x32\x13.Config.ToolbarMode\"?\n\x0bToolbarMode\x12\x08\n\x04\x41UTO\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\n\n\x06VIEWER\x10\x02\x12\x0b\n\x07MINIMAL\x10\x03J\x04\x08\x01\x10\x02\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/NewSession.proto\x1a\x1dstreamlit/proto/AppPage.proto\x1a#streamlit/proto/SessionStatus.proto\"\xa5\x02\n\nNewSession\x12\x1f\n\ninitialize\x18\x01 \x01(\x0b\x32\x0b.Initialize\x12\x15\n\rscript_run_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x18\n\x10main_script_path\x18\x04 \x01(\t\x12\x17\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\x07.Config\x12(\n\x0c\x63ustom_theme\x18\x07 \x01(\x0b\x32\x12.CustomThemeConfig\x12\x1b\n\tapp_pages\x18\x08 \x03(\x0b\x32\x08.AppPage\x12\x18\n\x10page_script_hash\x18\t \x01(\t\x12\x1d\n\x15\x66ragment_ids_this_run\x18\n \x03(\t\x12\x18\n\x10main_script_hash\x18\x0b \x01(\tJ\x04\x08\x05\x10\x06\"\xba\x01\n\nInitialize\x12\x1c\n\tuser_info\x18\x01 \x01(\x0b\x32\t.UserInfo\x12*\n\x10\x65nvironment_info\x18\x03 \x01(\x0b\x32\x10.EnvironmentInfo\x12&\n\x0esession_status\x18\x04 \x01(\x0b\x32\x0e.SessionStatus\x12\x14\n\x0c\x63ommand_line\x18\x05 \x01(\t\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12\x10\n\x08is_hello\x18\x07 \x01(\x08\"\x97\x02\n\x06\x43onfig\x12\x1a\n\x12gather_usage_stats\x18\x02 \x01(\x08\x12\x1e\n\x16max_cached_message_age\x18\x03 \x01(\x05\x12\x14\n\x0cmapbox_token\x18\x04 \x01(\t\x12\x19\n\x11\x61llow_run_on_save\x18\x05 \x01(\x08\x12\x14\n\x0chide_top_bar\x18\x06 \x01(\x08\x12\x18\n\x10hide_sidebar_nav\x18\x07 \x01(\x08\x12)\n\x0ctoolbar_mode\x18\x08 \x01(\x0e\x32\x13.Config.ToolbarMode\"?\n\x0bToolbarMode\x12\x08\n\x04\x41UTO\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\n\n\x06VIEWER\x10\x02\x12\x0b\n\x07MINIMAL\x10\x03J\x04\x08\x01\x10\x02\"\xc2\x15\n\x11\x43ustomThemeConfig\x12\x15\n\rprimary_color\x18\x01 \x01(\t\x12\"\n\x1asecondary_background_color\x18\x02 \x01(\t\x12\x18\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\t\x12\x12\n\ntext_color\x18\x04 \x01(\t\x12+\n\x04\x66ont\x18\x05 \x01(\x0e\x32\x1d.CustomThemeConfig.FontFamily\x12*\n\x04\x62\x61se\x18\x06 \x01(\x0e\x32\x1c.CustomThemeConfig.BaseTheme\x12\x1f\n\x17widget_background_color\x18\x07 \x01(\t\x12\x1b\n\x13widget_border_color\x18\x08 \x01(\t\x12\x15\n\x05radii\x18\t \x01(\x0b\x32\x06.Radii\x12\x14\n\x0cheading_font\x18\x0c \x01(\t\x12\x11\n\tbody_font\x18\r \x01(\t\x12\x11\n\tcode_font\x18\x0e \x01(\t\x12\x1d\n\nfont_faces\x18\x0f \x03(\x0b\x32\t.FontFace\x12!\n\x0c\x66ont_sources\x18% \x03(\x0b\x32\x0b.FontSource\x12\x1e\n\nfont_sizes\x18\x10 \x01(\x0b\x32\n.FontSizes\x12!\n\x19skeleton_background_color\x18\x11 \x01(\t\x12\x18\n\x0b\x62\x61se_radius\x18\x12 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rbutton_radius\x18\x1a \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x62order_color\x18\x13 \x01(\tH\x02\x88\x01\x01\x12#\n\x16\x64\x61taframe_border_color\x18\x1b \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12show_widget_border\x18\x14 \x01(\x08H\x04\x88\x01\x01\x12\x17\n\nlink_color\x18\x15 \x01(\tH\x05\x88\x01\x01\x12\x1b\n\x0elink_underline\x18\x1d \x01(\x08H\x06\x88\x01\x01\x12\x1b\n\x0e\x62\x61se_font_size\x18\x16 \x01(\x05H\x07\x88\x01\x01\x12\x1d\n\x10\x62\x61se_font_weight\x18\x1e \x01(\x05H\x08\x88\x01\x01\x12\x1d\n\x10\x63ode_font_weight\x18 \x01(\x05H\t\x88\x01\x01\x12\x1b\n\x0e\x63ode_font_size\x18\x1c \x01(\tH\n\x88\x01\x01\x12\x1a\n\x12heading_font_sizes\x18# \x03(\t\x12\x1c\n\x14heading_font_weights\x18\" \x03(\x05\x12 \n\x13show_sidebar_border\x18\x17 \x01(\x08H\x0b\x88\x01\x01\x12\x1c\n\x0f\x63ode_text_color\x18; \x01(\tH\x0c\x88\x01\x01\x12\"\n\x15\x63ode_background_color\x18\x19 \x01(\tH\r\x88\x01\x01\x12.\n!dataframe_header_background_color\x18\x1f \x01(\tH\x0e\x88\x01\x01\x12 \n\x18\x63hart_categorical_colors\x18! \x03(\t\x12\x1f\n\x17\x63hart_sequential_colors\x18$ \x03(\t\x12\x16\n\tred_color\x18& \x01(\tH\x0f\x88\x01\x01\x12\x19\n\x0corange_color\x18\' \x01(\tH\x10\x88\x01\x01\x12\x19\n\x0cyellow_color\x18( \x01(\tH\x11\x88\x01\x01\x12\x17\n\nblue_color\x18) \x01(\tH\x12\x88\x01\x01\x12\x18\n\x0bgreen_color\x18* \x01(\tH\x13\x88\x01\x01\x12\x19\n\x0cviolet_color\x18+ \x01(\tH\x14\x88\x01\x01\x12\x17\n\ngray_color\x18, \x01(\tH\x15\x88\x01\x01\x12!\n\x14red_background_color\x18- \x01(\tH\x16\x88\x01\x01\x12$\n\x17orange_background_color\x18. \x01(\tH\x17\x88\x01\x01\x12$\n\x17yellow_background_color\x18/ \x01(\tH\x18\x88\x01\x01\x12\"\n\x15\x62lue_background_color\x18\x30 \x01(\tH\x19\x88\x01\x01\x12#\n\x16green_background_color\x18\x31 \x01(\tH\x1a\x88\x01\x01\x12$\n\x17violet_background_color\x18\x32 \x01(\tH\x1b\x88\x01\x01\x12\"\n\x15gray_background_color\x18\x33 \x01(\tH\x1c\x88\x01\x01\x12\x1b\n\x0ered_text_color\x18\x34 \x01(\tH\x1d\x88\x01\x01\x12\x1e\n\x11orange_text_color\x18\x35 \x01(\tH\x1e\x88\x01\x01\x12\x1e\n\x11yellow_text_color\x18\x36 \x01(\tH\x1f\x88\x01\x01\x12\x1c\n\x0f\x62lue_text_color\x18\x37 \x01(\tH \x88\x01\x01\x12\x1d\n\x10green_text_color\x18\x38 \x01(\tH!\x88\x01\x01\x12\x1e\n\x11violet_text_color\x18\x39 \x01(\tH\"\x88\x01\x01\x12\x1c\n\x0fgray_text_color\x18: \x01(\tH#\x88\x01\x01\x12(\n\x07sidebar\x18\x18 \x01(\x0b\x32\x12.CustomThemeConfigH$\x88\x01\x01\x12&\n\x05light\x18< \x01(\x0b\x32\x12.CustomThemeConfigH%\x88\x01\x01\x12%\n\x04\x64\x61rk\x18= \x01(\x0b\x32\x12.CustomThemeConfigH&\x88\x01\x01\" \n\tBaseTheme\x12\t\n\x05LIGHT\x10\x00\x12\x08\n\x04\x44\x41RK\x10\x01\"6\n\nFontFamily\x12\x0e\n\nSANS_SERIF\x10\x00\x12\t\n\x05SERIF\x10\x01\x12\r\n\tMONOSPACE\x10\x02\x42\x0e\n\x0c_base_radiusB\x10\n\x0e_button_radiusB\x0f\n\r_border_colorB\x19\n\x17_dataframe_border_colorB\x15\n\x13_show_widget_borderB\r\n\x0b_link_colorB\x11\n\x0f_link_underlineB\x11\n\x0f_base_font_sizeB\x13\n\x11_base_font_weightB\x13\n\x11_code_font_weightB\x11\n\x0f_code_font_sizeB\x16\n\x14_show_sidebar_borderB\x12\n\x10_code_text_colorB\x18\n\x16_code_background_colorB$\n\"_dataframe_header_background_colorB\x0c\n\n_red_colorB\x0f\n\r_orange_colorB\x0f\n\r_yellow_colorB\r\n\x0b_blue_colorB\x0e\n\x0c_green_colorB\x0f\n\r_violet_colorB\r\n\x0b_gray_colorB\x17\n\x15_red_background_colorB\x1a\n\x18_orange_background_colorB\x1a\n\x18_yellow_background_colorB\x18\n\x16_blue_background_colorB\x19\n\x17_green_background_colorB\x1a\n\x18_violet_background_colorB\x18\n\x16_gray_background_colorB\x11\n\x0f_red_text_colorB\x14\n\x12_orange_text_colorB\x14\n\x12_yellow_text_colorB\x12\n\x10_blue_text_colorB\x13\n\x11_green_text_colorB\x14\n\x12_violet_text_colorB\x12\n\x10_gray_text_colorB\n\n\x08_sidebarB\x08\n\x06_lightB\x07\n\x05_dark\"w\n\x08\x46ontFace\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x02 \x01(\t\x12\x12\n\x06weight\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x14\n\x0cweight_range\x18\x05 \x01(\t\x12\r\n\x05style\x18\x04 \x01(\t\x12\x15\n\runicode_range\x18\x06 \x01(\t\"5\n\nFontSource\x12\x13\n\x0b\x63onfig_name\x18\x01 \x01(\t\x12\x12\n\nsource_url\x18\x02 \x01(\t\"<\n\x05Radii\x12\x1a\n\x12\x62\x61se_widget_radius\x18\x01 \x01(\x05\x12\x17\n\x0f\x63heckbox_radius\x18\x02 \x01(\x05\"T\n\tFontSizes\x12\x16\n\x0etiny_font_size\x18\x01 \x01(\x05\x12\x17\n\x0fsmall_font_size\x18\x02 \x01(\x05\x12\x16\n\x0e\x62\x61se_font_size\x18\x03 \x01(\x05\"a\n\x08UserInfo\x12\x17\n\x0finstallation_id\x18\x01 \x01(\t\x12\x1a\n\x12installation_id_v3\x18\x05 \x01(\t\x12\x1a\n\x12installation_id_v4\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"l\n\x0f\x45nvironmentInfo\x12\x19\n\x11streamlit_version\x18\x01 \x01(\t\x12\x16\n\x0epython_version\x18\x02 \x01(\t\x12\x11\n\tserver_os\x18\x03 \x01(\t\x12\x13\n\x0bhas_display\x18\x04 \x01(\x08\x42/\n\x1c\x63om.snowflake.apps.streamlitB\x0fNewSessionProtob\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,21 +35,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
35
35
|
_globals['_CONFIG_TOOLBARMODE']._serialized_start=800
|
|
36
36
|
_globals['_CONFIG_TOOLBARMODE']._serialized_end=863
|
|
37
37
|
_globals['_CUSTOMTHEMECONFIG']._serialized_start=872
|
|
38
|
-
_globals['_CUSTOMTHEMECONFIG']._serialized_end=
|
|
39
|
-
_globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=
|
|
40
|
-
_globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=
|
|
41
|
-
_globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=
|
|
42
|
-
_globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=
|
|
43
|
-
_globals['_FONTFACE']._serialized_start=
|
|
44
|
-
_globals['_FONTFACE']._serialized_end=
|
|
45
|
-
_globals['_FONTSOURCE']._serialized_start=
|
|
46
|
-
_globals['_FONTSOURCE']._serialized_end=
|
|
47
|
-
_globals['_RADII']._serialized_start=
|
|
48
|
-
_globals['_RADII']._serialized_end=
|
|
49
|
-
_globals['_FONTSIZES']._serialized_start=
|
|
50
|
-
_globals['_FONTSIZES']._serialized_end=
|
|
51
|
-
_globals['_USERINFO']._serialized_start=
|
|
52
|
-
_globals['_USERINFO']._serialized_end=
|
|
53
|
-
_globals['_ENVIRONMENTINFO']._serialized_start=
|
|
54
|
-
_globals['_ENVIRONMENTINFO']._serialized_end=
|
|
38
|
+
_globals['_CUSTOMTHEMECONFIG']._serialized_end=3626
|
|
39
|
+
_globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_start=2739
|
|
40
|
+
_globals['_CUSTOMTHEMECONFIG_BASETHEME']._serialized_end=2771
|
|
41
|
+
_globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_start=2773
|
|
42
|
+
_globals['_CUSTOMTHEMECONFIG_FONTFAMILY']._serialized_end=2827
|
|
43
|
+
_globals['_FONTFACE']._serialized_start=3628
|
|
44
|
+
_globals['_FONTFACE']._serialized_end=3747
|
|
45
|
+
_globals['_FONTSOURCE']._serialized_start=3749
|
|
46
|
+
_globals['_FONTSOURCE']._serialized_end=3802
|
|
47
|
+
_globals['_RADII']._serialized_start=3804
|
|
48
|
+
_globals['_RADII']._serialized_end=3864
|
|
49
|
+
_globals['_FONTSIZES']._serialized_start=3866
|
|
50
|
+
_globals['_FONTSIZES']._serialized_end=3950
|
|
51
|
+
_globals['_USERINFO']._serialized_start=3952
|
|
52
|
+
_globals['_USERINFO']._serialized_end=4049
|
|
53
|
+
_globals['_ENVIRONMENTINFO']._serialized_start=4051
|
|
54
|
+
_globals['_ENVIRONMENTINFO']._serialized_end=4159
|
|
55
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -69,7 +69,7 @@ class NewSession(google.protobuf.message.Message):
|
|
|
69
69
|
main_script_hash: builtins.str
|
|
70
70
|
"""Hash of the main script running (ie streamlit run main_script.py)"""
|
|
71
71
|
@property
|
|
72
|
-
def initialize(self) ->
|
|
72
|
+
def initialize(self) -> Global___Initialize:
|
|
73
73
|
"""Initialization data. This data does *not* change from rerun to rerun,
|
|
74
74
|
but we send it every time so that we don't have to track whether the
|
|
75
75
|
client has already received it. The client is responsible for
|
|
@@ -77,13 +77,13 @@ class NewSession(google.protobuf.message.Message):
|
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
79
|
@property
|
|
80
|
-
def config(self) ->
|
|
80
|
+
def config(self) -> Global___Config:
|
|
81
81
|
"""Config options that are (mostly) defined in the .streamlit/config.toml
|
|
82
82
|
file.
|
|
83
83
|
"""
|
|
84
84
|
|
|
85
85
|
@property
|
|
86
|
-
def custom_theme(self) ->
|
|
86
|
+
def custom_theme(self) -> Global___CustomThemeConfig:
|
|
87
87
|
"""Theme configuration options defined in the .streamlit/config.toml file.
|
|
88
88
|
See the "theme" config section.
|
|
89
89
|
"""
|
|
@@ -101,12 +101,12 @@ class NewSession(google.protobuf.message.Message):
|
|
|
101
101
|
def __init__(
|
|
102
102
|
self,
|
|
103
103
|
*,
|
|
104
|
-
initialize:
|
|
104
|
+
initialize: Global___Initialize | None = ...,
|
|
105
105
|
script_run_id: builtins.str = ...,
|
|
106
106
|
name: builtins.str = ...,
|
|
107
107
|
main_script_path: builtins.str = ...,
|
|
108
|
-
config:
|
|
109
|
-
custom_theme:
|
|
108
|
+
config: Global___Config | None = ...,
|
|
109
|
+
custom_theme: Global___CustomThemeConfig | None = ...,
|
|
110
110
|
app_pages: collections.abc.Iterable[streamlit.proto.AppPage_pb2.AppPage] | None = ...,
|
|
111
111
|
page_script_hash: builtins.str = ...,
|
|
112
112
|
fragment_ids_this_run: collections.abc.Iterable[builtins.str] | None = ...,
|
|
@@ -115,7 +115,7 @@ class NewSession(google.protobuf.message.Message):
|
|
|
115
115
|
def HasField(self, field_name: typing.Literal["config", b"config", "custom_theme", b"custom_theme", "initialize", b"initialize"]) -> builtins.bool: ...
|
|
116
116
|
def ClearField(self, field_name: typing.Literal["app_pages", b"app_pages", "config", b"config", "custom_theme", b"custom_theme", "fragment_ids_this_run", b"fragment_ids_this_run", "initialize", b"initialize", "main_script_hash", b"main_script_hash", "main_script_path", b"main_script_path", "name", b"name", "page_script_hash", b"page_script_hash", "script_run_id", b"script_run_id"]) -> None: ...
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
Global___NewSession: typing_extensions.TypeAlias = NewSession
|
|
119
119
|
|
|
120
120
|
@typing.final
|
|
121
121
|
class Initialize(google.protobuf.message.Message):
|
|
@@ -144,9 +144,9 @@ class Initialize(google.protobuf.message.Message):
|
|
|
144
144
|
is_hello: builtins.bool
|
|
145
145
|
"""True if the command used to start this app was `streamlit hello`."""
|
|
146
146
|
@property
|
|
147
|
-
def user_info(self) ->
|
|
147
|
+
def user_info(self) -> Global___UserInfo: ...
|
|
148
148
|
@property
|
|
149
|
-
def environment_info(self) ->
|
|
149
|
+
def environment_info(self) -> Global___EnvironmentInfo: ...
|
|
150
150
|
@property
|
|
151
151
|
def session_status(self) -> streamlit.proto.SessionStatus_pb2.SessionStatus:
|
|
152
152
|
"""The session status at the time the connection was established"""
|
|
@@ -154,8 +154,8 @@ class Initialize(google.protobuf.message.Message):
|
|
|
154
154
|
def __init__(
|
|
155
155
|
self,
|
|
156
156
|
*,
|
|
157
|
-
user_info:
|
|
158
|
-
environment_info:
|
|
157
|
+
user_info: Global___UserInfo | None = ...,
|
|
158
|
+
environment_info: Global___EnvironmentInfo | None = ...,
|
|
159
159
|
session_status: streamlit.proto.SessionStatus_pb2.SessionStatus | None = ...,
|
|
160
160
|
command_line: builtins.str = ...,
|
|
161
161
|
session_id: builtins.str = ...,
|
|
@@ -164,7 +164,7 @@ class Initialize(google.protobuf.message.Message):
|
|
|
164
164
|
def HasField(self, field_name: typing.Literal["environment_info", b"environment_info", "session_status", b"session_status", "user_info", b"user_info"]) -> builtins.bool: ...
|
|
165
165
|
def ClearField(self, field_name: typing.Literal["command_line", b"command_line", "environment_info", b"environment_info", "is_hello", b"is_hello", "session_id", b"session_id", "session_status", b"session_status", "user_info", b"user_info"]) -> None: ...
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
Global___Initialize: typing_extensions.TypeAlias = Initialize
|
|
168
168
|
|
|
169
169
|
@typing.final
|
|
170
170
|
class Config(google.protobuf.message.Message):
|
|
@@ -212,7 +212,7 @@ class Config(google.protobuf.message.Message):
|
|
|
212
212
|
"""See config option "ui.hideTopBar"."""
|
|
213
213
|
hide_sidebar_nav: builtins.bool
|
|
214
214
|
"""See config option "client.showSidebarNavigation"."""
|
|
215
|
-
toolbar_mode:
|
|
215
|
+
toolbar_mode: Global___Config.ToolbarMode.ValueType
|
|
216
216
|
def __init__(
|
|
217
217
|
self,
|
|
218
218
|
*,
|
|
@@ -222,11 +222,11 @@ class Config(google.protobuf.message.Message):
|
|
|
222
222
|
allow_run_on_save: builtins.bool = ...,
|
|
223
223
|
hide_top_bar: builtins.bool = ...,
|
|
224
224
|
hide_sidebar_nav: builtins.bool = ...,
|
|
225
|
-
toolbar_mode:
|
|
225
|
+
toolbar_mode: Global___Config.ToolbarMode.ValueType = ...,
|
|
226
226
|
) -> None: ...
|
|
227
227
|
def ClearField(self, field_name: typing.Literal["allow_run_on_save", b"allow_run_on_save", "gather_usage_stats", b"gather_usage_stats", "hide_sidebar_nav", b"hide_sidebar_nav", "hide_top_bar", b"hide_top_bar", "mapbox_token", b"mapbox_token", "max_cached_message_age", b"max_cached_message_age", "toolbar_mode", b"toolbar_mode"]) -> None: ...
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
Global___Config: typing_extensions.TypeAlias = Config
|
|
230
230
|
|
|
231
231
|
@typing.final
|
|
232
232
|
class CustomThemeConfig(google.protobuf.message.Message):
|
|
@@ -299,7 +299,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
299
299
|
HEADING_FONT_SIZES_FIELD_NUMBER: builtins.int
|
|
300
300
|
HEADING_FONT_WEIGHTS_FIELD_NUMBER: builtins.int
|
|
301
301
|
SHOW_SIDEBAR_BORDER_FIELD_NUMBER: builtins.int
|
|
302
|
-
|
|
302
|
+
CODE_TEXT_COLOR_FIELD_NUMBER: builtins.int
|
|
303
303
|
CODE_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
|
|
304
304
|
DATAFRAME_HEADER_BACKGROUND_COLOR_FIELD_NUMBER: builtins.int
|
|
305
305
|
CHART_CATEGORICAL_COLORS_FIELD_NUMBER: builtins.int
|
|
@@ -325,13 +325,16 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
325
325
|
GREEN_TEXT_COLOR_FIELD_NUMBER: builtins.int
|
|
326
326
|
VIOLET_TEXT_COLOR_FIELD_NUMBER: builtins.int
|
|
327
327
|
GRAY_TEXT_COLOR_FIELD_NUMBER: builtins.int
|
|
328
|
+
SIDEBAR_FIELD_NUMBER: builtins.int
|
|
329
|
+
LIGHT_FIELD_NUMBER: builtins.int
|
|
330
|
+
DARK_FIELD_NUMBER: builtins.int
|
|
328
331
|
primary_color: builtins.str
|
|
329
332
|
secondary_background_color: builtins.str
|
|
330
333
|
background_color: builtins.str
|
|
331
334
|
text_color: builtins.str
|
|
332
|
-
font:
|
|
335
|
+
font: Global___CustomThemeConfig.FontFamily.ValueType
|
|
333
336
|
"""DEPRECATED: Use body_font instead:"""
|
|
334
|
-
base:
|
|
337
|
+
base: Global___CustomThemeConfig.BaseTheme.ValueType
|
|
335
338
|
widget_background_color: builtins.str
|
|
336
339
|
"""DEPRECATED: This color is not applied anymore:"""
|
|
337
340
|
widget_border_color: builtins.str
|
|
@@ -353,6 +356,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
353
356
|
code_font_weight: builtins.int
|
|
354
357
|
code_font_size: builtins.str
|
|
355
358
|
show_sidebar_border: builtins.bool
|
|
359
|
+
code_text_color: builtins.str
|
|
356
360
|
code_background_color: builtins.str
|
|
357
361
|
dataframe_header_background_color: builtins.str
|
|
358
362
|
red_color: builtins.str
|
|
@@ -380,15 +384,15 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
380
384
|
violet_text_color: builtins.str
|
|
381
385
|
gray_text_color: builtins.str
|
|
382
386
|
@property
|
|
383
|
-
def radii(self) ->
|
|
387
|
+
def radii(self) -> Global___Radii:
|
|
384
388
|
"""DEPRECATED: Please use the base_radius theme config instead:"""
|
|
385
389
|
|
|
386
390
|
@property
|
|
387
|
-
def font_faces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
391
|
+
def font_faces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___FontFace]: ...
|
|
388
392
|
@property
|
|
389
|
-
def font_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
393
|
+
def font_sources(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___FontSource]: ...
|
|
390
394
|
@property
|
|
391
|
-
def font_sizes(self) ->
|
|
395
|
+
def font_sizes(self) -> Global___FontSizes:
|
|
392
396
|
"""DEPRECATED: Please use the base_font_size theme config instead:"""
|
|
393
397
|
|
|
394
398
|
@property
|
|
@@ -396,11 +400,17 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
396
400
|
@property
|
|
397
401
|
def heading_font_weights(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
398
402
|
@property
|
|
399
|
-
def sidebar(self) -> global___CustomThemeConfig: ...
|
|
400
|
-
@property
|
|
401
403
|
def chart_categorical_colors(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
402
404
|
@property
|
|
403
405
|
def chart_sequential_colors(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
406
|
+
@property
|
|
407
|
+
def sidebar(self) -> Global___CustomThemeConfig:
|
|
408
|
+
"""Theme sections:"""
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
def light(self) -> Global___CustomThemeConfig: ...
|
|
412
|
+
@property
|
|
413
|
+
def dark(self) -> Global___CustomThemeConfig: ...
|
|
404
414
|
def __init__(
|
|
405
415
|
self,
|
|
406
416
|
*,
|
|
@@ -408,17 +418,17 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
408
418
|
secondary_background_color: builtins.str = ...,
|
|
409
419
|
background_color: builtins.str = ...,
|
|
410
420
|
text_color: builtins.str = ...,
|
|
411
|
-
font:
|
|
412
|
-
base:
|
|
421
|
+
font: Global___CustomThemeConfig.FontFamily.ValueType = ...,
|
|
422
|
+
base: Global___CustomThemeConfig.BaseTheme.ValueType = ...,
|
|
413
423
|
widget_background_color: builtins.str = ...,
|
|
414
424
|
widget_border_color: builtins.str = ...,
|
|
415
|
-
radii:
|
|
425
|
+
radii: Global___Radii | None = ...,
|
|
416
426
|
heading_font: builtins.str = ...,
|
|
417
427
|
body_font: builtins.str = ...,
|
|
418
428
|
code_font: builtins.str = ...,
|
|
419
|
-
font_faces: collections.abc.Iterable[
|
|
420
|
-
font_sources: collections.abc.Iterable[
|
|
421
|
-
font_sizes:
|
|
429
|
+
font_faces: collections.abc.Iterable[Global___FontFace] | None = ...,
|
|
430
|
+
font_sources: collections.abc.Iterable[Global___FontSource] | None = ...,
|
|
431
|
+
font_sizes: Global___FontSizes | None = ...,
|
|
422
432
|
skeleton_background_color: builtins.str = ...,
|
|
423
433
|
base_radius: builtins.str | None = ...,
|
|
424
434
|
button_radius: builtins.str | None = ...,
|
|
@@ -434,7 +444,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
434
444
|
heading_font_sizes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
435
445
|
heading_font_weights: collections.abc.Iterable[builtins.int] | None = ...,
|
|
436
446
|
show_sidebar_border: builtins.bool | None = ...,
|
|
437
|
-
|
|
447
|
+
code_text_color: builtins.str | None = ...,
|
|
438
448
|
code_background_color: builtins.str | None = ...,
|
|
439
449
|
dataframe_header_background_color: builtins.str | None = ...,
|
|
440
450
|
chart_categorical_colors: collections.abc.Iterable[builtins.str] | None = ...,
|
|
@@ -460,9 +470,12 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
460
470
|
green_text_color: builtins.str | None = ...,
|
|
461
471
|
violet_text_color: builtins.str | None = ...,
|
|
462
472
|
gray_text_color: builtins.str | None = ...,
|
|
473
|
+
sidebar: Global___CustomThemeConfig | None = ...,
|
|
474
|
+
light: Global___CustomThemeConfig | None = ...,
|
|
475
|
+
dark: Global___CustomThemeConfig | None = ...,
|
|
463
476
|
) -> None: ...
|
|
464
|
-
def HasField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "border_color", b"border_color", "button_radius", b"button_radius", "code_background_color", b"code_background_color", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font_sizes", b"font_sizes", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"]) -> builtins.bool: ...
|
|
465
|
-
def ClearField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "background_color", b"background_color", "base", b"base", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "body_font", b"body_font", "border_color", b"border_color", "button_radius", b"button_radius", "chart_categorical_colors", b"chart_categorical_colors", "chart_sequential_colors", b"chart_sequential_colors", "code_background_color", b"code_background_color", "code_font", b"code_font", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font", b"font", "font_faces", b"font_faces", "font_sizes", b"font_sizes", "font_sources", b"font_sources", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "heading_font", b"heading_font", "heading_font_sizes", b"heading_font_sizes", "heading_font_weights", b"heading_font_weights", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "primary_color", b"primary_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "secondary_background_color", b"secondary_background_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "skeleton_background_color", b"skeleton_background_color", "text_color", b"text_color", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "widget_background_color", b"widget_background_color", "widget_border_color", b"widget_border_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"]) -> None: ...
|
|
477
|
+
def HasField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_code_text_color", b"_code_text_color", "_dark", b"_dark", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_light", b"_light", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "border_color", b"border_color", "button_radius", b"button_radius", "code_background_color", b"code_background_color", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "code_text_color", b"code_text_color", "dark", b"dark", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font_sizes", b"font_sizes", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "light", b"light", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"]) -> builtins.bool: ...
|
|
478
|
+
def ClearField(self, field_name: typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_code_text_color", b"_code_text_color", "_dark", b"_dark", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_light", b"_light", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "background_color", b"background_color", "base", b"base", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "body_font", b"body_font", "border_color", b"border_color", "button_radius", b"button_radius", "chart_categorical_colors", b"chart_categorical_colors", "chart_sequential_colors", b"chart_sequential_colors", "code_background_color", b"code_background_color", "code_font", b"code_font", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "code_text_color", b"code_text_color", "dark", b"dark", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font", b"font", "font_faces", b"font_faces", "font_sizes", b"font_sizes", "font_sources", b"font_sources", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "heading_font", b"heading_font", "heading_font_sizes", b"heading_font_sizes", "heading_font_weights", b"heading_font_weights", "light", b"light", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "primary_color", b"primary_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "secondary_background_color", b"secondary_background_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "skeleton_background_color", b"skeleton_background_color", "text_color", b"text_color", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "widget_background_color", b"widget_background_color", "widget_border_color", b"widget_border_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"]) -> None: ...
|
|
466
479
|
@typing.overload
|
|
467
480
|
def WhichOneof(self, oneof_group: typing.Literal["_base_font_size", b"_base_font_size"]) -> typing.Literal["base_font_size"] | None: ...
|
|
468
481
|
@typing.overload
|
|
@@ -486,6 +499,10 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
486
499
|
@typing.overload
|
|
487
500
|
def WhichOneof(self, oneof_group: typing.Literal["_code_font_weight", b"_code_font_weight"]) -> typing.Literal["code_font_weight"] | None: ...
|
|
488
501
|
@typing.overload
|
|
502
|
+
def WhichOneof(self, oneof_group: typing.Literal["_code_text_color", b"_code_text_color"]) -> typing.Literal["code_text_color"] | None: ...
|
|
503
|
+
@typing.overload
|
|
504
|
+
def WhichOneof(self, oneof_group: typing.Literal["_dark", b"_dark"]) -> typing.Literal["dark"] | None: ...
|
|
505
|
+
@typing.overload
|
|
489
506
|
def WhichOneof(self, oneof_group: typing.Literal["_dataframe_border_color", b"_dataframe_border_color"]) -> typing.Literal["dataframe_border_color"] | None: ...
|
|
490
507
|
@typing.overload
|
|
491
508
|
def WhichOneof(self, oneof_group: typing.Literal["_dataframe_header_background_color", b"_dataframe_header_background_color"]) -> typing.Literal["dataframe_header_background_color"] | None: ...
|
|
@@ -502,6 +519,8 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
502
519
|
@typing.overload
|
|
503
520
|
def WhichOneof(self, oneof_group: typing.Literal["_green_text_color", b"_green_text_color"]) -> typing.Literal["green_text_color"] | None: ...
|
|
504
521
|
@typing.overload
|
|
522
|
+
def WhichOneof(self, oneof_group: typing.Literal["_light", b"_light"]) -> typing.Literal["light"] | None: ...
|
|
523
|
+
@typing.overload
|
|
505
524
|
def WhichOneof(self, oneof_group: typing.Literal["_link_color", b"_link_color"]) -> typing.Literal["link_color"] | None: ...
|
|
506
525
|
@typing.overload
|
|
507
526
|
def WhichOneof(self, oneof_group: typing.Literal["_link_underline", b"_link_underline"]) -> typing.Literal["link_underline"] | None: ...
|
|
@@ -536,7 +555,7 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
536
555
|
@typing.overload
|
|
537
556
|
def WhichOneof(self, oneof_group: typing.Literal["_yellow_text_color", b"_yellow_text_color"]) -> typing.Literal["yellow_text_color"] | None: ...
|
|
538
557
|
|
|
539
|
-
|
|
558
|
+
Global___CustomThemeConfig: typing_extensions.TypeAlias = CustomThemeConfig
|
|
540
559
|
|
|
541
560
|
@typing.final
|
|
542
561
|
class FontFace(google.protobuf.message.Message):
|
|
@@ -571,7 +590,7 @@ class FontFace(google.protobuf.message.Message):
|
|
|
571
590
|
) -> None: ...
|
|
572
591
|
def ClearField(self, field_name: typing.Literal["family", b"family", "style", b"style", "unicode_range", b"unicode_range", "url", b"url", "weight", b"weight", "weight_range", b"weight_range"]) -> None: ...
|
|
573
592
|
|
|
574
|
-
|
|
593
|
+
Global___FontFace: typing_extensions.TypeAlias = FontFace
|
|
575
594
|
|
|
576
595
|
@typing.final
|
|
577
596
|
class FontSource(google.protobuf.message.Message):
|
|
@@ -592,7 +611,7 @@ class FontSource(google.protobuf.message.Message):
|
|
|
592
611
|
) -> None: ...
|
|
593
612
|
def ClearField(self, field_name: typing.Literal["config_name", b"config_name", "source_url", b"source_url"]) -> None: ...
|
|
594
613
|
|
|
595
|
-
|
|
614
|
+
Global___FontSource: typing_extensions.TypeAlias = FontSource
|
|
596
615
|
|
|
597
616
|
@typing.final
|
|
598
617
|
class Radii(google.protobuf.message.Message):
|
|
@@ -613,7 +632,7 @@ class Radii(google.protobuf.message.Message):
|
|
|
613
632
|
) -> None: ...
|
|
614
633
|
def ClearField(self, field_name: typing.Literal["base_widget_radius", b"base_widget_radius", "checkbox_radius", b"checkbox_radius"]) -> None: ...
|
|
615
634
|
|
|
616
|
-
|
|
635
|
+
Global___Radii: typing_extensions.TypeAlias = Radii
|
|
617
636
|
|
|
618
637
|
@typing.final
|
|
619
638
|
class FontSizes(google.protobuf.message.Message):
|
|
@@ -637,7 +656,7 @@ class FontSizes(google.protobuf.message.Message):
|
|
|
637
656
|
) -> None: ...
|
|
638
657
|
def ClearField(self, field_name: typing.Literal["base_font_size", b"base_font_size", "small_font_size", b"small_font_size", "tiny_font_size", b"tiny_font_size"]) -> None: ...
|
|
639
658
|
|
|
640
|
-
|
|
659
|
+
Global___FontSizes: typing_extensions.TypeAlias = FontSizes
|
|
641
660
|
|
|
642
661
|
@typing.final
|
|
643
662
|
class UserInfo(google.protobuf.message.Message):
|
|
@@ -662,7 +681,7 @@ class UserInfo(google.protobuf.message.Message):
|
|
|
662
681
|
) -> None: ...
|
|
663
682
|
def ClearField(self, field_name: typing.Literal["installation_id", b"installation_id", "installation_id_v3", b"installation_id_v3", "installation_id_v4", b"installation_id_v4"]) -> None: ...
|
|
664
683
|
|
|
665
|
-
|
|
684
|
+
Global___UserInfo: typing_extensions.TypeAlias = UserInfo
|
|
666
685
|
|
|
667
686
|
@typing.final
|
|
668
687
|
class EnvironmentInfo(google.protobuf.message.Message):
|
|
@@ -705,4 +724,4 @@ class EnvironmentInfo(google.protobuf.message.Message):
|
|
|
705
724
|
) -> None: ...
|
|
706
725
|
def ClearField(self, field_name: typing.Literal["has_display", b"has_display", "python_version", b"python_version", "server_os", b"server_os", "streamlit_version", b"streamlit_version"]) -> None: ...
|
|
707
726
|
|
|
708
|
-
|
|
727
|
+
Global___EnvironmentInfo: typing_extensions.TypeAlias = EnvironmentInfo
|
|
@@ -79,7 +79,7 @@ class NumberInput(google.protobuf.message.Message):
|
|
|
79
79
|
format: builtins.str
|
|
80
80
|
has_min: builtins.bool
|
|
81
81
|
has_max: builtins.bool
|
|
82
|
-
data_type:
|
|
82
|
+
data_type: Global___NumberInput.DataType.ValueType
|
|
83
83
|
default: builtins.float
|
|
84
84
|
step: builtins.float
|
|
85
85
|
min: builtins.float
|
|
@@ -101,7 +101,7 @@ class NumberInput(google.protobuf.message.Message):
|
|
|
101
101
|
format: builtins.str = ...,
|
|
102
102
|
has_min: builtins.bool = ...,
|
|
103
103
|
has_max: builtins.bool = ...,
|
|
104
|
-
data_type:
|
|
104
|
+
data_type: Global___NumberInput.DataType.ValueType = ...,
|
|
105
105
|
default: builtins.float | None = ...,
|
|
106
106
|
step: builtins.float = ...,
|
|
107
107
|
min: builtins.float = ...,
|
|
@@ -121,4 +121,4 @@ class NumberInput(google.protobuf.message.Message):
|
|
|
121
121
|
@typing.overload
|
|
122
122
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
Global___NumberInput: typing_extensions.TypeAlias = NumberInput
|
|
@@ -127,20 +127,20 @@ class PageConfig(google.protobuf.message.Message):
|
|
|
127
127
|
MENU_ITEMS_FIELD_NUMBER: builtins.int
|
|
128
128
|
title: builtins.str
|
|
129
129
|
favicon: builtins.str
|
|
130
|
-
layout:
|
|
131
|
-
initial_sidebar_state:
|
|
130
|
+
layout: Global___PageConfig.Layout.ValueType
|
|
131
|
+
initial_sidebar_state: Global___PageConfig.SidebarState.ValueType
|
|
132
132
|
@property
|
|
133
|
-
def menu_items(self) ->
|
|
133
|
+
def menu_items(self) -> Global___PageConfig.MenuItems: ...
|
|
134
134
|
def __init__(
|
|
135
135
|
self,
|
|
136
136
|
*,
|
|
137
137
|
title: builtins.str = ...,
|
|
138
138
|
favicon: builtins.str = ...,
|
|
139
|
-
layout:
|
|
140
|
-
initial_sidebar_state:
|
|
141
|
-
menu_items:
|
|
139
|
+
layout: Global___PageConfig.Layout.ValueType = ...,
|
|
140
|
+
initial_sidebar_state: Global___PageConfig.SidebarState.ValueType = ...,
|
|
141
|
+
menu_items: Global___PageConfig.MenuItems | None = ...,
|
|
142
142
|
) -> None: ...
|
|
143
143
|
def HasField(self, field_name: typing.Literal["menu_items", b"menu_items"]) -> builtins.bool: ...
|
|
144
144
|
def ClearField(self, field_name: typing.Literal["favicon", b"favicon", "initial_sidebar_state", b"initial_sidebar_state", "layout", b"layout", "menu_items", b"menu_items", "title", b"title"]) -> None: ...
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
Global___PageConfig: typing_extensions.TypeAlias = PageConfig
|
streamlit/proto/PageInfo_pb2.pyi
CHANGED
|
@@ -20,8 +20,14 @@ limitations under the License.
|
|
|
20
20
|
import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
|
+
import sys
|
|
23
24
|
import typing
|
|
24
25
|
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
import typing as typing_extensions
|
|
28
|
+
else:
|
|
29
|
+
import typing_extensions
|
|
30
|
+
|
|
25
31
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
26
32
|
|
|
27
33
|
@typing.final
|
|
@@ -40,4 +46,4 @@ class PageInfo(google.protobuf.message.Message):
|
|
|
40
46
|
) -> None: ...
|
|
41
47
|
def ClearField(self, field_name: typing.Literal["query_string", b"query_string"]) -> None: ...
|
|
42
48
|
|
|
43
|
-
|
|
49
|
+
Global___PageInfo: typing_extensions.TypeAlias = PageInfo
|
streamlit/proto/PageLink_pb2.py
CHANGED
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/PageLink.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/PageLink.proto\"\xd1\x01\n\x08PageLink\x12\x0c\n\x04page\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04icon\x18\x03 \x01(\t\x12\x18\n\x10page_script_hash\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12 \n\x13use_container_width\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x10\n\x08\x65xternal\x18\x08 \x01(\x08\x12\x14\n\x0cquery_string\x18\t \x01(\tB\x16\n\x14_use_container_widthB-\n\x1c\x63om.snowflake.apps.streamlitB\rPageLinkProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,5 +23,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
23
23
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rPageLinkProto'
|
|
25
25
|
_globals['_PAGELINK']._serialized_start=35
|
|
26
|
-
_globals['_PAGELINK']._serialized_end=
|
|
26
|
+
_globals['_PAGELINK']._serialized_end=244
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|