streamlit-nightly 1.41.2.dev20250107__py2.py3-none-any.whl → 1.41.2.dev20250109__py2.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 +11 -2
- streamlit/__main__.py +1 -1
- streamlit/auth_util.py +209 -0
- streamlit/cli_util.py +1 -1
- streamlit/column_config.py +1 -1
- streamlit/commands/__init__.py +1 -1
- streamlit/commands/echo.py +1 -1
- streamlit/commands/execution_control.py +1 -1
- streamlit/commands/experimental_query_params.py +1 -1
- streamlit/commands/logo.py +1 -1
- streamlit/commands/navigation.py +1 -1
- streamlit/commands/page_config.py +1 -1
- streamlit/components/__init__.py +1 -1
- streamlit/components/lib/__init__.py +1 -1
- streamlit/components/lib/local_component_registry.py +1 -1
- streamlit/components/types/__init__.py +1 -1
- streamlit/components/types/base_component_registry.py +1 -1
- streamlit/components/types/base_custom_component.py +1 -1
- streamlit/components/v1/__init__.py +1 -1
- streamlit/components/v1/component_arrow.py +1 -1
- streamlit/components/v1/component_registry.py +1 -1
- streamlit/components/v1/components.py +1 -1
- streamlit/components/v1/custom_component.py +1 -1
- streamlit/config.py +1 -1
- streamlit/config_option.py +1 -1
- streamlit/config_util.py +1 -1
- streamlit/connections/__init__.py +1 -1
- streamlit/connections/base_connection.py +1 -1
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/connections/snowpark_connection.py +1 -1
- streamlit/connections/sql_connection.py +1 -1
- streamlit/connections/util.py +1 -1
- streamlit/cursor.py +1 -1
- streamlit/dataframe_util.py +1 -1
- streamlit/delta_generator.py +1 -1
- streamlit/delta_generator_singletons.py +1 -1
- streamlit/deprecation_util.py +1 -1
- streamlit/development.py +1 -1
- streamlit/elements/__init__.py +1 -1
- streamlit/elements/alert.py +1 -1
- streamlit/elements/arrow.py +1 -1
- streamlit/elements/balloons.py +1 -1
- streamlit/elements/bokeh_chart.py +1 -1
- streamlit/elements/code.py +1 -1
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/dialog_decorator.py +1 -1
- streamlit/elements/doc_string.py +1 -1
- streamlit/elements/empty.py +1 -1
- streamlit/elements/exception.py +1 -1
- streamlit/elements/form.py +1 -1
- streamlit/elements/graphviz_chart.py +1 -1
- streamlit/elements/heading.py +1 -1
- streamlit/elements/html.py +1 -1
- streamlit/elements/iframe.py +1 -1
- streamlit/elements/image.py +1 -1
- streamlit/elements/json.py +1 -1
- streamlit/elements/layouts.py +1 -1
- streamlit/elements/lib/__init__.py +1 -1
- streamlit/elements/lib/built_in_chart_utils.py +1 -1
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/column_config_utils.py +1 -1
- streamlit/elements/lib/column_types.py +1 -1
- streamlit/elements/lib/dialog.py +1 -1
- streamlit/elements/lib/dicttools.py +1 -1
- streamlit/elements/lib/event_utils.py +1 -1
- streamlit/elements/lib/file_uploader_utils.py +1 -1
- streamlit/elements/lib/form_utils.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/lib/js_number.py +1 -1
- streamlit/elements/lib/mutable_status_container.py +1 -1
- streamlit/elements/lib/options_selector_utils.py +1 -1
- streamlit/elements/lib/pandas_styler_utils.py +1 -1
- streamlit/elements/lib/policies.py +1 -1
- streamlit/elements/lib/streamlit_plotly_theme.py +1 -1
- streamlit/elements/lib/subtitle_utils.py +1 -1
- streamlit/elements/lib/utils.py +1 -1
- streamlit/elements/map.py +1 -1
- streamlit/elements/markdown.py +1 -1
- streamlit/elements/media.py +1 -1
- streamlit/elements/metric.py +1 -1
- streamlit/elements/plotly_chart.py +1 -1
- streamlit/elements/progress.py +1 -1
- streamlit/elements/pyplot.py +1 -1
- streamlit/elements/snow.py +1 -1
- streamlit/elements/spinner.py +14 -7
- streamlit/elements/text.py +1 -1
- streamlit/elements/toast.py +1 -1
- streamlit/elements/vega_charts.py +1 -1
- streamlit/elements/widgets/__init__.py +1 -1
- streamlit/elements/widgets/audio_input.py +1 -1
- streamlit/elements/widgets/button.py +1 -1
- streamlit/elements/widgets/button_group.py +1 -1
- streamlit/elements/widgets/camera_input.py +1 -1
- streamlit/elements/widgets/chat.py +1 -1
- streamlit/elements/widgets/checkbox.py +1 -1
- streamlit/elements/widgets/color_picker.py +1 -1
- streamlit/elements/widgets/data_editor.py +1 -1
- streamlit/elements/widgets/file_uploader.py +1 -1
- streamlit/elements/widgets/multiselect.py +1 -1
- streamlit/elements/widgets/number_input.py +1 -1
- streamlit/elements/widgets/radio.py +1 -1
- streamlit/elements/widgets/select_slider.py +1 -1
- streamlit/elements/widgets/selectbox.py +1 -1
- streamlit/elements/widgets/slider.py +1 -1
- streamlit/elements/widgets/text_widgets.py +1 -1
- streamlit/elements/widgets/time_widgets.py +1 -1
- streamlit/elements/write.py +1 -1
- streamlit/emojis.py +1 -1
- streamlit/env_util.py +1 -1
- streamlit/error_util.py +1 -1
- streamlit/errors.py +5 -1
- streamlit/external/__init__.py +1 -1
- streamlit/external/langchain/__init__.py +1 -1
- streamlit/external/langchain/streamlit_callback_handler.py +1 -1
- streamlit/file_util.py +1 -1
- streamlit/git_util.py +1 -1
- streamlit/hello/__init__.py +1 -1
- streamlit/hello/animation_demo.py +1 -1
- streamlit/hello/dataframe_demo.py +1 -1
- streamlit/hello/hello.py +1 -1
- streamlit/hello/mapping_demo.py +1 -1
- streamlit/hello/plotting_demo.py +1 -1
- streamlit/hello/streamlit_app.py +1 -1
- streamlit/hello/utils.py +1 -1
- streamlit/logger.py +1 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/navigation/__init__.py +1 -1
- streamlit/navigation/page.py +1 -1
- streamlit/net_util.py +1 -1
- streamlit/platform.py +1 -1
- streamlit/proto/Alert_pb2.pyi +1 -1
- streamlit/proto/AppPage_pb2.pyi +1 -1
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +1 -1
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +1 -1
- streamlit/proto/Arrow_pb2.pyi +1 -1
- streamlit/proto/AudioInput_pb2.pyi +1 -1
- streamlit/proto/Audio_pb2.pyi +1 -1
- streamlit/proto/AuthRedirect_pb2.py +27 -0
- streamlit/proto/AuthRedirect_pb2.pyi +41 -0
- streamlit/proto/AutoRerun_pb2.pyi +1 -1
- streamlit/proto/BackMsg_pb2.pyi +1 -1
- streamlit/proto/Balloons_pb2.pyi +1 -1
- streamlit/proto/Block_pb2.pyi +1 -1
- streamlit/proto/BokehChart_pb2.pyi +1 -1
- streamlit/proto/ButtonGroup_pb2.pyi +1 -1
- streamlit/proto/Button_pb2.pyi +1 -1
- streamlit/proto/CameraInput_pb2.pyi +1 -1
- streamlit/proto/ChatInput_pb2.pyi +1 -1
- streamlit/proto/Checkbox_pb2.pyi +1 -1
- streamlit/proto/ClientState_pb2.pyi +1 -1
- streamlit/proto/Code_pb2.pyi +1 -1
- streamlit/proto/ColorPicker_pb2.pyi +1 -1
- streamlit/proto/Common_pb2.pyi +1 -1
- streamlit/proto/Components_pb2.pyi +1 -1
- streamlit/proto/DataFrame_pb2.pyi +1 -1
- streamlit/proto/DateInput_pb2.pyi +1 -1
- streamlit/proto/DeckGlJsonChart_pb2.pyi +1 -1
- streamlit/proto/Delta_pb2.pyi +1 -1
- streamlit/proto/DocString_pb2.pyi +1 -1
- streamlit/proto/DownloadButton_pb2.pyi +1 -1
- streamlit/proto/Element_pb2.pyi +1 -1
- streamlit/proto/Empty_pb2.pyi +1 -1
- streamlit/proto/Exception_pb2.pyi +1 -1
- streamlit/proto/Favicon_pb2.pyi +1 -1
- streamlit/proto/FileUploader_pb2.pyi +1 -1
- streamlit/proto/ForwardMsg_pb2.py +12 -9
- streamlit/proto/ForwardMsg_pb2.pyi +34 -4
- streamlit/proto/GitInfo_pb2.pyi +1 -1
- streamlit/proto/GraphVizChart_pb2.pyi +1 -1
- streamlit/proto/Heading_pb2.pyi +1 -1
- streamlit/proto/Html_pb2.pyi +1 -1
- streamlit/proto/IFrame_pb2.pyi +1 -1
- streamlit/proto/Image_pb2.pyi +1 -1
- streamlit/proto/Json_pb2.pyi +1 -1
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +1 -1
- streamlit/proto/LinkButton_pb2.pyi +1 -1
- streamlit/proto/Logo_pb2.pyi +1 -1
- streamlit/proto/Markdown_pb2.pyi +1 -1
- streamlit/proto/Metric_pb2.pyi +1 -1
- streamlit/proto/MetricsEvent_pb2.pyi +1 -1
- streamlit/proto/MultiSelect_pb2.pyi +1 -1
- streamlit/proto/NamedDataSet_pb2.pyi +1 -1
- streamlit/proto/Navigation_pb2.pyi +1 -1
- streamlit/proto/NewSession_pb2.pyi +1 -1
- streamlit/proto/NumberInput_pb2.pyi +1 -1
- streamlit/proto/PageConfig_pb2.pyi +1 -1
- streamlit/proto/PageInfo_pb2.pyi +1 -1
- streamlit/proto/PageLink_pb2.pyi +1 -1
- streamlit/proto/PageNotFound_pb2.pyi +1 -1
- streamlit/proto/PageProfile_pb2.pyi +1 -1
- streamlit/proto/PagesChanged_pb2.pyi +1 -1
- streamlit/proto/ParentMessage_pb2.pyi +1 -1
- streamlit/proto/PlotlyChart_pb2.pyi +1 -1
- streamlit/proto/Progress_pb2.pyi +1 -1
- streamlit/proto/Radio_pb2.pyi +1 -1
- streamlit/proto/RootContainer_pb2.pyi +1 -1
- streamlit/proto/Selectbox_pb2.pyi +1 -1
- streamlit/proto/SessionEvent_pb2.pyi +1 -1
- streamlit/proto/SessionStatus_pb2.pyi +1 -1
- streamlit/proto/Skeleton_pb2.pyi +1 -1
- streamlit/proto/Slider_pb2.pyi +1 -1
- streamlit/proto/Snow_pb2.pyi +1 -1
- streamlit/proto/Spinner_pb2.py +2 -2
- streamlit/proto/Spinner_pb2.pyi +6 -2
- streamlit/proto/TextArea_pb2.pyi +1 -1
- streamlit/proto/TextInput_pb2.pyi +1 -1
- streamlit/proto/Text_pb2.pyi +1 -1
- streamlit/proto/TimeInput_pb2.pyi +1 -1
- streamlit/proto/Toast_pb2.pyi +1 -1
- streamlit/proto/VegaLiteChart_pb2.pyi +1 -1
- streamlit/proto/Video_pb2.pyi +1 -1
- streamlit/proto/WidgetStates_pb2.pyi +1 -1
- streamlit/proto/__init__.py +1 -1
- streamlit/runtime/__init__.py +1 -1
- streamlit/runtime/app_session.py +6 -4
- streamlit/runtime/caching/__init__.py +1 -1
- streamlit/runtime/caching/cache_data_api.py +1 -1
- streamlit/runtime/caching/cache_errors.py +1 -1
- streamlit/runtime/caching/cache_resource_api.py +1 -1
- streamlit/runtime/caching/cache_type.py +1 -1
- streamlit/runtime/caching/cache_utils.py +1 -1
- streamlit/runtime/caching/cached_message_replay.py +1 -1
- streamlit/runtime/caching/hashing.py +1 -1
- streamlit/runtime/caching/legacy_cache_api.py +1 -1
- streamlit/runtime/caching/storage/__init__.py +1 -1
- streamlit/runtime/caching/storage/cache_storage_protocol.py +1 -1
- streamlit/runtime/caching/storage/dummy_cache_storage.py +1 -1
- streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper.py +1 -1
- streamlit/runtime/caching/storage/local_disk_cache_storage.py +1 -1
- streamlit/runtime/connection_factory.py +1 -1
- streamlit/runtime/context.py +1 -1
- streamlit/runtime/credentials.py +1 -1
- streamlit/runtime/forward_msg_cache.py +1 -1
- streamlit/runtime/forward_msg_queue.py +33 -5
- streamlit/runtime/fragment.py +2 -2
- streamlit/runtime/media_file_manager.py +1 -1
- streamlit/runtime/media_file_storage.py +1 -1
- streamlit/runtime/memory_media_file_storage.py +1 -1
- streamlit/runtime/memory_session_storage.py +1 -1
- streamlit/runtime/memory_uploaded_file_manager.py +1 -1
- streamlit/runtime/metrics_util.py +2 -1
- streamlit/runtime/pages_manager.py +1 -1
- streamlit/runtime/runtime.py +14 -3
- streamlit/runtime/runtime_util.py +1 -1
- streamlit/runtime/script_data.py +1 -1
- streamlit/runtime/scriptrunner/__init__.py +1 -1
- streamlit/runtime/scriptrunner/exec_code.py +34 -1
- streamlit/runtime/scriptrunner/magic.py +1 -1
- streamlit/runtime/scriptrunner/magic_funcs.py +1 -1
- streamlit/runtime/scriptrunner/script_cache.py +1 -1
- streamlit/runtime/scriptrunner/script_runner.py +22 -11
- streamlit/runtime/scriptrunner_utils/__init__.py +1 -1
- streamlit/runtime/scriptrunner_utils/exceptions.py +1 -1
- streamlit/runtime/scriptrunner_utils/script_requests.py +2 -1
- streamlit/runtime/scriptrunner_utils/script_run_context.py +2 -2
- streamlit/runtime/secrets.py +1 -1
- streamlit/runtime/session_manager.py +2 -2
- streamlit/runtime/state/__init__.py +1 -1
- streamlit/runtime/state/common.py +1 -1
- streamlit/runtime/state/query_params.py +1 -1
- streamlit/runtime/state/query_params_proxy.py +1 -1
- streamlit/runtime/state/safe_session_state.py +1 -1
- streamlit/runtime/state/session_state.py +1 -1
- streamlit/runtime/state/session_state_proxy.py +1 -1
- streamlit/runtime/state/widgets.py +1 -1
- streamlit/runtime/stats.py +1 -1
- streamlit/runtime/uploaded_file_manager.py +1 -1
- streamlit/runtime/websocket_session_manager.py +2 -2
- streamlit/source_util.py +1 -1
- streamlit/static/index.html +2 -2
- streamlit/static/static/js/{FileDownload.esm.Dod29kzi.js → FileDownload.esm.C6kraHI_.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.0CIwSBFI.js → FormClearHelper.Tmz_sTQ8.js} +1 -1
- streamlit/static/static/js/{Hooks.D0iBCSJR.js → Hooks.ChcK58kV.js} +1 -1
- streamlit/static/static/js/{InputInstructions.BGz0VNnm.js → InputInstructions.CWlmC2Qh.js} +1 -1
- streamlit/static/static/js/{ProgressBar.BaPlfiH4.js → ProgressBar.C2LLZx-o.js} +1 -1
- streamlit/static/static/js/RenderInPortalIfExists.BFB9tinI.js +1 -0
- streamlit/static/static/js/Toolbar.DVKl5Ty9.js +1 -0
- streamlit/static/static/js/{base-input.Fk16kR45.js → base-input.C7heAUz7.js} +1 -1
- streamlit/static/static/js/{createSuper.B8NDjS0T.js → createSuper.BGkH3lYW.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.C0oC7OWz.js → data-grid-overlay-editor.Cuw9mHAA.js} +1 -1
- streamlit/static/static/js/{downloader.BLJWoPl1.js → downloader.Dt0tCM6a.js} +1 -1
- streamlit/static/static/js/{es6.D9yZ4-e5.js → es6.DEWLLkEJ.js} +2 -2
- streamlit/static/static/js/{getPrototypeOf.DKKmv0PS.js → getPrototypeOf.BobjvJFE.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.Du2ek_IY.js → iframeResizer.contentWindow.Cb2nEQV3.js} +1 -1
- streamlit/static/static/js/index.2xRq6cMk.js +1 -0
- streamlit/static/static/js/{index.ncJlJcLt.js → index.3dqlv1Xq.js} +1 -1
- streamlit/static/static/js/index.4hESrvbj.js +1 -0
- streamlit/static/static/js/index.8LNY4OIb.js +4 -0
- streamlit/static/static/js/{index.Cfmr2hoW.js → index.B59J81FK.js} +1 -1
- streamlit/static/static/js/{index.CxrCMTqd.js → index.BAlqqBcw.js} +1 -1
- streamlit/static/static/js/index.BBm-I8-2.js +1 -0
- streamlit/static/static/js/{index.UMKksAwF.js → index.BEEgvyV0.js} +1 -1
- streamlit/static/static/js/{index.B8MC65SU.js → index.BSITpAz8.js} +29 -29
- streamlit/static/static/js/{index.K_IYAbRz.js → index.BU-BMiNz.js} +51 -51
- streamlit/static/static/js/{index.DcJiNltm.js → index.BbullfwT.js} +7 -7
- streamlit/static/static/js/index.BhvVhqgM.js +1 -0
- streamlit/static/static/js/index.Bo2RO7c-.js +1 -0
- streamlit/static/static/js/{index.C2_hseSo.js → index.BwUNY-jU.js} +1 -1
- streamlit/static/static/js/{index.C73yVjC9.js → index.C4ggakh6.js} +1 -1
- streamlit/static/static/js/index.C6zLaEWH.js +1 -0
- streamlit/static/static/js/{index.CaORMlLk.js → index.CJKd6KIo.js} +1 -1
- streamlit/static/static/js/{index.DCosyf4Y.js → index.CJrSPe9e.js} +1 -1
- streamlit/static/static/js/{index.clUXhmTv.js → index.CKpkbBQ4.js} +13 -13
- streamlit/static/static/js/{index.D-s5XFne.js → index.CKyzSK7k.js} +1 -1
- streamlit/static/static/js/{index.d_eIUHvJ.js → index.CWzMR4Qn.js} +2 -2
- streamlit/static/static/js/{index.DdG-jRFd.js → index.Caaf3Sch.js} +1 -1
- streamlit/static/static/js/{index.DU9T3IwS.js → index.CdNirCmM.js} +1 -1
- streamlit/static/static/js/{index.BAADbUet.js → index.CksJdg_n.js} +1 -1
- streamlit/static/static/js/{index.BZAVJreZ.js → index.Cq6-Dj2J.js} +1 -1
- streamlit/static/static/js/{index.CTvaDQgd.js → index.CsnZSzHc.js} +2 -2
- streamlit/static/static/js/index.D2_ysKuQ.js +1 -0
- streamlit/static/static/js/{index.BGyFJsxB.js → index.DA-jgmvJ.js} +1 -1
- streamlit/static/static/js/{index.CgHOvdK_.js → index.DSOFf22B.js} +1 -1
- streamlit/static/static/js/index.DTQeyNXN.js +1 -0
- streamlit/static/static/js/{index.CzDEy16B.js → index.De91xhMb.js} +1 -1
- streamlit/static/static/js/{index.CCLqv4q8.js → index.DeX4c3dx.js} +2 -2
- streamlit/static/static/js/{index.BEr9HRGP.js → index.IRVXqVyf.js} +1 -1
- streamlit/static/static/js/{index.DxFUMDyF.js → index.b1jbiVGt.js} +1 -1
- streamlit/static/static/js/{index.HXS4cXj6.js → index.bQJeNN28.js} +2 -2
- streamlit/static/static/js/{index.CGSuEM6K.js → index.kz_FxQ30.js} +1 -1
- streamlit/static/static/js/{index.BY0L_QLh.js → index.n7L72_oq.js} +2 -2
- streamlit/static/static/js/{input.BX19stYv.js → input.qSadM7Tx.js} +1 -1
- streamlit/static/static/js/{memory.DrUTC0E1.js → memory.CROZv0Mn.js} +1 -1
- streamlit/static/static/js/{mergeWith.DthgK8_y.js → mergeWith.CO-Rv2Zo.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.17BCi9Ve.js → number-overlay-editor.BRQhYKOF.js} +1 -1
- streamlit/static/static/js/{sandbox.5Hd92fh0.js → sandbox.CZKLDBgs.js} +1 -1
- streamlit/static/static/js/{slicedToArray.Bu7hUD78.js → slicedToArray.D36w_Bc8.js} +1 -1
- streamlit/static/static/js/{textarea.B2pXMKyh.js → textarea.DvzSPS_8.js} +1 -1
- streamlit/static/static/js/{timepicker.5G_63qYl.js → timepicker.FNAmrJ96.js} +1 -1
- streamlit/static/static/js/{uniqueId.B7repv29.js → uniqueId.BNjI9ROI.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.ZoM17KXF.js → useBasicWidgetState.B8IH-5cn.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.DK_jsnv_.js → useOnInputChange.B1QB2TNw.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.ByjGCoNh.js → withFullScreenWrapper.BT91IT4-.js} +1 -1
- streamlit/string_util.py +1 -1
- streamlit/temporary_directory.py +1 -1
- streamlit/testing/__init__.py +1 -1
- streamlit/testing/v1/__init__.py +1 -1
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/testing/v1/element_tree.py +1 -1
- streamlit/testing/v1/local_script_runner.py +1 -1
- streamlit/testing/v1/util.py +1 -1
- streamlit/time_util.py +1 -1
- streamlit/type_util.py +1 -1
- streamlit/url_util.py +24 -1
- streamlit/user_info.py +94 -27
- streamlit/util.py +1 -1
- streamlit/version.py +1 -1
- streamlit/watcher/__init__.py +1 -1
- streamlit/watcher/event_based_path_watcher.py +1 -1
- streamlit/watcher/folder_black_list.py +1 -1
- streamlit/watcher/local_sources_watcher.py +1 -1
- streamlit/watcher/path_watcher.py +1 -1
- streamlit/watcher/polling_path_watcher.py +1 -1
- streamlit/watcher/util.py +1 -1
- streamlit/web/__init__.py +1 -1
- streamlit/web/bootstrap.py +1 -1
- streamlit/web/cache_storage_manager_config.py +1 -1
- streamlit/web/cli.py +1 -1
- streamlit/web/server/__init__.py +1 -1
- streamlit/web/server/app_static_file_handler.py +1 -1
- streamlit/web/server/authlib_tornado_integration.py +58 -0
- streamlit/web/server/browser_websocket_handler.py +72 -6
- streamlit/web/server/component_request_handler.py +1 -1
- streamlit/web/server/media_file_handler.py +1 -1
- streamlit/web/server/oauth_authlib_routes.py +176 -0
- streamlit/web/server/oidc_mixin.py +108 -0
- streamlit/web/server/routes.py +6 -4
- streamlit/web/server/server.py +41 -4
- streamlit/web/server/server_util.py +25 -1
- streamlit/web/server/stats_request_handler.py +1 -1
- streamlit/web/server/upload_file_request_handler.py +3 -2
- streamlit/web/server/websocket_headers.py +1 -1
- {streamlit_nightly-1.41.2.dev20250107.data → streamlit_nightly-1.41.2.dev20250109.data}/scripts/streamlit.cmd +1 -1
- {streamlit_nightly-1.41.2.dev20250107.dist-info → streamlit_nightly-1.41.2.dev20250109.dist-info}/METADATA +14 -2
- streamlit_nightly-1.41.2.dev20250109.dist-info/RECORD +560 -0
- {streamlit_nightly-1.41.2.dev20250107.dist-info → streamlit_nightly-1.41.2.dev20250109.dist-info}/WHEEL +1 -1
- streamlit/static/static/js/RenderInPortalIfExists.CDLwOGJN.js +0 -1
- streamlit/static/static/js/Toolbar.U2Q07lHA.js +0 -1
- streamlit/static/static/js/index.C9Sks6cD.js +0 -1
- streamlit/static/static/js/index.CIPlrA_8.js +0 -1
- streamlit/static/static/js/index.CKwgjL0N.js +0 -1
- streamlit/static/static/js/index.Chl3QVe6.js +0 -1
- streamlit/static/static/js/index.Cnd636WC.js +0 -4
- streamlit/static/static/js/index.DbcRQLkk.js +0 -1
- streamlit/static/static/js/index.DnCNih03.js +0 -1
- streamlit/static/static/js/index.NpAsSk7C.js +0 -1
- streamlit/static/static/js/index.n6SGF_yN.js +0 -1
- streamlit/vendor/ipython/__init__.py +0 -0
- streamlit/vendor/ipython/modified_sys_path.py +0 -67
- streamlit_nightly-1.41.2.dev20250107.dist-info/RECORD +0 -556
- {streamlit_nightly-1.41.2.dev20250107.dist-info → streamlit_nightly-1.41.2.dev20250109.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.41.2.dev20250107.dist-info → streamlit_nightly-1.41.2.dev20250109.dist-info}/top_level.txt +0 -0
streamlit/proto/Metric_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/PageInfo_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/PageLink_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Progress_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Radio_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Skeleton_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Slider_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Snow_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Spinner_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\x1dstreamlit/proto/Spinner.proto\"
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Spinner.proto\"9\n\x07Spinner\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\r\n\x05\x63\x61\x63he\x18\x02 \x01(\x08\x12\x11\n\tshow_time\x18\x03 \x01(\x08\x42,\n\x1c\x63om.snowflake.apps.streamlitB\x0cSpinnerProtob\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\014SpinnerProto'
|
25
25
|
_globals['_SPINNER']._serialized_start=33
|
26
|
-
_globals['_SPINNER']._serialized_end=
|
26
|
+
_globals['_SPINNER']._serialized_end=90
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Spinner_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -30,16 +30,20 @@ class Spinner(google.protobuf.message.Message):
|
|
30
30
|
|
31
31
|
TEXT_FIELD_NUMBER: builtins.int
|
32
32
|
CACHE_FIELD_NUMBER: builtins.int
|
33
|
+
SHOW_TIME_FIELD_NUMBER: builtins.int
|
33
34
|
text: builtins.str
|
34
35
|
"""A message to display while executing that block."""
|
35
36
|
cache: builtins.bool
|
36
37
|
"""Whether spinner used in caching functions."""
|
38
|
+
show_time: builtins.bool
|
39
|
+
"""Whether to show elapsed time next to the spinner text."""
|
37
40
|
def __init__(
|
38
41
|
self,
|
39
42
|
*,
|
40
43
|
text: builtins.str = ...,
|
41
44
|
cache: builtins.bool = ...,
|
45
|
+
show_time: builtins.bool = ...,
|
42
46
|
) -> None: ...
|
43
|
-
def ClearField(self, field_name: typing.Literal["cache", b"cache", "text", b"text"]) -> None: ...
|
47
|
+
def ClearField(self, field_name: typing.Literal["cache", b"cache", "show_time", b"show_time", "text", b"text"]) -> None: ...
|
44
48
|
|
45
49
|
global___Spinner = Spinner
|
streamlit/proto/TextArea_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Text_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Toast_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/Video_pb2.pyi
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@generated by mypy-protobuf. Do not edit manually!
|
3
3
|
isort:skip_file
|
4
4
|
*!
|
5
|
-
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
6
6
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License");
|
8
8
|
you may not use this file except in compliance with the License.
|
streamlit/proto/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
streamlit/runtime/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
streamlit/runtime/app_session.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -85,7 +85,7 @@ class AppSession:
|
|
85
85
|
uploaded_file_manager: UploadedFileManager,
|
86
86
|
script_cache: ScriptCache,
|
87
87
|
message_enqueued_callback: Callable[[], None] | None,
|
88
|
-
user_info: dict[str, str | None],
|
88
|
+
user_info: dict[str, str | bool | None],
|
89
89
|
session_id_override: str | None = None,
|
90
90
|
) -> None:
|
91
91
|
"""Initialize the AppSession.
|
@@ -283,7 +283,6 @@ class AppSession:
|
|
283
283
|
"""Process a BackMsg."""
|
284
284
|
try:
|
285
285
|
msg_type = msg.WhichOneof("type")
|
286
|
-
|
287
286
|
if msg_type == "rerun_script":
|
288
287
|
if msg.debug_last_backmsg_id:
|
289
288
|
self._debug_last_backmsg_id = msg.debug_last_backmsg_id
|
@@ -400,6 +399,10 @@ class AppSession:
|
|
400
399
|
if self._scriptrunner is not None:
|
401
400
|
self._scriptrunner.request_stop()
|
402
401
|
|
402
|
+
def clear_user_info(self) -> None:
|
403
|
+
"""Clear the user info for this session."""
|
404
|
+
self._user_info.clear()
|
405
|
+
|
403
406
|
def _create_scriptrunner(self, initial_rerun_data: RerunData) -> None:
|
404
407
|
"""Create and run a new ScriptRunner with the given RerunData."""
|
405
408
|
self._scriptrunner = ScriptRunner(
|
@@ -572,7 +575,6 @@ class AppSession:
|
|
572
575
|
if event == ScriptRunnerEvent.SCRIPT_STARTED:
|
573
576
|
if self._state != AppSessionState.SHUTDOWN_REQUESTED:
|
574
577
|
self._state = AppSessionState.APP_IS_RUNNING
|
575
|
-
|
576
578
|
assert (
|
577
579
|
page_script_hash is not None
|
578
580
|
), "page_script_hash must be set for the SCRIPT_STARTED event"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
streamlit/runtime/context.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
streamlit/runtime/credentials.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
4
|
# you may not use this file except in compliance with the License.
|