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
streamlit/proto/Block_pb2.py
CHANGED
|
@@ -17,7 +17,7 @@ from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightCo
|
|
|
17
17
|
from streamlit.proto import GapSize_pb2 as streamlit_dot_proto_dot_GapSize__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\xd0\x10\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a.\n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12\x12\n\x06height\x18\x02 \x01(\rB\x02\x18\x01\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\x81\x04\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\x12-\n\x07justify\x18\x07 \x01(\x0e\x32\x1c.Block.FlexContainer.Justify\x12)\n\x05\x61lign\x18\x08 \x01(\x0e\x32\x1a.Block.FlexContainer.Align\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\"k\n\x07Justify\x12\x15\n\x11JUSTIFY_UNDEFINED\x10\x00\x12\x11\n\rJUSTIFY_START\x10\x01\x12\x0f\n\x0bJUSTIFY_END\x10\x02\x12\x12\n\x0eJUSTIFY_CENTER\x10\x03\x12\x11\n\rSPACE_BETWEEN\x10\x04\"[\n\x05\x41lign\x12\x13\n\x0f\x41LIGN_UNDEFINED\x10\x00\x12\x0f\n\x0b\x41LIGN_START\x10\x01\x12\r\n\tALIGN_END\x10\x02\x12\x10\n\x0c\x41LIGN_CENTER\x10\x03\x12\x0b\n\x07STRETCH\x10\x04\x1a\xef\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12\x0f\n\x03gap\x18\x02 \x01(\tB\x02\x18\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_config\x1aM\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\tB\x0b\n\t_expanded\x1a\xb5\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\n\n\x02id\x18\x05 \x01(\t\"/\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a)\n\x0cTabContainer\x12\x19\n\x11\x64\x65\x66\x61ult_tab_index\x18\x01 \x01(\x05\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1au\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x1f\n\x13use_container_width\x18\x02 \x01(\x08\x42\x02\x18\x01\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\t\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configB*\n\x1c\x63om.snowflake.apps.streamlitB\nBlockProtob\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -32,7 +32,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._loaded_options = None
|
|
33
33
|
_globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
34
34
|
_globals['_BLOCK']._serialized_start=134
|
|
35
|
-
_globals['_BLOCK']._serialized_end=
|
|
35
|
+
_globals['_BLOCK']._serialized_end=2262
|
|
36
36
|
_globals['_BLOCK_VERTICAL']._serialized_start=699
|
|
37
37
|
_globals['_BLOCK_VERTICAL']._serialized_end=745
|
|
38
38
|
_globals['_BLOCK_HORIZONTAL']._serialized_start=747
|
|
@@ -62,9 +62,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
62
62
|
_globals['_BLOCK_TAB']._serialized_start=1929
|
|
63
63
|
_globals['_BLOCK_TAB']._serialized_end=1949
|
|
64
64
|
_globals['_BLOCK_POPOVER']._serialized_start=1951
|
|
65
|
-
_globals['_BLOCK_POPOVER']._serialized_end=
|
|
66
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_start=
|
|
67
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_end=
|
|
68
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=
|
|
69
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=
|
|
65
|
+
_globals['_BLOCK_POPOVER']._serialized_end=2068
|
|
66
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_start=2071
|
|
67
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_end=2212
|
|
68
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=2168
|
|
69
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=2212
|
|
70
70
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Block_pb2.pyi
CHANGED
|
@@ -136,10 +136,10 @@ class Block(google.protobuf.message.Message):
|
|
|
136
136
|
ALIGN_FIELD_NUMBER: builtins.int
|
|
137
137
|
border: builtins.bool
|
|
138
138
|
scale: builtins.float
|
|
139
|
-
direction:
|
|
139
|
+
direction: Global___Block.FlexContainer.Direction.ValueType
|
|
140
140
|
wrap: builtins.bool
|
|
141
|
-
justify:
|
|
142
|
-
align:
|
|
141
|
+
justify: Global___Block.FlexContainer.Justify.ValueType
|
|
142
|
+
align: Global___Block.FlexContainer.Align.ValueType
|
|
143
143
|
@property
|
|
144
144
|
def gap_config(self) -> streamlit.proto.GapSize_pb2.GapConfig: ...
|
|
145
145
|
def __init__(
|
|
@@ -148,10 +148,10 @@ class Block(google.protobuf.message.Message):
|
|
|
148
148
|
border: builtins.bool = ...,
|
|
149
149
|
gap_config: streamlit.proto.GapSize_pb2.GapConfig | None = ...,
|
|
150
150
|
scale: builtins.float = ...,
|
|
151
|
-
direction:
|
|
151
|
+
direction: Global___Block.FlexContainer.Direction.ValueType = ...,
|
|
152
152
|
wrap: builtins.bool = ...,
|
|
153
|
-
justify:
|
|
154
|
-
align:
|
|
153
|
+
justify: Global___Block.FlexContainer.Justify.ValueType = ...,
|
|
154
|
+
align: Global___Block.FlexContainer.Align.ValueType = ...,
|
|
155
155
|
) -> None: ...
|
|
156
156
|
def HasField(self, field_name: typing.Literal["gap_config", b"gap_config"]) -> builtins.bool: ...
|
|
157
157
|
def ClearField(self, field_name: typing.Literal["align", b"align", "border", b"border", "direction", b"direction", "gap_config", b"gap_config", "justify", b"justify", "scale", b"scale", "wrap", b"wrap"]) -> None: ...
|
|
@@ -183,7 +183,7 @@ class Block(google.protobuf.message.Message):
|
|
|
183
183
|
weight: builtins.float
|
|
184
184
|
gap: builtins.str
|
|
185
185
|
"""Deprecated. Use gap_size"""
|
|
186
|
-
vertical_alignment:
|
|
186
|
+
vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType
|
|
187
187
|
show_border: builtins.bool
|
|
188
188
|
@property
|
|
189
189
|
def gap_config(self) -> streamlit.proto.GapSize_pb2.GapConfig: ...
|
|
@@ -192,7 +192,7 @@ class Block(google.protobuf.message.Message):
|
|
|
192
192
|
*,
|
|
193
193
|
weight: builtins.float = ...,
|
|
194
194
|
gap: builtins.str = ...,
|
|
195
|
-
vertical_alignment:
|
|
195
|
+
vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType = ...,
|
|
196
196
|
show_border: builtins.bool = ...,
|
|
197
197
|
gap_config: streamlit.proto.GapSize_pb2.GapConfig | None = ...,
|
|
198
198
|
) -> None: ...
|
|
@@ -247,7 +247,7 @@ class Block(google.protobuf.message.Message):
|
|
|
247
247
|
ID_FIELD_NUMBER: builtins.int
|
|
248
248
|
title: builtins.str
|
|
249
249
|
dismissible: builtins.bool
|
|
250
|
-
width:
|
|
250
|
+
width: Global___Block.Dialog.DialogWidth.ValueType
|
|
251
251
|
is_open: builtins.bool
|
|
252
252
|
id: builtins.str
|
|
253
253
|
"""If id is set, dismissal of the dialog will trigger a rerun."""
|
|
@@ -256,7 +256,7 @@ class Block(google.protobuf.message.Message):
|
|
|
256
256
|
*,
|
|
257
257
|
title: builtins.str = ...,
|
|
258
258
|
dismissible: builtins.bool = ...,
|
|
259
|
-
width:
|
|
259
|
+
width: Global___Block.Dialog.DialogWidth.ValueType = ...,
|
|
260
260
|
is_open: builtins.bool | None = ...,
|
|
261
261
|
id: builtins.str = ...,
|
|
262
262
|
) -> None: ...
|
|
@@ -321,12 +321,14 @@ class Block(google.protobuf.message.Message):
|
|
|
321
321
|
HELP_FIELD_NUMBER: builtins.int
|
|
322
322
|
DISABLED_FIELD_NUMBER: builtins.int
|
|
323
323
|
ICON_FIELD_NUMBER: builtins.int
|
|
324
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
324
325
|
label: builtins.str
|
|
325
326
|
use_container_width: builtins.bool
|
|
326
327
|
"""DEPRECATED: We use widthConfig on the top-level which is shared."""
|
|
327
328
|
help: builtins.str
|
|
328
329
|
disabled: builtins.bool
|
|
329
330
|
icon: builtins.str
|
|
331
|
+
type: builtins.str
|
|
330
332
|
def __init__(
|
|
331
333
|
self,
|
|
332
334
|
*,
|
|
@@ -335,8 +337,9 @@ class Block(google.protobuf.message.Message):
|
|
|
335
337
|
help: builtins.str = ...,
|
|
336
338
|
disabled: builtins.bool = ...,
|
|
337
339
|
icon: builtins.str = ...,
|
|
340
|
+
type: builtins.str = ...,
|
|
338
341
|
) -> None: ...
|
|
339
|
-
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "use_container_width", b"use_container_width"]) -> None: ...
|
|
342
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"]) -> None: ...
|
|
340
343
|
|
|
341
344
|
@typing.final
|
|
342
345
|
class ChatMessage(google.protobuf.message.Message):
|
|
@@ -362,13 +365,13 @@ class Block(google.protobuf.message.Message):
|
|
|
362
365
|
AVATAR_TYPE_FIELD_NUMBER: builtins.int
|
|
363
366
|
name: builtins.str
|
|
364
367
|
avatar: builtins.str
|
|
365
|
-
avatar_type:
|
|
368
|
+
avatar_type: Global___Block.ChatMessage.AvatarType.ValueType
|
|
366
369
|
def __init__(
|
|
367
370
|
self,
|
|
368
371
|
*,
|
|
369
372
|
name: builtins.str = ...,
|
|
370
373
|
avatar: builtins.str = ...,
|
|
371
|
-
avatar_type:
|
|
374
|
+
avatar_type: Global___Block.ChatMessage.AvatarType.ValueType = ...,
|
|
372
375
|
) -> None: ...
|
|
373
376
|
def ClearField(self, field_name: typing.Literal["avatar", b"avatar", "avatar_type", b"avatar_type", "name", b"name"]) -> None: ...
|
|
374
377
|
|
|
@@ -390,27 +393,27 @@ class Block(google.protobuf.message.Message):
|
|
|
390
393
|
allow_empty: builtins.bool
|
|
391
394
|
id: builtins.str
|
|
392
395
|
@property
|
|
393
|
-
def vertical(self) ->
|
|
396
|
+
def vertical(self) -> Global___Block.Vertical: ...
|
|
394
397
|
@property
|
|
395
|
-
def horizontal(self) ->
|
|
398
|
+
def horizontal(self) -> Global___Block.Horizontal: ...
|
|
396
399
|
@property
|
|
397
|
-
def column(self) ->
|
|
400
|
+
def column(self) -> Global___Block.Column: ...
|
|
398
401
|
@property
|
|
399
|
-
def expandable(self) ->
|
|
402
|
+
def expandable(self) -> Global___Block.Expandable: ...
|
|
400
403
|
@property
|
|
401
|
-
def form(self) ->
|
|
404
|
+
def form(self) -> Global___Block.Form: ...
|
|
402
405
|
@property
|
|
403
|
-
def tab_container(self) ->
|
|
406
|
+
def tab_container(self) -> Global___Block.TabContainer: ...
|
|
404
407
|
@property
|
|
405
|
-
def tab(self) ->
|
|
408
|
+
def tab(self) -> Global___Block.Tab: ...
|
|
406
409
|
@property
|
|
407
|
-
def chat_message(self) ->
|
|
410
|
+
def chat_message(self) -> Global___Block.ChatMessage: ...
|
|
408
411
|
@property
|
|
409
|
-
def popover(self) ->
|
|
412
|
+
def popover(self) -> Global___Block.Popover: ...
|
|
410
413
|
@property
|
|
411
|
-
def dialog(self) ->
|
|
414
|
+
def dialog(self) -> Global___Block.Dialog: ...
|
|
412
415
|
@property
|
|
413
|
-
def flex_container(self) ->
|
|
416
|
+
def flex_container(self) -> Global___Block.FlexContainer: ...
|
|
414
417
|
@property
|
|
415
418
|
def height_config(self) -> streamlit.proto.HeightConfig_pb2.HeightConfig: ...
|
|
416
419
|
@property
|
|
@@ -418,17 +421,17 @@ class Block(google.protobuf.message.Message):
|
|
|
418
421
|
def __init__(
|
|
419
422
|
self,
|
|
420
423
|
*,
|
|
421
|
-
vertical:
|
|
422
|
-
horizontal:
|
|
423
|
-
column:
|
|
424
|
-
expandable:
|
|
425
|
-
form:
|
|
426
|
-
tab_container:
|
|
427
|
-
tab:
|
|
428
|
-
chat_message:
|
|
429
|
-
popover:
|
|
430
|
-
dialog:
|
|
431
|
-
flex_container:
|
|
424
|
+
vertical: Global___Block.Vertical | None = ...,
|
|
425
|
+
horizontal: Global___Block.Horizontal | None = ...,
|
|
426
|
+
column: Global___Block.Column | None = ...,
|
|
427
|
+
expandable: Global___Block.Expandable | None = ...,
|
|
428
|
+
form: Global___Block.Form | None = ...,
|
|
429
|
+
tab_container: Global___Block.TabContainer | None = ...,
|
|
430
|
+
tab: Global___Block.Tab | None = ...,
|
|
431
|
+
chat_message: Global___Block.ChatMessage | None = ...,
|
|
432
|
+
popover: Global___Block.Popover | None = ...,
|
|
433
|
+
dialog: Global___Block.Dialog | None = ...,
|
|
434
|
+
flex_container: Global___Block.FlexContainer | None = ...,
|
|
432
435
|
allow_empty: builtins.bool = ...,
|
|
433
436
|
id: builtins.str | None = ...,
|
|
434
437
|
height_config: streamlit.proto.HeightConfig_pb2.HeightConfig | None = ...,
|
|
@@ -445,4 +448,4 @@ class Block(google.protobuf.message.Message):
|
|
|
445
448
|
@typing.overload
|
|
446
449
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["vertical", "horizontal", "column", "expandable", "form", "tab_container", "tab", "chat_message", "popover", "dialog", "flex_container"] | None: ...
|
|
447
450
|
|
|
448
|
-
|
|
451
|
+
Global___Block: typing_extensions.TypeAlias = Block
|
|
@@ -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
|
|
@@ -46,4 +52,4 @@ class BokehChart(google.protobuf.message.Message):
|
|
|
46
52
|
) -> None: ...
|
|
47
53
|
def ClearField(self, field_name: typing.Literal["element_id", b"element_id", "figure", b"figure", "use_container_width", b"use_container_width"]) -> None: ...
|
|
48
54
|
|
|
49
|
-
|
|
55
|
+
Global___BokehChart: typing_extensions.TypeAlias = BokehChart
|
|
@@ -126,15 +126,15 @@ class ButtonGroup(google.protobuf.message.Message):
|
|
|
126
126
|
HELP_FIELD_NUMBER: builtins.int
|
|
127
127
|
id: builtins.str
|
|
128
128
|
disabled: builtins.bool
|
|
129
|
-
click_mode:
|
|
129
|
+
click_mode: Global___ButtonGroup.ClickMode.ValueType
|
|
130
130
|
form_id: builtins.str
|
|
131
131
|
set_value: builtins.bool
|
|
132
|
-
selection_visualization:
|
|
133
|
-
style:
|
|
132
|
+
selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType
|
|
133
|
+
style: Global___ButtonGroup.Style.ValueType
|
|
134
134
|
label: builtins.str
|
|
135
135
|
help: builtins.str
|
|
136
136
|
@property
|
|
137
|
-
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
137
|
+
def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ButtonGroup.Option]: ...
|
|
138
138
|
@property
|
|
139
139
|
def default(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
140
140
|
"""default is an array of indexes that are selected by default"""
|
|
@@ -149,15 +149,15 @@ class ButtonGroup(google.protobuf.message.Message):
|
|
|
149
149
|
self,
|
|
150
150
|
*,
|
|
151
151
|
id: builtins.str = ...,
|
|
152
|
-
options: collections.abc.Iterable[
|
|
152
|
+
options: collections.abc.Iterable[Global___ButtonGroup.Option] | None = ...,
|
|
153
153
|
default: collections.abc.Iterable[builtins.int] | None = ...,
|
|
154
154
|
disabled: builtins.bool = ...,
|
|
155
|
-
click_mode:
|
|
155
|
+
click_mode: Global___ButtonGroup.ClickMode.ValueType = ...,
|
|
156
156
|
form_id: builtins.str = ...,
|
|
157
157
|
value: collections.abc.Iterable[builtins.int] | None = ...,
|
|
158
158
|
set_value: builtins.bool = ...,
|
|
159
|
-
selection_visualization:
|
|
160
|
-
style:
|
|
159
|
+
selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType = ...,
|
|
160
|
+
style: Global___ButtonGroup.Style.ValueType = ...,
|
|
161
161
|
label: builtins.str = ...,
|
|
162
162
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
163
163
|
help: builtins.str | None = ...,
|
|
@@ -166,4 +166,4 @@ class ButtonGroup(google.protobuf.message.Message):
|
|
|
166
166
|
def ClearField(self, field_name: typing.Literal["_help", b"_help", "click_mode", b"click_mode", "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", "options", b"options", "selection_visualization", b"selection_visualization", "set_value", b"set_value", "style", b"style", "value", b"value"]) -> None: ...
|
|
167
167
|
def WhichOneof(self, oneof_group: typing.Literal["_help", b"_help"]) -> typing.Literal["help"] | None: ...
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
Global___ButtonGroup: typing_extensions.TypeAlias = ButtonGroup
|
streamlit/proto/Button_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\x1cstreamlit/proto/Button.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Button.proto\"\xcf\x01\n\x06\x42utton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x11is_form_submitter\x18\x06 \x01(\x08\x12\x0c\n\x04type\x18\x07 \x01(\t\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x1f\n\x13use_container_width\x18\t \x01(\x08\x42\x02\x18\x01\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x10\n\x08shortcut\x18\x0b \x01(\tB+\n\x1c\x63om.snowflake.apps.streamlitB\x0b\x42uttonProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,5 +25,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
25
25
|
_globals['_BUTTON'].fields_by_name['use_container_width']._loaded_options = None
|
|
26
26
|
_globals['_BUTTON'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
27
27
|
_globals['_BUTTON']._serialized_start=33
|
|
28
|
-
_globals['_BUTTON']._serialized_end=
|
|
28
|
+
_globals['_BUTTON']._serialized_end=240
|
|
29
29
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Button_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
|
|
@@ -38,6 +44,7 @@ class Button(google.protobuf.message.Message):
|
|
|
38
44
|
DISABLED_FIELD_NUMBER: builtins.int
|
|
39
45
|
USE_CONTAINER_WIDTH_FIELD_NUMBER: builtins.int
|
|
40
46
|
ICON_FIELD_NUMBER: builtins.int
|
|
47
|
+
SHORTCUT_FIELD_NUMBER: builtins.int
|
|
41
48
|
id: builtins.str
|
|
42
49
|
label: builtins.str
|
|
43
50
|
default: builtins.bool
|
|
@@ -53,6 +60,7 @@ class Button(google.protobuf.message.Message):
|
|
|
53
60
|
use_container_width: builtins.bool
|
|
54
61
|
"""DEPRECATED: Use widthConfig on Element.proto instead."""
|
|
55
62
|
icon: builtins.str
|
|
63
|
+
shortcut: builtins.str
|
|
56
64
|
def __init__(
|
|
57
65
|
self,
|
|
58
66
|
*,
|
|
@@ -66,7 +74,8 @@ class Button(google.protobuf.message.Message):
|
|
|
66
74
|
disabled: builtins.bool = ...,
|
|
67
75
|
use_container_width: builtins.bool = ...,
|
|
68
76
|
icon: builtins.str = ...,
|
|
77
|
+
shortcut: builtins.str = ...,
|
|
69
78
|
) -> None: ...
|
|
70
|
-
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"]) -> None: ...
|
|
79
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "shortcut", b"shortcut", "type", b"type", "use_container_width", b"use_container_width"]) -> None: ...
|
|
71
80
|
|
|
72
|
-
|
|
81
|
+
Global___Button: typing_extensions.TypeAlias = Button
|
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_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
|
|
@@ -55,4 +61,4 @@ class CameraInput(google.protobuf.message.Message):
|
|
|
55
61
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
56
62
|
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility"]) -> None: ...
|
|
57
63
|
|
|
58
|
-
|
|
64
|
+
Global___CameraInput: typing_extensions.TypeAlias = CameraInput
|
streamlit/proto/ChatInput_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\x1fstreamlit/proto/ChatInput.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xab\x03\n\tChatInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bplaceholder\x18\x02 \x01(\t\x12\x11\n\tmax_chars\x18\x03 \x01(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\r\n\x05value\x18\x05 \x01(\t\x12\x11\n\tset_value\x18\x06 \x01(\x08\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12%\n\x08position\x18\x08 \x01(\x0e\x32\x13.ChatInput.Position\x12*\n\x0b\x61\x63\x63\x65pt_file\x18\t \x01(\x0e\x32\x15.ChatInput.AcceptFile\x12\x11\n\tfile_type\x18\n \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x0b \x01(\x05\x12\x14\n\x0c\x61\x63\x63\x65pt_audio\x18\x0c \x01(\x08\x12\x1e\n\x11\x61udio_sample_rate\x18\r \x01(\x05H\x00\x88\x01\x01\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\"?\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x12\r\n\tDIRECTORY\x10\x03\x42\x14\n\x12_audio_sample_rateB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,9 +23,9 @@ 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\016ChatInputProto'
|
|
25
25
|
_globals['_CHATINPUT']._serialized_start=36
|
|
26
|
-
_globals['_CHATINPUT']._serialized_end=
|
|
27
|
-
_globals['_CHATINPUT_POSITION']._serialized_start=
|
|
28
|
-
_globals['_CHATINPUT_POSITION']._serialized_end=
|
|
29
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=
|
|
30
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=
|
|
26
|
+
_globals['_CHATINPUT']._serialized_end=463
|
|
27
|
+
_globals['_CHATINPUT_POSITION']._serialized_start=354
|
|
28
|
+
_globals['_CHATINPUT_POSITION']._serialized_end=376
|
|
29
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=378
|
|
30
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=441
|
|
31
31
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -78,6 +78,8 @@ class ChatInput(google.protobuf.message.Message):
|
|
|
78
78
|
ACCEPT_FILE_FIELD_NUMBER: builtins.int
|
|
79
79
|
FILE_TYPE_FIELD_NUMBER: builtins.int
|
|
80
80
|
MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: builtins.int
|
|
81
|
+
ACCEPT_AUDIO_FIELD_NUMBER: builtins.int
|
|
82
|
+
AUDIO_SAMPLE_RATE_FIELD_NUMBER: builtins.int
|
|
81
83
|
id: builtins.str
|
|
82
84
|
placeholder: builtins.str
|
|
83
85
|
max_chars: builtins.int
|
|
@@ -85,10 +87,16 @@ class ChatInput(google.protobuf.message.Message):
|
|
|
85
87
|
value: builtins.str
|
|
86
88
|
set_value: builtins.bool
|
|
87
89
|
default: builtins.str
|
|
88
|
-
position:
|
|
89
|
-
accept_file:
|
|
90
|
+
position: Global___ChatInput.Position.ValueType
|
|
91
|
+
accept_file: Global___ChatInput.AcceptFile.ValueType
|
|
90
92
|
max_upload_size_mb: builtins.int
|
|
91
93
|
"""Max file size allowed by server config"""
|
|
94
|
+
accept_audio: builtins.bool
|
|
95
|
+
"""Whether to show audio recording button"""
|
|
96
|
+
audio_sample_rate: builtins.int
|
|
97
|
+
"""Sample rate for audio recording in Hz (e.g., 16000, 48000)
|
|
98
|
+
If not set, uses browser default
|
|
99
|
+
"""
|
|
92
100
|
@property
|
|
93
101
|
def file_type(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
94
102
|
"""Supported file types: For example: ["png","jpg","img"]"""
|
|
@@ -103,11 +111,15 @@ class ChatInput(google.protobuf.message.Message):
|
|
|
103
111
|
value: builtins.str = ...,
|
|
104
112
|
set_value: builtins.bool = ...,
|
|
105
113
|
default: builtins.str = ...,
|
|
106
|
-
position:
|
|
107
|
-
accept_file:
|
|
114
|
+
position: Global___ChatInput.Position.ValueType = ...,
|
|
115
|
+
accept_file: Global___ChatInput.AcceptFile.ValueType = ...,
|
|
108
116
|
file_type: collections.abc.Iterable[builtins.str] | None = ...,
|
|
109
117
|
max_upload_size_mb: builtins.int = ...,
|
|
118
|
+
accept_audio: builtins.bool = ...,
|
|
119
|
+
audio_sample_rate: builtins.int | None = ...,
|
|
110
120
|
) -> None: ...
|
|
111
|
-
def
|
|
121
|
+
def HasField(self, field_name: typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "audio_sample_rate", b"audio_sample_rate"]) -> builtins.bool: ...
|
|
122
|
+
def ClearField(self, field_name: typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
|
123
|
+
def WhichOneof(self, oneof_group: typing.Literal["_audio_sample_rate", b"_audio_sample_rate"]) -> typing.Literal["audio_sample_rate"] | None: ...
|
|
112
124
|
|
|
113
|
-
|
|
125
|
+
Global___ChatInput: typing_extensions.TypeAlias = ChatInput
|
streamlit/proto/Checkbox_pb2.pyi
CHANGED
|
@@ -67,7 +67,7 @@ class Checkbox(google.protobuf.message.Message):
|
|
|
67
67
|
value: builtins.bool
|
|
68
68
|
set_value: builtins.bool
|
|
69
69
|
disabled: builtins.bool
|
|
70
|
-
type:
|
|
70
|
+
type: Global___Checkbox.StyleType.ValueType
|
|
71
71
|
@property
|
|
72
72
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
73
73
|
def __init__(
|
|
@@ -82,9 +82,9 @@ class Checkbox(google.protobuf.message.Message):
|
|
|
82
82
|
set_value: builtins.bool = ...,
|
|
83
83
|
disabled: builtins.bool = ...,
|
|
84
84
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
85
|
-
type:
|
|
85
|
+
type: Global___Checkbox.StyleType.ValueType = ...,
|
|
86
86
|
) -> None: ...
|
|
87
87
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
88
88
|
def ClearField(self, field_name: typing.Literal["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", "set_value", b"set_value", "type", b"type", "value", b"value"]) -> None: ...
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
Global___Checkbox: typing_extensions.TypeAlias = Checkbox
|
|
@@ -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.WidgetStates_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
|
|
@@ -68,7 +74,7 @@ class ContextInfo(google.protobuf.message.Message):
|
|
|
68
74
|
@typing.overload
|
|
69
75
|
def WhichOneof(self, oneof_group: typing.Literal["_url", b"_url"]) -> typing.Literal["url"] | None: ...
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
Global___ContextInfo: typing_extensions.TypeAlias = ContextInfo
|
|
72
78
|
|
|
73
79
|
@typing.final
|
|
74
80
|
class ClientState(google.protobuf.message.Message):
|
|
@@ -96,7 +102,7 @@ class ClientState(google.protobuf.message.Message):
|
|
|
96
102
|
"""
|
|
97
103
|
|
|
98
104
|
@property
|
|
99
|
-
def context_info(self) ->
|
|
105
|
+
def context_info(self) -> Global___ContextInfo: ...
|
|
100
106
|
def __init__(
|
|
101
107
|
self,
|
|
102
108
|
*,
|
|
@@ -107,9 +113,9 @@ class ClientState(google.protobuf.message.Message):
|
|
|
107
113
|
fragment_id: builtins.str = ...,
|
|
108
114
|
is_auto_rerun: builtins.bool = ...,
|
|
109
115
|
cached_message_hashes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
110
|
-
context_info:
|
|
116
|
+
context_info: Global___ContextInfo | None = ...,
|
|
111
117
|
) -> None: ...
|
|
112
118
|
def HasField(self, field_name: typing.Literal["context_info", b"context_info", "widget_states", b"widget_states"]) -> builtins.bool: ...
|
|
113
119
|
def ClearField(self, field_name: typing.Literal["cached_message_hashes", b"cached_message_hashes", "context_info", b"context_info", "fragment_id", b"fragment_id", "is_auto_rerun", b"is_auto_rerun", "page_name", b"page_name", "page_script_hash", b"page_script_hash", "query_string", b"query_string", "widget_states", b"widget_states"]) -> None: ...
|
|
114
120
|
|
|
115
|
-
|
|
121
|
+
Global___ClientState: typing_extensions.TypeAlias = ClientState
|
streamlit/proto/Code_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
|
|
@@ -53,4 +59,4 @@ class Code(google.protobuf.message.Message):
|
|
|
53
59
|
) -> None: ...
|
|
54
60
|
def ClearField(self, field_name: typing.Literal["code_text", b"code_text", "height", b"height", "language", b"language", "show_line_numbers", b"show_line_numbers", "wrap_lines", b"wrap_lines"]) -> None: ...
|
|
55
61
|
|
|
56
|
-
|
|
62
|
+
Global___Code: typing_extensions.TypeAlias = Code
|
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_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
|
|
@@ -64,4 +70,4 @@ class ColorPicker(google.protobuf.message.Message):
|
|
|
64
70
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
65
71
|
def ClearField(self, field_name: typing.Literal["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", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
|
66
72
|
|
|
67
|
-
|
|
73
|
+
Global___ColorPicker: typing_extensions.TypeAlias = ColorPicker
|
streamlit/proto/Common_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\x1cstreamlit/proto/Common.proto\"\x1b\n\x0bStringArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\x1b\n\x0b\x44oubleArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x01\"\x1a\n\nInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x1a\n\nInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x1b\n\x0bSInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x12\"\x1b\n\x0bUInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\r\"0\n\x12StringTriggerValue\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_data\"M\n\x0f\x46ileURLsRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nfile_names\x18\x02 \x03(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\"C\n\x08\x46ileURLs\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nupload_url\x18\x02 \x01(\t\x12\x12\n\ndelete_url\x18\x03 \x01(\t\"X\n\x10\x46ileURLsResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12\x1c\n\tfile_urls\x18\x02 \x03(\x0b\x32\t.FileURLs\x12\x11\n\terror_msg\x18\x03 \x01(\t\"i\n\x10UploadedFileInfo\x12\n\n\x02id\x18\x01 \x01(\x12\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x04\x12\x0f\n\x07\x66ile_id\x18\x04 \x01(\t\x12\x1c\n\tfile_urls\x18\x05 \x01(\x0b\x32\t.FileURLs\"W\n\x11\x46ileUploaderState\x12\x13\n\x0bmax_file_id\x18\x01 \x01(\x12\x12-\n\x12uploaded_file_info\x18\x02 \x03(\x0b\x32\x11.UploadedFileInfo\"
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Common.proto\"\x1b\n\x0bStringArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\x1b\n\x0b\x44oubleArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x01\"\x1a\n\nInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x1a\n\nInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x1b\n\x0bSInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x12\"\x1b\n\x0bUInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\r\"0\n\x12StringTriggerValue\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_data\"M\n\x0f\x46ileURLsRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nfile_names\x18\x02 \x03(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\"C\n\x08\x46ileURLs\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nupload_url\x18\x02 \x01(\t\x12\x12\n\ndelete_url\x18\x03 \x01(\t\"X\n\x10\x46ileURLsResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12\x1c\n\tfile_urls\x18\x02 \x03(\x0b\x32\t.FileURLs\x12\x11\n\terror_msg\x18\x03 \x01(\t\"i\n\x10UploadedFileInfo\x12\n\n\x02id\x18\x01 \x01(\x12\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x04\x12\x0f\n\x07\x66ile_id\x18\x04 \x01(\t\x12\x1c\n\tfile_urls\x18\x05 \x01(\x0b\x32\t.FileURLs\"W\n\x11\x46ileUploaderState\x12\x13\n\x0bmax_file_id\x18\x01 \x01(\x12\x12-\n\x12uploaded_file_info\x18\x02 \x03(\x0b\x32\x11.UploadedFileInfo\"\xbf\x01\n\x0e\x43hatInputValue\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x34\n\x13\x66ile_uploader_state\x18\x02 \x01(\x0b\x32\x12.FileUploaderStateH\x01\x88\x01\x01\x12/\n\x0f\x61udio_file_info\x18\x03 \x01(\x0b\x32\x11.UploadedFileInfoH\x02\x88\x01\x01\x42\x07\n\x05_dataB\x16\n\x14_file_uploader_stateB\x12\n\x10_audio_file_infoB+\n\x1c\x63om.snowflake.apps.streamlitB\x0b\x43ommonProtob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -46,6 +46,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
46
46
|
_globals['_UPLOADEDFILEINFO']._serialized_end=597
|
|
47
47
|
_globals['_FILEUPLOADERSTATE']._serialized_start=599
|
|
48
48
|
_globals['_FILEUPLOADERSTATE']._serialized_end=686
|
|
49
|
-
_globals['_CHATINPUTVALUE']._serialized_start=
|
|
50
|
-
_globals['_CHATINPUTVALUE']._serialized_end=
|
|
49
|
+
_globals['_CHATINPUTVALUE']._serialized_start=689
|
|
50
|
+
_globals['_CHATINPUTVALUE']._serialized_end=880
|
|
51
51
|
# @@protoc_insertion_point(module_scope)
|