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
|
@@ -30,7 +30,7 @@ from streamlit.proto import SessionStatus_pb2 as streamlit_dot_proto_dot_Session
|
|
|
30
30
|
from streamlit.proto import AuthRedirect_pb2 as streamlit_dot_proto_dot_AuthRedirect__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/ForwardMsg.proto\x1a\x1fstreamlit/proto/AutoRerun.proto\x1a\x1cstreamlit/proto/Common.proto\x1a\x1bstreamlit/proto/Delta.proto\x1a\x1dstreamlit/proto/GitInfo.proto\x1a\x1astreamlit/proto/Logo.proto\x1a streamlit/proto/Navigation.proto\x1a streamlit/proto/NewSession.proto\x1a streamlit/proto/PageConfig.proto\x1a\x1estreamlit/proto/PageInfo.proto\x1a!streamlit/proto/PageProfile.proto\x1a\"streamlit/proto/PageNotFound.proto\x1a\"streamlit/proto/PagesChanged.proto\x1a#streamlit/proto/ParentMessage.proto\x1a\"streamlit/proto/SessionEvent.proto\x1a#streamlit/proto/SessionStatus.proto\x1a\"streamlit/proto/AuthRedirect.proto\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/ForwardMsg.proto\x1a\x1fstreamlit/proto/AutoRerun.proto\x1a\x1cstreamlit/proto/Common.proto\x1a\x1bstreamlit/proto/Delta.proto\x1a\x1dstreamlit/proto/GitInfo.proto\x1a\x1astreamlit/proto/Logo.proto\x1a streamlit/proto/Navigation.proto\x1a streamlit/proto/NewSession.proto\x1a streamlit/proto/PageConfig.proto\x1a\x1estreamlit/proto/PageInfo.proto\x1a!streamlit/proto/PageProfile.proto\x1a\"streamlit/proto/PageNotFound.proto\x1a\"streamlit/proto/PagesChanged.proto\x1a#streamlit/proto/ParentMessage.proto\x1a\"streamlit/proto/SessionEvent.proto\x1a#streamlit/proto/SessionStatus.proto\x1a\"streamlit/proto/AuthRedirect.proto\"\x84\x08\n\nForwardMsg\x12\x0c\n\x04hash\x18\x01 \x01(\t\x12%\n\x08metadata\x18\x02 \x01(\x0b\x32\x13.ForwardMsgMetadata\x12\"\n\x0bnew_session\x18\x04 \x01(\x0b\x32\x0b.NewSessionH\x00\x12\x17\n\x05\x64\x65lta\x18\x05 \x01(\x0b\x32\x06.DeltaH\x00\x12&\n\x11page_info_changed\x18\x0c \x01(\x0b\x32\t.PageInfoH\x00\x12*\n\x13page_config_changed\x18\r \x01(\x0b\x32\x0b.PageConfigH\x00\x12;\n\x0fscript_finished\x18\x06 \x01(\x0e\x32 .ForwardMsg.ScriptFinishedStatusH\x00\x12$\n\x10git_info_changed\x18\x0e \x01(\x0b\x32\x08.GitInfoH\x00\x12$\n\x0cpage_profile\x18\x12 \x01(\x0b\x32\x0c.PageProfileH\x00\x12\x30\n\x16session_status_changed\x18\t \x01(\x0b\x32\x0e.SessionStatusH\x00\x12&\n\rsession_event\x18\n \x01(\x0b\x32\r.SessionEventH\x00\x12!\n\nnavigation\x18\x17 \x01(\x0b\x32\x0b.NavigationH\x00\x12\'\n\x0epage_not_found\x18\x0f \x01(\x0b\x32\r.PageNotFoundH\x00\x12*\n\rpages_changed\x18\x10 \x01(\x0b\x32\r.PagesChangedB\x02\x18\x01H\x00\x12/\n\x12\x66ile_urls_response\x18\x13 \x01(\x0b\x32\x11.FileURLsResponseH\x00\x12 \n\nauto_rerun\x18\x15 \x01(\x0b\x32\n.AutoRerunH\x00\x12\x15\n\x04logo\x18\x16 \x01(\x0b\x32\x05.LogoH\x00\x12&\n\rauth_redirect\x18\x18 \x01(\x0b\x32\r.AuthRedirectH\x00\x12(\n\x0eparent_message\x18\x14 \x01(\x0b\x32\x0e.ParentMessageH\x00\x12\x12\n\x08ref_hash\x18\x0b \x01(\tH\x00\x12\x37\n\x16\x64\x65\x66\x65rred_file_response\x18\x19 \x01(\x0b\x32\x15.DeferredFileResponseH\x00\x12\x1d\n\x15\x64\x65\x62ug_last_backmsg_id\x18\x11 \x01(\t\"\x98\x01\n\x14ScriptFinishedStatus\x12\x19\n\x15\x46INISHED_SUCCESSFULLY\x10\x00\x12\x1f\n\x1b\x46INISHED_WITH_COMPILE_ERROR\x10\x01\x12\x1c\n\x18\x46INISHED_EARLY_FOR_RERUN\x10\x02\x12&\n\"FINISHED_FRAGMENT_RUN_SUCCESSFULLY\x10\x03\x42\x06\n\x04typeJ\x04\x08\x07\x10\x08J\x04\x08\x08\x10\t\"G\n\x14\x44\x65\x66\x65rredFileResponse\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x11\n\terror_msg\x18\x03 \x01(\t\"\x8e\x01\n\x12\x46orwardMsgMetadata\x12\x11\n\tcacheable\x18\x01 \x01(\x08\x12\x12\n\ndelta_path\x18\x02 \x03(\r\x12\x35\n\x16\x65lement_dimension_spec\x18\x03 \x01(\x0b\x32\x15.ElementDimensionSpec\x12\x1a\n\x12\x61\x63tive_script_hash\x18\x04 \x01(\t\"5\n\x14\x45lementDimensionSpec\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\r\"/\n\x0e\x46orwardMsgList\x12\x1d\n\x08messages\x18\x01 \x03(\x0b\x32\x0b.ForwardMsgB/\n\x1c\x63om.snowflake.apps.streamlitB\x0f\x46orwardMsgProtob\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,13 +41,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_FORWARDMSG'].fields_by_name['pages_changed']._loaded_options = None
|
|
42
42
|
_globals['_FORWARDMSG'].fields_by_name['pages_changed']._serialized_options = b'\030\001'
|
|
43
43
|
_globals['_FORWARDMSG']._serialized_start=575
|
|
44
|
-
_globals['_FORWARDMSG']._serialized_end=
|
|
45
|
-
_globals['_FORWARDMSG_SCRIPTFINISHEDSTATUS']._serialized_start=
|
|
46
|
-
_globals['_FORWARDMSG_SCRIPTFINISHEDSTATUS']._serialized_end=
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
44
|
+
_globals['_FORWARDMSG']._serialized_end=1603
|
|
45
|
+
_globals['_FORWARDMSG_SCRIPTFINISHEDSTATUS']._serialized_start=1431
|
|
46
|
+
_globals['_FORWARDMSG_SCRIPTFINISHEDSTATUS']._serialized_end=1583
|
|
47
|
+
_globals['_DEFERREDFILERESPONSE']._serialized_start=1605
|
|
48
|
+
_globals['_DEFERREDFILERESPONSE']._serialized_end=1676
|
|
49
|
+
_globals['_FORWARDMSGMETADATA']._serialized_start=1679
|
|
50
|
+
_globals['_FORWARDMSGMETADATA']._serialized_end=1821
|
|
51
|
+
_globals['_ELEMENTDIMENSIONSPEC']._serialized_start=1823
|
|
52
|
+
_globals['_ELEMENTDIMENSIONSPEC']._serialized_end=1876
|
|
53
|
+
_globals['_FORWARDMSGLIST']._serialized_start=1878
|
|
54
|
+
_globals['_FORWARDMSGLIST']._serialized_end=1925
|
|
53
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -102,10 +102,11 @@ class ForwardMsg(google.protobuf.message.Message):
|
|
|
102
102
|
AUTH_REDIRECT_FIELD_NUMBER: builtins.int
|
|
103
103
|
PARENT_MESSAGE_FIELD_NUMBER: builtins.int
|
|
104
104
|
REF_HASH_FIELD_NUMBER: builtins.int
|
|
105
|
+
DEFERRED_FILE_RESPONSE_FIELD_NUMBER: builtins.int
|
|
105
106
|
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER: builtins.int
|
|
106
107
|
hash: builtins.str
|
|
107
108
|
"""A hash that uniquely identifies this ForwardMsg, for caching."""
|
|
108
|
-
script_finished:
|
|
109
|
+
script_finished: Global___ForwardMsg.ScriptFinishedStatus.ValueType
|
|
109
110
|
ref_hash: builtins.str
|
|
110
111
|
"""A reference to a ForwardMsg that has already been delivered
|
|
111
112
|
and cached in the frontend. The client should substitute the message
|
|
@@ -117,7 +118,7 @@ class ForwardMsg(google.protobuf.message.Message):
|
|
|
117
118
|
testing.
|
|
118
119
|
"""
|
|
119
120
|
@property
|
|
120
|
-
def metadata(self) ->
|
|
121
|
+
def metadata(self) -> Global___ForwardMsgMetadata:
|
|
121
122
|
"""Contains 'non-payload' ForwardMsg data that isn't cached for the purposes
|
|
122
123
|
of ForwardMsg de-duping.
|
|
123
124
|
"""
|
|
@@ -166,16 +167,20 @@ class ForwardMsg(google.protobuf.message.Message):
|
|
|
166
167
|
def parent_message(self) -> streamlit.proto.ParentMessage_pb2.ParentMessage:
|
|
167
168
|
"""Platform - message to host"""
|
|
168
169
|
|
|
170
|
+
@property
|
|
171
|
+
def deferred_file_response(self) -> Global___DeferredFileResponse:
|
|
172
|
+
"""Response for a deferred file request"""
|
|
173
|
+
|
|
169
174
|
def __init__(
|
|
170
175
|
self,
|
|
171
176
|
*,
|
|
172
177
|
hash: builtins.str = ...,
|
|
173
|
-
metadata:
|
|
178
|
+
metadata: Global___ForwardMsgMetadata | None = ...,
|
|
174
179
|
new_session: streamlit.proto.NewSession_pb2.NewSession | None = ...,
|
|
175
180
|
delta: streamlit.proto.Delta_pb2.Delta | None = ...,
|
|
176
181
|
page_info_changed: streamlit.proto.PageInfo_pb2.PageInfo | None = ...,
|
|
177
182
|
page_config_changed: streamlit.proto.PageConfig_pb2.PageConfig | None = ...,
|
|
178
|
-
script_finished:
|
|
183
|
+
script_finished: Global___ForwardMsg.ScriptFinishedStatus.ValueType = ...,
|
|
179
184
|
git_info_changed: streamlit.proto.GitInfo_pb2.GitInfo | None = ...,
|
|
180
185
|
page_profile: streamlit.proto.PageProfile_pb2.PageProfile | None = ...,
|
|
181
186
|
session_status_changed: streamlit.proto.SessionStatus_pb2.SessionStatus | None = ...,
|
|
@@ -189,13 +194,35 @@ class ForwardMsg(google.protobuf.message.Message):
|
|
|
189
194
|
auth_redirect: streamlit.proto.AuthRedirect_pb2.AuthRedirect | None = ...,
|
|
190
195
|
parent_message: streamlit.proto.ParentMessage_pb2.ParentMessage | None = ...,
|
|
191
196
|
ref_hash: builtins.str = ...,
|
|
197
|
+
deferred_file_response: Global___DeferredFileResponse | None = ...,
|
|
192
198
|
debug_last_backmsg_id: builtins.str = ...,
|
|
193
199
|
) -> None: ...
|
|
194
|
-
def HasField(self, field_name: typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"]) -> builtins.bool: ...
|
|
195
|
-
def ClearField(self, field_name: typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "debug_last_backmsg_id", b"debug_last_backmsg_id", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "hash", b"hash", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"]) -> None: ...
|
|
196
|
-
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["new_session", "delta", "page_info_changed", "page_config_changed", "script_finished", "git_info_changed", "page_profile", "session_status_changed", "session_event", "navigation", "page_not_found", "pages_changed", "file_urls_response", "auto_rerun", "logo", "auth_redirect", "parent_message", "ref_hash"] | None: ...
|
|
200
|
+
def HasField(self, field_name: typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "deferred_file_response", b"deferred_file_response", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"]) -> builtins.bool: ...
|
|
201
|
+
def ClearField(self, field_name: typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "debug_last_backmsg_id", b"debug_last_backmsg_id", "deferred_file_response", b"deferred_file_response", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "hash", b"hash", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"]) -> None: ...
|
|
202
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["new_session", "delta", "page_info_changed", "page_config_changed", "script_finished", "git_info_changed", "page_profile", "session_status_changed", "session_event", "navigation", "page_not_found", "pages_changed", "file_urls_response", "auto_rerun", "logo", "auth_redirect", "parent_message", "ref_hash", "deferred_file_response"] | None: ...
|
|
203
|
+
|
|
204
|
+
Global___ForwardMsg: typing_extensions.TypeAlias = ForwardMsg
|
|
205
|
+
|
|
206
|
+
@typing.final
|
|
207
|
+
class DeferredFileResponse(google.protobuf.message.Message):
|
|
208
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
209
|
+
|
|
210
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
211
|
+
URL_FIELD_NUMBER: builtins.int
|
|
212
|
+
ERROR_MSG_FIELD_NUMBER: builtins.int
|
|
213
|
+
file_id: builtins.str
|
|
214
|
+
url: builtins.str
|
|
215
|
+
error_msg: builtins.str
|
|
216
|
+
def __init__(
|
|
217
|
+
self,
|
|
218
|
+
*,
|
|
219
|
+
file_id: builtins.str = ...,
|
|
220
|
+
url: builtins.str = ...,
|
|
221
|
+
error_msg: builtins.str = ...,
|
|
222
|
+
) -> None: ...
|
|
223
|
+
def ClearField(self, field_name: typing.Literal["error_msg", b"error_msg", "file_id", b"file_id", "url", b"url"]) -> None: ...
|
|
197
224
|
|
|
198
|
-
|
|
225
|
+
Global___DeferredFileResponse: typing_extensions.TypeAlias = DeferredFileResponse
|
|
199
226
|
|
|
200
227
|
@typing.final
|
|
201
228
|
class ForwardMsgMetadata(google.protobuf.message.Message):
|
|
@@ -226,7 +253,7 @@ class ForwardMsgMetadata(google.protobuf.message.Message):
|
|
|
226
253
|
"""
|
|
227
254
|
|
|
228
255
|
@property
|
|
229
|
-
def element_dimension_spec(self) ->
|
|
256
|
+
def element_dimension_spec(self) -> Global___ElementDimensionSpec:
|
|
230
257
|
"""DEPRECATED: This is not used anymore."""
|
|
231
258
|
|
|
232
259
|
def __init__(
|
|
@@ -234,13 +261,13 @@ class ForwardMsgMetadata(google.protobuf.message.Message):
|
|
|
234
261
|
*,
|
|
235
262
|
cacheable: builtins.bool = ...,
|
|
236
263
|
delta_path: collections.abc.Iterable[builtins.int] | None = ...,
|
|
237
|
-
element_dimension_spec:
|
|
264
|
+
element_dimension_spec: Global___ElementDimensionSpec | None = ...,
|
|
238
265
|
active_script_hash: builtins.str = ...,
|
|
239
266
|
) -> None: ...
|
|
240
267
|
def HasField(self, field_name: typing.Literal["element_dimension_spec", b"element_dimension_spec"]) -> builtins.bool: ...
|
|
241
268
|
def ClearField(self, field_name: typing.Literal["active_script_hash", b"active_script_hash", "cacheable", b"cacheable", "delta_path", b"delta_path", "element_dimension_spec", b"element_dimension_spec"]) -> None: ...
|
|
242
269
|
|
|
243
|
-
|
|
270
|
+
Global___ForwardMsgMetadata: typing_extensions.TypeAlias = ForwardMsgMetadata
|
|
244
271
|
|
|
245
272
|
@typing.final
|
|
246
273
|
class ElementDimensionSpec(google.protobuf.message.Message):
|
|
@@ -264,7 +291,7 @@ class ElementDimensionSpec(google.protobuf.message.Message):
|
|
|
264
291
|
) -> None: ...
|
|
265
292
|
def ClearField(self, field_name: typing.Literal["height", b"height", "width", b"width"]) -> None: ...
|
|
266
293
|
|
|
267
|
-
|
|
294
|
+
Global___ElementDimensionSpec: typing_extensions.TypeAlias = ElementDimensionSpec
|
|
268
295
|
|
|
269
296
|
@typing.final
|
|
270
297
|
class ForwardMsgList(google.protobuf.message.Message):
|
|
@@ -279,12 +306,12 @@ class ForwardMsgList(google.protobuf.message.Message):
|
|
|
279
306
|
|
|
280
307
|
MESSAGES_FIELD_NUMBER: builtins.int
|
|
281
308
|
@property
|
|
282
|
-
def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
309
|
+
def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___ForwardMsg]: ...
|
|
283
310
|
def __init__(
|
|
284
311
|
self,
|
|
285
312
|
*,
|
|
286
|
-
messages: collections.abc.Iterable[
|
|
313
|
+
messages: collections.abc.Iterable[Global___ForwardMsg] | None = ...,
|
|
287
314
|
) -> None: ...
|
|
288
315
|
def ClearField(self, field_name: typing.Literal["messages", b"messages"]) -> None: ...
|
|
289
316
|
|
|
290
|
-
|
|
317
|
+
Global___ForwardMsgList: typing_extensions.TypeAlias = ForwardMsgList
|
streamlit/proto/GapSize_pb2.pyi
CHANGED
|
@@ -50,21 +50,21 @@ SMALL: GapSize.ValueType # 1
|
|
|
50
50
|
MEDIUM: GapSize.ValueType # 2
|
|
51
51
|
LARGE: GapSize.ValueType # 3
|
|
52
52
|
NONE: GapSize.ValueType # 4
|
|
53
|
-
|
|
53
|
+
Global___GapSize: typing_extensions.TypeAlias = GapSize
|
|
54
54
|
|
|
55
55
|
@typing.final
|
|
56
56
|
class GapConfig(google.protobuf.message.Message):
|
|
57
57
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
58
|
|
|
59
59
|
GAP_SIZE_FIELD_NUMBER: builtins.int
|
|
60
|
-
gap_size:
|
|
60
|
+
gap_size: Global___GapSize.ValueType
|
|
61
61
|
def __init__(
|
|
62
62
|
self,
|
|
63
63
|
*,
|
|
64
|
-
gap_size:
|
|
64
|
+
gap_size: Global___GapSize.ValueType = ...,
|
|
65
65
|
) -> None: ...
|
|
66
66
|
def HasField(self, field_name: typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"]) -> builtins.bool: ...
|
|
67
67
|
def ClearField(self, field_name: typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"]) -> None: ...
|
|
68
68
|
def WhichOneof(self, oneof_group: typing.Literal["gap_spec", b"gap_spec"]) -> typing.Literal["gap_size"] | None: ...
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Global___GapConfig: typing_extensions.TypeAlias = GapConfig
|
streamlit/proto/GitInfo_pb2.pyi
CHANGED
|
@@ -63,7 +63,7 @@ class GitInfo(google.protobuf.message.Message):
|
|
|
63
63
|
repository: builtins.str
|
|
64
64
|
branch: builtins.str
|
|
65
65
|
module: builtins.str
|
|
66
|
-
state:
|
|
66
|
+
state: Global___GitInfo.GitStates.ValueType
|
|
67
67
|
@property
|
|
68
68
|
def untracked_files(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
69
69
|
@property
|
|
@@ -76,8 +76,8 @@ class GitInfo(google.protobuf.message.Message):
|
|
|
76
76
|
module: builtins.str = ...,
|
|
77
77
|
untracked_files: collections.abc.Iterable[builtins.str] | None = ...,
|
|
78
78
|
uncommitted_files: collections.abc.Iterable[builtins.str] | None = ...,
|
|
79
|
-
state:
|
|
79
|
+
state: Global___GitInfo.GitStates.ValueType = ...,
|
|
80
80
|
) -> None: ...
|
|
81
81
|
def ClearField(self, field_name: typing.Literal["branch", b"branch", "module", b"module", "repository", b"repository", "state", b"state", "uncommitted_files", b"uncommitted_files", "untracked_files", b"untracked_files"]) -> None: ...
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
Global___GitInfo: typing_extensions.TypeAlias = GitInfo
|
|
@@ -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
|
|
@@ -50,4 +56,4 @@ class GraphVizChart(google.protobuf.message.Message):
|
|
|
50
56
|
) -> None: ...
|
|
51
57
|
def ClearField(self, field_name: typing.Literal["element_id", b"element_id", "engine", b"engine", "spec", b"spec", "use_container_width", b"use_container_width"]) -> None: ...
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
Global___GraphVizChart: typing_extensions.TypeAlias = GraphVizChart
|
streamlit/proto/Heading_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 Heading(google.protobuf.message.Message):
|
|
|
53
59
|
) -> None: ...
|
|
54
60
|
def ClearField(self, field_name: typing.Literal["anchor", b"anchor", "body", b"body", "divider", b"divider", "help", b"help", "hide_anchor", b"hide_anchor", "tag", b"tag"]) -> None: ...
|
|
55
61
|
|
|
56
|
-
|
|
62
|
+
Global___Heading: typing_extensions.TypeAlias = Heading
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/HeightConfig.proto\x12\tstreamlit\"
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/HeightConfig.proto\x12\tstreamlit\"y\n\x0cHeightConfig\x12\x15\n\x0buse_stretch\x18\x01 \x01(\x08H\x00\x12\x15\n\x0buse_content\x18\x02 \x01(\x08H\x00\x12\x16\n\x0cpixel_height\x18\x03 \x01(\rH\x00\x12\x14\n\nrem_height\x18\x04 \x01(\x02H\x00\x42\r\n\x0bheight_specB1\n\x1c\x63om.snowflake.apps.streamlitB\x11HeightConfigProtob\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\021HeightConfigProto'
|
|
25
25
|
_globals['_HEIGHTCONFIG']._serialized_start=49
|
|
26
|
-
_globals['_HEIGHTCONFIG']._serialized_end=
|
|
26
|
+
_globals['_HEIGHTCONFIG']._serialized_end=170
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -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
|
|
@@ -31,18 +37,21 @@ class HeightConfig(google.protobuf.message.Message):
|
|
|
31
37
|
USE_STRETCH_FIELD_NUMBER: builtins.int
|
|
32
38
|
USE_CONTENT_FIELD_NUMBER: builtins.int
|
|
33
39
|
PIXEL_HEIGHT_FIELD_NUMBER: builtins.int
|
|
40
|
+
REM_HEIGHT_FIELD_NUMBER: builtins.int
|
|
34
41
|
use_stretch: builtins.bool
|
|
35
42
|
use_content: builtins.bool
|
|
36
43
|
pixel_height: builtins.int
|
|
44
|
+
rem_height: builtins.float
|
|
37
45
|
def __init__(
|
|
38
46
|
self,
|
|
39
47
|
*,
|
|
40
48
|
use_stretch: builtins.bool = ...,
|
|
41
49
|
use_content: builtins.bool = ...,
|
|
42
50
|
pixel_height: builtins.int = ...,
|
|
51
|
+
rem_height: builtins.float = ...,
|
|
43
52
|
) -> None: ...
|
|
44
|
-
def HasField(self, field_name: typing.Literal["height_spec", b"height_spec", "pixel_height", b"pixel_height", "use_content", b"use_content", "use_stretch", b"use_stretch"]) -> builtins.bool: ...
|
|
45
|
-
def ClearField(self, field_name: typing.Literal["height_spec", b"height_spec", "pixel_height", b"pixel_height", "use_content", b"use_content", "use_stretch", b"use_stretch"]) -> None: ...
|
|
46
|
-
def WhichOneof(self, oneof_group: typing.Literal["height_spec", b"height_spec"]) -> typing.Literal["use_stretch", "use_content", "pixel_height"] | None: ...
|
|
53
|
+
def HasField(self, field_name: typing.Literal["height_spec", b"height_spec", "pixel_height", b"pixel_height", "rem_height", b"rem_height", "use_content", b"use_content", "use_stretch", b"use_stretch"]) -> builtins.bool: ...
|
|
54
|
+
def ClearField(self, field_name: typing.Literal["height_spec", b"height_spec", "pixel_height", b"pixel_height", "rem_height", b"rem_height", "use_content", b"use_content", "use_stretch", b"use_stretch"]) -> None: ...
|
|
55
|
+
def WhichOneof(self, oneof_group: typing.Literal["height_spec", b"height_spec"]) -> typing.Literal["use_stretch", "use_content", "pixel_height", "rem_height"] | None: ...
|
|
47
56
|
|
|
48
|
-
|
|
57
|
+
Global___HeightConfig: typing_extensions.TypeAlias = HeightConfig
|
streamlit/proto/Html_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\x1astreamlit/proto/Html.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Html.proto\"5\n\x04Html\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x1f\n\x17unsafe_allow_javascript\x18\x02 \x01(\x08\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tHtmlProtob\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\tHtmlProto'
|
|
25
25
|
_globals['_HTML']._serialized_start=30
|
|
26
|
-
_globals['_HTML']._serialized_end=
|
|
26
|
+
_globals['_HTML']._serialized_end=83
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Html_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
|
|
@@ -31,12 +37,15 @@ class Html(google.protobuf.message.Message):
|
|
|
31
37
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
32
38
|
|
|
33
39
|
BODY_FIELD_NUMBER: builtins.int
|
|
40
|
+
UNSAFE_ALLOW_JAVASCRIPT_FIELD_NUMBER: builtins.int
|
|
34
41
|
body: builtins.str
|
|
42
|
+
unsafe_allow_javascript: builtins.bool
|
|
35
43
|
def __init__(
|
|
36
44
|
self,
|
|
37
45
|
*,
|
|
38
46
|
body: builtins.str = ...,
|
|
47
|
+
unsafe_allow_javascript: builtins.bool = ...,
|
|
39
48
|
) -> None: ...
|
|
40
|
-
def ClearField(self, field_name: typing.Literal["body", b"body"]) -> None: ...
|
|
49
|
+
def ClearField(self, field_name: typing.Literal["body", b"body", "unsafe_allow_javascript", b"unsafe_allow_javascript"]) -> None: ...
|
|
41
50
|
|
|
42
|
-
|
|
51
|
+
Global___Html: typing_extensions.TypeAlias = Html
|
streamlit/proto/IFrame_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
|
|
@@ -65,4 +71,4 @@ class IFrame(google.protobuf.message.Message):
|
|
|
65
71
|
@typing.overload
|
|
66
72
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["src", "srcdoc"] | None: ...
|
|
67
73
|
|
|
68
|
-
|
|
74
|
+
Global___IFrame: typing_extensions.TypeAlias = IFrame
|
streamlit/proto/Image_pb2.pyi
CHANGED
|
@@ -22,8 +22,14 @@ import collections.abc
|
|
|
22
22
|
import google.protobuf.descriptor
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
|
+
import sys
|
|
25
26
|
import typing
|
|
26
27
|
|
|
28
|
+
if sys.version_info >= (3, 10):
|
|
29
|
+
import typing as typing_extensions
|
|
30
|
+
else:
|
|
31
|
+
import typing_extensions
|
|
32
|
+
|
|
27
33
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
28
34
|
|
|
29
35
|
@typing.final
|
|
@@ -50,7 +56,7 @@ class Image(google.protobuf.message.Message):
|
|
|
50
56
|
) -> None: ...
|
|
51
57
|
def ClearField(self, field_name: typing.Literal["caption", b"caption", "markup", b"markup", "url", b"url"]) -> None: ...
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
Global___Image: typing_extensions.TypeAlias = Image
|
|
54
60
|
|
|
55
61
|
@typing.final
|
|
56
62
|
class ImageList(google.protobuf.message.Message):
|
|
@@ -63,13 +69,13 @@ class ImageList(google.protobuf.message.Message):
|
|
|
63
69
|
width: builtins.int
|
|
64
70
|
"""DEPRECATED use widthConfig on Element.proto"""
|
|
65
71
|
@property
|
|
66
|
-
def imgs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
72
|
+
def imgs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Image]: ...
|
|
67
73
|
def __init__(
|
|
68
74
|
self,
|
|
69
75
|
*,
|
|
70
|
-
imgs: collections.abc.Iterable[
|
|
76
|
+
imgs: collections.abc.Iterable[Global___Image] | None = ...,
|
|
71
77
|
width: builtins.int = ...,
|
|
72
78
|
) -> None: ...
|
|
73
79
|
def ClearField(self, field_name: typing.Literal["imgs", b"imgs", "width", b"width"]) -> None: ...
|
|
74
80
|
|
|
75
|
-
|
|
81
|
+
Global___ImageList: typing_extensions.TypeAlias = ImageList
|
streamlit/proto/Json_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
|
|
@@ -50,4 +56,4 @@ class Json(google.protobuf.message.Message):
|
|
|
50
56
|
def ClearField(self, field_name: typing.Literal["_max_expand_depth", b"_max_expand_depth", "body", b"body", "expanded", b"expanded", "max_expand_depth", b"max_expand_depth"]) -> None: ...
|
|
51
57
|
def WhichOneof(self, oneof_group: typing.Literal["_max_expand_depth", b"_max_expand_depth"]) -> typing.Literal["max_expand_depth"] | None: ...
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
Global___Json: typing_extensions.TypeAlias = Json
|
|
@@ -57,12 +57,12 @@ class LabelVisibilityMessage(google.protobuf.message.Message):
|
|
|
57
57
|
COLLAPSED: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 2
|
|
58
58
|
|
|
59
59
|
VALUE_FIELD_NUMBER: builtins.int
|
|
60
|
-
value:
|
|
60
|
+
value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType
|
|
61
61
|
def __init__(
|
|
62
62
|
self,
|
|
63
63
|
*,
|
|
64
|
-
value:
|
|
64
|
+
value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType = ...,
|
|
65
65
|
) -> None: ...
|
|
66
66
|
def ClearField(self, field_name: typing.Literal["value", b"value"]) -> None: ...
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Global___LabelVisibilityMessage: typing_extensions.TypeAlias = LabelVisibilityMessage
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/LinkButton.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/LinkButton.proto\"\x9f\x01\n\nLinkButton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x06 \x01(\t\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x1b\n\x13use_container_width\x18\x08 \x01(\x08\x12\x0c\n\x04type\x18\t \x01(\t\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x10\n\x08shortcut\x18\x0b \x01(\tB/\n\x1c\x63om.snowflake.apps.streamlitB\x0fLinkButtonProtob\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\017LinkButtonProto'
|
|
25
25
|
_globals['_LINKBUTTON']._serialized_start=37
|
|
26
|
-
_globals['_LINKBUTTON']._serialized_end=
|
|
26
|
+
_globals['_LINKBUTTON']._serialized_end=196
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -20,14 +20,21 @@ 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
|
|
28
34
|
class LinkButton(google.protobuf.message.Message):
|
|
29
35
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
30
36
|
|
|
37
|
+
ID_FIELD_NUMBER: builtins.int
|
|
31
38
|
LABEL_FIELD_NUMBER: builtins.int
|
|
32
39
|
HELP_FIELD_NUMBER: builtins.int
|
|
33
40
|
URL_FIELD_NUMBER: builtins.int
|
|
@@ -35,6 +42,9 @@ class LinkButton(google.protobuf.message.Message):
|
|
|
35
42
|
USE_CONTAINER_WIDTH_FIELD_NUMBER: builtins.int
|
|
36
43
|
TYPE_FIELD_NUMBER: builtins.int
|
|
37
44
|
ICON_FIELD_NUMBER: builtins.int
|
|
45
|
+
SHORTCUT_FIELD_NUMBER: builtins.int
|
|
46
|
+
id: builtins.str
|
|
47
|
+
"""The ID is only needed if a shortcut is provided."""
|
|
38
48
|
label: builtins.str
|
|
39
49
|
help: builtins.str
|
|
40
50
|
url: builtins.str
|
|
@@ -42,9 +52,11 @@ class LinkButton(google.protobuf.message.Message):
|
|
|
42
52
|
use_container_width: builtins.bool
|
|
43
53
|
type: builtins.str
|
|
44
54
|
icon: builtins.str
|
|
55
|
+
shortcut: builtins.str
|
|
45
56
|
def __init__(
|
|
46
57
|
self,
|
|
47
58
|
*,
|
|
59
|
+
id: builtins.str = ...,
|
|
48
60
|
label: builtins.str = ...,
|
|
49
61
|
help: builtins.str = ...,
|
|
50
62
|
url: builtins.str = ...,
|
|
@@ -52,7 +64,8 @@ class LinkButton(google.protobuf.message.Message):
|
|
|
52
64
|
use_container_width: builtins.bool = ...,
|
|
53
65
|
type: builtins.str = ...,
|
|
54
66
|
icon: builtins.str = ...,
|
|
67
|
+
shortcut: builtins.str = ...,
|
|
55
68
|
) -> None: ...
|
|
56
|
-
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type", "url", b"url", "use_container_width", b"use_container_width"]) -> None: ...
|
|
69
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "shortcut", b"shortcut", "type", b"type", "url", b"url", "use_container_width", b"use_container_width"]) -> None: ...
|
|
57
70
|
|
|
58
|
-
|
|
71
|
+
Global___LinkButton: typing_extensions.TypeAlias = LinkButton
|
streamlit/proto/Logo_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
|
|
@@ -48,4 +54,4 @@ class Logo(google.protobuf.message.Message):
|
|
|
48
54
|
) -> None: ...
|
|
49
55
|
def ClearField(self, field_name: typing.Literal["icon_image", b"icon_image", "image", b"image", "link", b"link", "size", b"size"]) -> None: ...
|
|
50
56
|
|
|
51
|
-
|
|
57
|
+
Global___Logo: typing_extensions.TypeAlias = Logo
|
streamlit/proto/Markdown_pb2.pyi
CHANGED
|
@@ -70,7 +70,7 @@ class Markdown(google.protobuf.message.Message):
|
|
|
70
70
|
allow_html: builtins.bool
|
|
71
71
|
is_caption: builtins.bool
|
|
72
72
|
"""TODO [Karen]: Remove this field if favor of element_type"""
|
|
73
|
-
element_type:
|
|
73
|
+
element_type: Global___Markdown.Type.ValueType
|
|
74
74
|
help: builtins.str
|
|
75
75
|
def __init__(
|
|
76
76
|
self,
|
|
@@ -78,9 +78,9 @@ class Markdown(google.protobuf.message.Message):
|
|
|
78
78
|
body: builtins.str = ...,
|
|
79
79
|
allow_html: builtins.bool = ...,
|
|
80
80
|
is_caption: builtins.bool = ...,
|
|
81
|
-
element_type:
|
|
81
|
+
element_type: Global___Markdown.Type.ValueType = ...,
|
|
82
82
|
help: builtins.str = ...,
|
|
83
83
|
) -> None: ...
|
|
84
84
|
def ClearField(self, field_name: typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help", "is_caption", b"is_caption"]) -> None: ...
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
Global___Markdown: typing_extensions.TypeAlias = Markdown
|
streamlit/proto/Metric_pb2.pyi
CHANGED
|
@@ -96,11 +96,11 @@ class Metric(google.protobuf.message.Message):
|
|
|
96
96
|
label: builtins.str
|
|
97
97
|
body: builtins.str
|
|
98
98
|
delta: builtins.str
|
|
99
|
-
direction:
|
|
100
|
-
color:
|
|
99
|
+
direction: Global___Metric.MetricDirection.ValueType
|
|
100
|
+
color: Global___Metric.MetricColor.ValueType
|
|
101
101
|
help: builtins.str
|
|
102
102
|
show_border: builtins.bool
|
|
103
|
-
chart_type:
|
|
103
|
+
chart_type: Global___Metric.ChartType.ValueType
|
|
104
104
|
@property
|
|
105
105
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
106
106
|
@property
|
|
@@ -111,15 +111,15 @@ class Metric(google.protobuf.message.Message):
|
|
|
111
111
|
label: builtins.str = ...,
|
|
112
112
|
body: builtins.str = ...,
|
|
113
113
|
delta: builtins.str = ...,
|
|
114
|
-
direction:
|
|
115
|
-
color:
|
|
114
|
+
direction: Global___Metric.MetricDirection.ValueType = ...,
|
|
115
|
+
color: Global___Metric.MetricColor.ValueType = ...,
|
|
116
116
|
help: builtins.str = ...,
|
|
117
117
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
118
118
|
show_border: builtins.bool = ...,
|
|
119
119
|
chart_data: collections.abc.Iterable[builtins.float] | None = ...,
|
|
120
|
-
chart_type:
|
|
120
|
+
chart_type: Global___Metric.ChartType.ValueType = ...,
|
|
121
121
|
) -> None: ...
|
|
122
122
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
123
123
|
def ClearField(self, field_name: typing.Literal["body", b"body", "chart_data", b"chart_data", "chart_type", b"chart_type", "color", b"color", "delta", b"delta", "direction", b"direction", "help", b"help", "label", b"label", "label_visibility", b"label_visibility", "show_border", b"show_border"]) -> None: ...
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
Global___Metric: typing_extensions.TypeAlias = Metric
|