streamlit 1.51.0__py3-none-any.whl → 1.52.1__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 +1 -0
- streamlit/commands/execution_control.py +89 -14
- streamlit/components/v1/component_arrow.py +7 -7
- streamlit/components/v2/__init__.py +59 -3
- streamlit/components/v2/bidi_component/main.py +161 -13
- streamlit/components/v2/bidi_component/serialization.py +13 -6
- streamlit/components/v2/component_manager.py +11 -3
- streamlit/components/v2/component_registry.py +18 -1
- streamlit/components/v2/types.py +2 -2
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/connections/snowpark_connection.py +1 -1
- streamlit/dataframe_util.py +18 -18
- streamlit/delta_generator.py +7 -0
- streamlit/delta_generator_singletons.py +8 -14
- streamlit/elements/alert.py +16 -0
- streamlit/elements/arrow.py +36 -6
- streamlit/elements/bokeh_chart.py +10 -78
- streamlit/elements/code.py +2 -2
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/exception.py +1 -1
- streamlit/elements/form.py +27 -0
- streamlit/elements/heading.py +60 -5
- streamlit/elements/html.py +13 -2
- streamlit/elements/image.py +1 -1
- streamlit/elements/layouts.py +28 -22
- streamlit/elements/lib/built_in_chart_utils.py +49 -16
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/column_config_utils.py +6 -5
- streamlit/elements/lib/layout_utils.py +50 -0
- streamlit/elements/lib/pandas_styler_utils.py +17 -9
- streamlit/elements/lib/shortcut_utils.py +152 -0
- streamlit/elements/markdown.py +50 -3
- streamlit/elements/metric.py +31 -1
- streamlit/elements/plotly_chart.py +75 -6
- streamlit/elements/spinner.py +1 -1
- streamlit/elements/text.py +20 -3
- streamlit/elements/toast.py +2 -0
- streamlit/elements/vega_charts.py +17 -1
- streamlit/elements/widgets/audio_input.py +8 -7
- streamlit/elements/widgets/button.py +279 -40
- streamlit/elements/widgets/button_group.py +27 -2
- streamlit/elements/widgets/camera_input.py +1 -1
- streamlit/elements/widgets/chat.py +300 -42
- streamlit/elements/widgets/color_picker.py +7 -0
- streamlit/elements/widgets/data_editor.py +68 -28
- streamlit/elements/widgets/file_uploader.py +4 -1
- streamlit/elements/widgets/number_input.py +2 -0
- streamlit/elements/widgets/text_widgets.py +2 -0
- streamlit/elements/widgets/time_widgets.py +581 -9
- streamlit/errors.py +22 -0
- streamlit/git_util.py +1 -1
- streamlit/navigation/page.py +7 -0
- streamlit/net_util.py +2 -2
- streamlit/proto/Alert_pb2.pyi +3 -3
- streamlit/proto/AppPage_pb2.pyi +7 -1
- streamlit/proto/ArrowData_pb2.pyi +7 -1
- 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.pyi +10 -4
- streamlit/proto/Block_pb2.pyi +35 -35
- 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.pyi +3 -3
- 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 +5 -3
- streamlit/proto/Element_pb2.pyi +23 -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.pyi +7 -1
- 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.pyi +40 -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.pyi +6 -6
- 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.pyi +7 -1
- 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.pyi +10 -4
- streamlit/proto/WidthConfig_pb2.pyi +7 -1
- streamlit/proto/openmetrics_data_model_pb2.pyi +52 -52
- streamlit/runtime/app_session.py +38 -1
- streamlit/runtime/caching/cache_data_api.py +1 -1
- streamlit/runtime/caching/cache_resource_api.py +2 -2
- streamlit/runtime/caching/cache_utils.py +1 -1
- streamlit/runtime/caching/hashing.py +1 -1
- streamlit/runtime/download_data_util.py +53 -0
- streamlit/runtime/forward_msg_queue.py +1 -0
- streamlit/runtime/media_file_manager.py +178 -2
- streamlit/runtime/metrics_util.py +87 -3
- streamlit/runtime/scriptrunner/script_runner.py +3 -1
- streamlit/runtime/state/query_params.py +80 -29
- streamlit/runtime/state/session_state.py +2 -2
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +530 -229
- streamlit/static/static/js/{ErrorOutline.esm.YoJdlW1p.js → ErrorOutline.esm.sMJdFExW.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.Ddx8VEYy.js → FileDownload.esm.CV-WYqBn.js} +1 -1
- streamlit/static/static/js/{FileHelper.90EtOmj9.js → FileHelper.5nCh9KDY.js} +3 -3
- streamlit/static/static/js/{FormClearHelper.BB1Km6eP.js → FormClearHelper.-9RbsnV0.js} +1 -1
- streamlit/static/static/js/IFrameUtil.DefezniK.js +1 -0
- streamlit/static/static/js/InputInstructions.2R3tBtW9.js +1 -0
- streamlit/static/static/js/Particles.DDHoXFxh.js +1 -0
- streamlit/static/static/js/{ProgressBar.DLY8H6nE.js → ProgressBar.BxmfHxKu.js} +2 -2
- streamlit/static/static/js/StreamlitSyntaxHighlighter.BFWV0oqR.js +20 -0
- streamlit/static/static/js/{Toolbar.D8nHCkuz.js → Toolbar.DMgU0Vgw.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.CJGiNqed.js → base-input.BXTqYbyG.js} +4 -4
- streamlit/static/static/js/{checkbox.Cpdd482O.js → checkbox.5xWaqPqm.js} +1 -1
- streamlit/static/static/js/{createSuper.CuQIogbW.js → createSuper.OIgV8wc-.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.B4RIu9cw.js +1 -0
- streamlit/static/static/js/{downloader.CN0K7xlu.js → downloader.DwCJck8O.js} +1 -1
- streamlit/static/static/js/embed.HKcgTiLB.js +195 -0
- streamlit/static/static/js/{es6.BJcsVXQ0.js → es6.4AP97RGk.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.XzUvQqcZ.js → iframeResizer.contentWindow.BZAsvL9q.js} +1 -1
- streamlit/static/static/js/index.-3selq_5.js +2 -0
- streamlit/static/static/js/index.1ylynMAS.js +7 -0
- streamlit/static/static/js/{index.CxIUUfab.js → index.6UunrySF.js} +53 -122
- streamlit/static/static/js/index.8HslT92O.js +14 -0
- streamlit/static/static/js/index.B0TPxAZ1.js +1 -0
- streamlit/static/static/js/index.B0yp3bM1.js +6 -0
- streamlit/static/static/js/index.BHWBaOWH.js +1 -0
- streamlit/static/static/js/index.BJas6XzW.js +1 -0
- streamlit/static/static/js/index.BKIlG7Ng.js +3 -0
- streamlit/static/static/js/index.BMU6zZRk.js +1 -0
- streamlit/static/static/js/index.BNMLO-0p.js +2 -0
- streamlit/static/static/js/index.BPmBNTel.js +1 -0
- streamlit/static/static/js/index.BVuohWM1.js +1 -0
- streamlit/static/static/js/index.B_AvdOKC.js +1 -0
- streamlit/static/static/js/index.BjQIH-3U.js +1 -0
- streamlit/static/static/js/index.BrqtKtSu.js +2 -0
- streamlit/static/static/js/index.Buc7XrOl.js +188 -0
- streamlit/static/static/js/index.CIC9pLsG.js +2 -0
- streamlit/static/static/js/index.CP2YZ73v.js +1 -0
- streamlit/static/static/js/index.CSbah0y4.js +27 -0
- streamlit/static/static/js/index.CbiYVMT1.js +1 -0
- streamlit/static/static/js/index.CbxllBj8.js +1 -0
- streamlit/static/static/js/index.Cd1D2eGF.js +263 -0
- streamlit/static/static/js/index.Ckcqwai8.js +2 -0
- streamlit/static/static/js/index.CqTPbV5Y.js +151 -0
- streamlit/static/static/js/index.CxXo5UKy.js +1 -0
- streamlit/static/static/js/index.CxbL5FgL.js +1 -0
- streamlit/static/static/js/index.D52dMvK5.js +1 -0
- streamlit/static/static/js/index.DBUdji-9.js +3 -0
- streamlit/static/static/js/index.DMU3coc2.js +1 -0
- streamlit/static/static/js/index.DN4sfQLP.js +1 -0
- streamlit/static/static/js/{index.DPUXkcQL.js → index.DRDE9rnx.js} +1 -1
- streamlit/static/static/js/{index.B_dWA3vd.js → index.DY9Ac89e.js} +2 -2
- streamlit/static/static/js/index.DYKCsDvl.js +1 -0
- streamlit/static/static/js/index.Da9gznCC.js +1 -0
- streamlit/static/static/js/index.DfIRibXG.js +1 -0
- streamlit/static/static/js/{index.D3GPA5k4.js → index.Dg5zbEp2.js} +9 -40
- streamlit/static/static/js/index.Di9I2cid.js +1 -0
- streamlit/static/static/js/index.DkpEv0uV.js +1 -0
- streamlit/static/static/js/index.DwJ9Vhsl.js +1 -0
- streamlit/static/static/js/index.L7erTnMm.js +1 -0
- streamlit/static/static/js/{index.DOFlg3dS.js → index.NaDyAN1s.js} +1 -1
- streamlit/static/static/js/index.RNTPpVde.js +1 -0
- streamlit/static/static/js/index.VFDFuf_7.js +1 -0
- streamlit/static/static/js/index.W-bl3NDo.js +1 -0
- streamlit/static/static/js/index.XYozEjwK.js +1 -0
- streamlit/static/static/js/index.oyLQ4pue.js +1 -0
- streamlit/static/static/js/index.q4fLUQtC.js +11 -0
- streamlit/static/static/js/index.q9puCQgK.js +2 -0
- streamlit/static/static/js/index.xZBTXGNC.js +1 -0
- streamlit/static/static/js/{input.D4MN_FzN.js → input.CcvrgErO.js} +2 -2
- streamlit/static/static/js/main.eVHOp4Th.js +13 -0
- streamlit/static/static/js/{memory.DrZjtdGT.js → memory.Ck_sLv5Y.js} +1 -1
- streamlit/static/static/js/moment.C3j7ZXd7.js +4 -0
- streamlit/static/static/js/number-overlay-editor.DgcLMWOy.js +9 -0
- streamlit/static/static/js/pandasStylerUtils.DqP0h70z.js +1 -0
- streamlit/static/static/js/{possibleConstructorReturn.exeeJQEP.js → possibleConstructorReturn.C_51n46K.js} +1 -1
- streamlit/static/static/js/{sandbox.ClO3IuUr.js → sandbox.Q-g3QIZJ.js} +1 -1
- streamlit/static/static/js/styled-components.e0V96rJw.js +1 -0
- streamlit/static/static/js/threshold.Q1mXg5rX.js +1 -0
- streamlit/static/static/js/throttle.D3b5WILl.js +1 -0
- streamlit/static/static/js/{timepicker.DAhu-vcF.js → timepicker.Bpn70xGc.js} +1 -1
- streamlit/static/static/js/timer.C2hYhUse.js +1 -0
- streamlit/static/static/js/{toConsumableArray.DNbljYEC.js → toConsumableArray.DIN_ys1J.js} +1 -1
- streamlit/static/static/js/uniqueId.B27POWT6.js +1 -0
- streamlit/static/static/js/urls.BwSlolu9.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.D6sOH6oI.js → useBasicWidgetState.DA3_qaXD.js} +1 -1
- streamlit/static/static/js/useIntlLocale.BSq6SANa.js +12 -0
- streamlit/static/static/js/{useTextInputAutoExpand.4u3_GcuN.js → useTextInputAutoExpand.ytEW5QmA.js} +1 -1
- streamlit/static/static/js/useUpdateUiValue.DOxWBNiI.js +1 -0
- streamlit/static/static/js/useWaveformController.BCmk6WLk.js +1 -0
- streamlit/static/static/js/value.B4vHRSi7.js +1 -0
- streamlit/static/static/js/withCalculatedWidth.ChdrMItN.js +1 -0
- streamlit/static/static/js/withFullScreenWrapper.7j_lzlaF.js +1 -0
- streamlit/string_util.py +8 -1
- streamlit/testing/v1/app_test.py +15 -0
- streamlit/testing/v1/element_tree.py +62 -0
- streamlit/web/bootstrap.py +24 -0
- streamlit/web/server/oauth_authlib_routes.py +5 -2
- streamlit/web/server/upload_file_request_handler.py +16 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.1.dist-info}/METADATA +9 -5
- {streamlit-1.51.0.dist-info → streamlit-1.52.1.dist-info}/RECORD +274 -239
- streamlit/static/static/js/InputInstructions.jhH15PqV.js +0 -1
- streamlit/static/static/js/Particles.DUsputn1.js +0 -1
- streamlit/static/static/js/data-grid-overlay-editor.2Ufgxc6y.js +0 -1
- streamlit/static/static/js/index.B1ZQh4P1.js +0 -1
- streamlit/static/static/js/index.BKstZk0M.js +0 -27
- streamlit/static/static/js/index.BMcFsUee.js +0 -1
- streamlit/static/static/js/index.BR-IdcTb.js +0 -2
- streamlit/static/static/js/index.BgnZEMVh.js +0 -1
- streamlit/static/static/js/index.BohqXifI.js +0 -1
- streamlit/static/static/js/index.Br5nxKNj.js +0 -2
- streamlit/static/static/js/index.BrIKVbNc.js +0 -3
- streamlit/static/static/js/index.BtWUPzle.js +0 -1
- streamlit/static/static/js/index.C0RLraek.js +0 -1
- streamlit/static/static/js/index.CAIjskgG.js +0 -1
- streamlit/static/static/js/index.CAj-7vWz.js +0 -949
- streamlit/static/static/js/index.CMtEit2O.js +0 -1
- streamlit/static/static/js/index.CkRlykEE.js +0 -12
- streamlit/static/static/js/index.CmN3FXfI.js +0 -1617
- streamlit/static/static/js/index.CwbFI1_-.js +0 -1
- streamlit/static/static/js/index.D2KPNy7e.js +0 -1
- streamlit/static/static/js/index.DGAh7DMq.js +0 -1
- streamlit/static/static/js/index.DKb_NvmG.js +0 -197
- streamlit/static/static/js/index.DMqgUYKq.js +0 -1
- streamlit/static/static/js/index.DX1xY89g.js +0 -1
- streamlit/static/static/js/index.DYATBCsq.js +0 -2
- streamlit/static/static/js/index.DaSmGJ76.js +0 -3
- streamlit/static/static/js/index.Dd7bMeLP.js +0 -1
- streamlit/static/static/js/index.DjmmgI5U.js +0 -1
- streamlit/static/static/js/index.Dq56CyM2.js +0 -1
- streamlit/static/static/js/index.DuiXaS5_.js +0 -7
- streamlit/static/static/js/index.DvFidMLe.js +0 -2
- streamlit/static/static/js/index.DwkhC5Pc.js +0 -1
- streamlit/static/static/js/index.Q-3sFn1v.js +0 -1
- streamlit/static/static/js/index.QJ5QO9sJ.js +0 -1
- streamlit/static/static/js/index.VwTaeety.js +0 -1
- streamlit/static/static/js/index.YOqQbeX8.js +0 -1
- streamlit/static/static/js/number-overlay-editor.DRwAw1In.js +0 -9
- streamlit/static/static/js/uniqueId.oG4Gvj1v.js +0 -1
- streamlit/static/static/js/useUpdateUiValue.F2R3eTeR.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.zothJIsI.js +0 -1
- {streamlit-1.51.0.data → streamlit-1.52.1.data}/scripts/streamlit.cmd +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.1.dist-info}/WHEEL +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.1.dist-info}/entry_points.txt +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.1.dist-info}/top_level.txt +0 -0
streamlit/proto/Radio_pb2.pyi
CHANGED
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -81,4 +87,4 @@ class Radio(google.protobuf.message.Message):
|
|
|
81
87
|
@typing.overload
|
|
82
88
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
83
89
|
|
|
84
|
-
|
|
90
|
+
Global___Radio: typing_extensions.TypeAlias = Radio
|
|
@@ -23,8 +23,14 @@ import google.protobuf.descriptor
|
|
|
23
23
|
import google.protobuf.internal.containers
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
26
|
+
import sys
|
|
26
27
|
import typing
|
|
27
28
|
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
import typing as typing_extensions
|
|
31
|
+
else:
|
|
32
|
+
import typing_extensions
|
|
33
|
+
|
|
28
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
29
35
|
|
|
30
36
|
@typing.final
|
|
@@ -90,4 +96,4 @@ class Selectbox(google.protobuf.message.Message):
|
|
|
90
96
|
@typing.overload
|
|
91
97
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
Global___Selectbox: typing_extensions.TypeAlias = Selectbox
|
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.Exception_pb2
|
|
24
|
+
import sys
|
|
24
25
|
import typing
|
|
25
26
|
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
26
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
27
33
|
|
|
28
34
|
@typing.final
|
|
@@ -59,4 +65,4 @@ class SessionEvent(google.protobuf.message.Message):
|
|
|
59
65
|
def ClearField(self, field_name: typing.Literal["script_changed_on_disk", b"script_changed_on_disk", "script_compilation_exception", b"script_compilation_exception", "script_was_manually_stopped", b"script_was_manually_stopped", "type", b"type"]) -> None: ...
|
|
60
66
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["script_changed_on_disk", "script_was_manually_stopped", "script_compilation_exception"] | None: ...
|
|
61
67
|
|
|
62
|
-
|
|
68
|
+
Global___SessionEvent: typing_extensions.TypeAlias = SessionEvent
|
|
@@ -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
|
|
@@ -54,4 +60,4 @@ class SessionStatus(google.protobuf.message.Message):
|
|
|
54
60
|
) -> None: ...
|
|
55
61
|
def ClearField(self, field_name: typing.Literal["run_on_save", b"run_on_save", "script_is_running", b"script_is_running"]) -> None: ...
|
|
56
62
|
|
|
57
|
-
|
|
63
|
+
Global___SessionStatus: typing_extensions.TypeAlias = SessionStatus
|
streamlit/proto/Skeleton_pb2.pyi
CHANGED
|
@@ -54,18 +54,18 @@ class Skeleton(google.protobuf.message.Message):
|
|
|
54
54
|
|
|
55
55
|
STYLE_FIELD_NUMBER: builtins.int
|
|
56
56
|
HEIGHT_FIELD_NUMBER: builtins.int
|
|
57
|
-
style:
|
|
57
|
+
style: Global___Skeleton.SkeletonStyle.ValueType
|
|
58
58
|
"""Skeleton visual style"""
|
|
59
59
|
height: builtins.int
|
|
60
60
|
"""Height in pixels"""
|
|
61
61
|
def __init__(
|
|
62
62
|
self,
|
|
63
63
|
*,
|
|
64
|
-
style:
|
|
64
|
+
style: Global___Skeleton.SkeletonStyle.ValueType = ...,
|
|
65
65
|
height: builtins.int | None = ...,
|
|
66
66
|
) -> None: ...
|
|
67
67
|
def HasField(self, field_name: typing.Literal["_height", b"_height", "height", b"height"]) -> builtins.bool: ...
|
|
68
68
|
def ClearField(self, field_name: typing.Literal["_height", b"_height", "height", b"height", "style", b"style"]) -> None: ...
|
|
69
69
|
def WhichOneof(self, oneof_group: typing.Literal["_height", b"_height"]) -> typing.Literal["height"] | None: ...
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
Global___Skeleton: typing_extensions.TypeAlias = Skeleton
|
streamlit/proto/Slider_pb2.pyi
CHANGED
|
@@ -100,14 +100,14 @@ class Slider(google.protobuf.message.Message):
|
|
|
100
100
|
form_id: builtins.str
|
|
101
101
|
label: builtins.str
|
|
102
102
|
format: builtins.str
|
|
103
|
-
data_type:
|
|
103
|
+
data_type: Global___Slider.DataType.ValueType
|
|
104
104
|
min: builtins.float
|
|
105
105
|
max: builtins.float
|
|
106
106
|
step: builtins.float
|
|
107
107
|
set_value: builtins.bool
|
|
108
108
|
help: builtins.str
|
|
109
109
|
disabled: builtins.bool
|
|
110
|
-
type:
|
|
110
|
+
type: Global___Slider.Type.ValueType
|
|
111
111
|
@property
|
|
112
112
|
def default(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
|
|
113
113
|
@property
|
|
@@ -123,7 +123,7 @@ class Slider(google.protobuf.message.Message):
|
|
|
123
123
|
form_id: builtins.str = ...,
|
|
124
124
|
label: builtins.str = ...,
|
|
125
125
|
format: builtins.str = ...,
|
|
126
|
-
data_type:
|
|
126
|
+
data_type: Global___Slider.DataType.ValueType = ...,
|
|
127
127
|
default: collections.abc.Iterable[builtins.float] | None = ...,
|
|
128
128
|
min: builtins.float = ...,
|
|
129
129
|
max: builtins.float = ...,
|
|
@@ -134,9 +134,9 @@ class Slider(google.protobuf.message.Message):
|
|
|
134
134
|
help: builtins.str = ...,
|
|
135
135
|
disabled: builtins.bool = ...,
|
|
136
136
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
137
|
-
type:
|
|
137
|
+
type: Global___Slider.Type.ValueType = ...,
|
|
138
138
|
) -> None: ...
|
|
139
139
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
140
140
|
def ClearField(self, field_name: typing.Literal["data_type", b"data_type", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "options", b"options", "set_value", b"set_value", "step", b"step", "type", b"type", "value", b"value"]) -> None: ...
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
Global___Slider: typing_extensions.TypeAlias = Slider
|
streamlit/proto/Snow_pb2.pyi
CHANGED
|
@@ -20,8 +20,14 @@ limitations under the License.
|
|
|
20
20
|
import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
|
+
import sys
|
|
23
24
|
import typing
|
|
24
25
|
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
import typing as typing_extensions
|
|
28
|
+
else:
|
|
29
|
+
import typing_extensions
|
|
30
|
+
|
|
25
31
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
26
32
|
|
|
27
33
|
@typing.final
|
|
@@ -40,4 +46,4 @@ class Snow(google.protobuf.message.Message):
|
|
|
40
46
|
) -> None: ...
|
|
41
47
|
def ClearField(self, field_name: typing.Literal["show", b"show"]) -> None: ...
|
|
42
48
|
|
|
43
|
-
|
|
49
|
+
Global___Snow: typing_extensions.TypeAlias = Snow
|
streamlit/proto/Space_pb2.pyi
CHANGED
|
@@ -19,8 +19,14 @@ limitations under the License.
|
|
|
19
19
|
|
|
20
20
|
import google.protobuf.descriptor
|
|
21
21
|
import google.protobuf.message
|
|
22
|
+
import sys
|
|
22
23
|
import typing
|
|
23
24
|
|
|
25
|
+
if sys.version_info >= (3, 10):
|
|
26
|
+
import typing as typing_extensions
|
|
27
|
+
else:
|
|
28
|
+
import typing_extensions
|
|
29
|
+
|
|
24
30
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
25
31
|
|
|
26
32
|
@typing.final
|
|
@@ -39,4 +45,4 @@ class Space(google.protobuf.message.Message):
|
|
|
39
45
|
self,
|
|
40
46
|
) -> None: ...
|
|
41
47
|
|
|
42
|
-
|
|
48
|
+
Global___Space: typing_extensions.TypeAlias = Space
|
streamlit/proto/Spinner_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
|
|
@@ -46,4 +52,4 @@ class Spinner(google.protobuf.message.Message):
|
|
|
46
52
|
) -> None: ...
|
|
47
53
|
def ClearField(self, field_name: typing.Literal["cache", b"cache", "show_time", b"show_time", "text", b"text"]) -> None: ...
|
|
48
54
|
|
|
49
|
-
|
|
55
|
+
Global___Spinner: typing_extensions.TypeAlias = Spinner
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/TextAlignmentConfig.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)streamlit/proto/TextAlignmentConfig.proto\x12\tstreamlit\"\x9e\x01\n\x13TextAlignmentConfig\x12;\n\talignment\x18\x01 \x01(\x0e\x32(.streamlit.TextAlignmentConfig.Alignment\"J\n\tAlignment\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04LEFT\x10\x01\x12\n\n\x06\x43\x45NTER\x10\x02\x12\t\n\x05RIGHT\x10\x03\x12\x0b\n\x07JUSTIFY\x10\x04\x42\x38\n\x1c\x63om.snowflake.apps.streamlitB\x18TextAlignmentConfigProtob\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.TextAlignmentConfig_pb2', _globals)
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\030TextAlignmentConfigProto'
|
|
25
|
+
_globals['_TEXTALIGNMENTCONFIG']._serialized_start=57
|
|
26
|
+
_globals['_TEXTALIGNMENTCONFIG']._serialized_end=215
|
|
27
|
+
_globals['_TEXTALIGNMENTCONFIG_ALIGNMENT']._serialized_start=141
|
|
28
|
+
_globals['_TEXTALIGNMENTCONFIG_ALIGNMENT']._serialized_end=215
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import builtins
|
|
21
|
+
import google.protobuf.descriptor
|
|
22
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
23
|
+
import google.protobuf.message
|
|
24
|
+
import sys
|
|
25
|
+
import typing
|
|
26
|
+
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class TextAlignmentConfig(google.protobuf.message.Message):
|
|
36
|
+
"""Text alignment configuration for text elements"""
|
|
37
|
+
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
39
|
+
|
|
40
|
+
class _Alignment:
|
|
41
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
42
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
43
|
+
|
|
44
|
+
class _AlignmentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TextAlignmentConfig._Alignment.ValueType], builtins.type):
|
|
45
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
46
|
+
UNSPECIFIED: TextAlignmentConfig._Alignment.ValueType # 0
|
|
47
|
+
LEFT: TextAlignmentConfig._Alignment.ValueType # 1
|
|
48
|
+
CENTER: TextAlignmentConfig._Alignment.ValueType # 2
|
|
49
|
+
RIGHT: TextAlignmentConfig._Alignment.ValueType # 3
|
|
50
|
+
JUSTIFY: TextAlignmentConfig._Alignment.ValueType # 4
|
|
51
|
+
|
|
52
|
+
class Alignment(_Alignment, metaclass=_AlignmentEnumTypeWrapper): ...
|
|
53
|
+
UNSPECIFIED: TextAlignmentConfig.Alignment.ValueType # 0
|
|
54
|
+
LEFT: TextAlignmentConfig.Alignment.ValueType # 1
|
|
55
|
+
CENTER: TextAlignmentConfig.Alignment.ValueType # 2
|
|
56
|
+
RIGHT: TextAlignmentConfig.Alignment.ValueType # 3
|
|
57
|
+
JUSTIFY: TextAlignmentConfig.Alignment.ValueType # 4
|
|
58
|
+
|
|
59
|
+
ALIGNMENT_FIELD_NUMBER: builtins.int
|
|
60
|
+
alignment: Global___TextAlignmentConfig.Alignment.ValueType
|
|
61
|
+
def __init__(
|
|
62
|
+
self,
|
|
63
|
+
*,
|
|
64
|
+
alignment: Global___TextAlignmentConfig.Alignment.ValueType = ...,
|
|
65
|
+
) -> None: ...
|
|
66
|
+
def ClearField(self, field_name: typing.Literal["alignment", b"alignment"]) -> None: ...
|
|
67
|
+
|
|
68
|
+
Global___TextAlignmentConfig: typing_extensions.TypeAlias = TextAlignmentConfig
|
streamlit/proto/TextArea_pb2.pyi
CHANGED
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
24
|
+
import sys
|
|
24
25
|
import typing
|
|
25
26
|
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
26
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
27
33
|
|
|
28
34
|
@typing.final
|
|
@@ -78,4 +84,4 @@ class TextArea(google.protobuf.message.Message):
|
|
|
78
84
|
@typing.overload
|
|
79
85
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
80
86
|
|
|
81
|
-
|
|
87
|
+
Global___TextArea: typing_extensions.TypeAlias = TextArea
|
|
@@ -70,7 +70,7 @@ class TextInput(google.protobuf.message.Message):
|
|
|
70
70
|
id: builtins.str
|
|
71
71
|
label: builtins.str
|
|
72
72
|
default: builtins.str
|
|
73
|
-
type:
|
|
73
|
+
type: Global___TextInput.Type.ValueType
|
|
74
74
|
max_chars: builtins.int
|
|
75
75
|
help: builtins.str
|
|
76
76
|
form_id: builtins.str
|
|
@@ -88,7 +88,7 @@ class TextInput(google.protobuf.message.Message):
|
|
|
88
88
|
id: builtins.str = ...,
|
|
89
89
|
label: builtins.str = ...,
|
|
90
90
|
default: builtins.str | None = ...,
|
|
91
|
-
type:
|
|
91
|
+
type: Global___TextInput.Type.ValueType = ...,
|
|
92
92
|
max_chars: builtins.int = ...,
|
|
93
93
|
help: builtins.str = ...,
|
|
94
94
|
form_id: builtins.str = ...,
|
|
@@ -107,4 +107,4 @@ class TextInput(google.protobuf.message.Message):
|
|
|
107
107
|
@typing.overload
|
|
108
108
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
Global___TextInput: typing_extensions.TypeAlias = TextInput
|
streamlit/proto/Text_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
|
|
@@ -43,4 +49,4 @@ class Text(google.protobuf.message.Message):
|
|
|
43
49
|
) -> None: ...
|
|
44
50
|
def ClearField(self, field_name: typing.Literal["body", b"body", "help", b"help"]) -> None: ...
|
|
45
51
|
|
|
46
|
-
|
|
52
|
+
Global___Text: typing_extensions.TypeAlias = Text
|
|
@@ -21,8 +21,14 @@ import builtins
|
|
|
21
21
|
import google.protobuf.descriptor
|
|
22
22
|
import google.protobuf.message
|
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
|
24
|
+
import sys
|
|
24
25
|
import typing
|
|
25
26
|
|
|
27
|
+
if sys.version_info >= (3, 10):
|
|
28
|
+
import typing as typing_extensions
|
|
29
|
+
else:
|
|
30
|
+
import typing_extensions
|
|
31
|
+
|
|
26
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
27
33
|
|
|
28
34
|
@typing.final
|
|
@@ -71,4 +77,4 @@ class TimeInput(google.protobuf.message.Message):
|
|
|
71
77
|
@typing.overload
|
|
72
78
|
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
|
73
79
|
|
|
74
|
-
|
|
80
|
+
Global___TimeInput: typing_extensions.TypeAlias = TimeInput
|
streamlit/proto/Toast_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
|
|
@@ -51,4 +57,4 @@ class Toast(google.protobuf.message.Message):
|
|
|
51
57
|
def ClearField(self, field_name: typing.Literal["_duration", b"_duration", "body", b"body", "duration", b"duration", "icon", b"icon"]) -> None: ...
|
|
52
58
|
def WhichOneof(self, oneof_group: typing.Literal["_duration", b"_duration"]) -> typing.Literal["duration"] | None: ...
|
|
53
59
|
|
|
54
|
-
|
|
60
|
+
Global___Toast: typing_extensions.TypeAlias = Toast
|
|
@@ -24,8 +24,14 @@ import google.protobuf.internal.containers
|
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.DataFrame_pb2
|
|
26
26
|
import streamlit.proto.NamedDataSet_pb2
|
|
27
|
+
import sys
|
|
27
28
|
import typing
|
|
28
29
|
|
|
30
|
+
if sys.version_info >= (3, 10):
|
|
31
|
+
import typing as typing_extensions
|
|
32
|
+
else:
|
|
33
|
+
import typing_extensions
|
|
34
|
+
|
|
29
35
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
30
36
|
|
|
31
37
|
@typing.final
|
|
@@ -68,4 +74,4 @@ class VegaLiteChart(google.protobuf.message.Message):
|
|
|
68
74
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
69
75
|
def ClearField(self, field_name: typing.Literal["data", b"data", "datasets", b"datasets", "spec", b"spec", "use_container_width", b"use_container_width"]) -> None: ...
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
Global___VegaLiteChart: typing_extensions.TypeAlias = VegaLiteChart
|
streamlit/proto/Video_pb2.pyi
CHANGED
|
@@ -51,7 +51,7 @@ class SubtitleTrack(google.protobuf.message.Message):
|
|
|
51
51
|
) -> None: ...
|
|
52
52
|
def ClearField(self, field_name: typing.Literal["label", b"label", "url", b"url"]) -> None: ...
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Global___SubtitleTrack: typing_extensions.TypeAlias = SubtitleTrack
|
|
55
55
|
|
|
56
56
|
@typing.final
|
|
57
57
|
class Video(google.protobuf.message.Message):
|
|
@@ -88,7 +88,7 @@ class Video(google.protobuf.message.Message):
|
|
|
88
88
|
"""A url pointing to a video file"""
|
|
89
89
|
start_time: builtins.int
|
|
90
90
|
"""The currentTime attribute of the HTML <video> tag's <source> subtag."""
|
|
91
|
-
type:
|
|
91
|
+
type: Global___Video.Type.ValueType
|
|
92
92
|
"""Type affects how browser wraps the video in tags: plain HTML5, YouTube..."""
|
|
93
93
|
end_time: builtins.int
|
|
94
94
|
"""The time at which the video should stop playing. If not specified, plays to the end."""
|
|
@@ -98,7 +98,7 @@ class Video(google.protobuf.message.Message):
|
|
|
98
98
|
muted: builtins.bool
|
|
99
99
|
id: builtins.str
|
|
100
100
|
@property
|
|
101
|
-
def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
101
|
+
def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___SubtitleTrack]:
|
|
102
102
|
"""Repeated field for subtitle tracks"""
|
|
103
103
|
|
|
104
104
|
@property
|
|
@@ -108,8 +108,8 @@ class Video(google.protobuf.message.Message):
|
|
|
108
108
|
*,
|
|
109
109
|
url: builtins.str = ...,
|
|
110
110
|
start_time: builtins.int = ...,
|
|
111
|
-
type:
|
|
112
|
-
subtitles: collections.abc.Iterable[
|
|
111
|
+
type: Global___Video.Type.ValueType = ...,
|
|
112
|
+
subtitles: collections.abc.Iterable[Global___SubtitleTrack] | None = ...,
|
|
113
113
|
end_time: builtins.int = ...,
|
|
114
114
|
loop: builtins.bool = ...,
|
|
115
115
|
autoplay: builtins.bool = ...,
|
|
@@ -121,4 +121,4 @@ class Video(google.protobuf.message.Message):
|
|
|
121
121
|
def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "autoplay", b"autoplay", "end_time", b"end_time", "id", b"id", "loop", b"loop", "muted", b"muted", "start_time", b"start_time", "subtitles", b"subtitles", "type", b"type", "url", b"url", "width_config", b"width_config"]) -> None: ...
|
|
122
122
|
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
Global___Video: typing_extensions.TypeAlias = Video
|
|
@@ -24,8 +24,14 @@ import google.protobuf.internal.containers
|
|
|
24
24
|
import google.protobuf.message
|
|
25
25
|
import streamlit.proto.Common_pb2
|
|
26
26
|
import streamlit.proto.Components_pb2
|
|
27
|
+
import sys
|
|
27
28
|
import typing
|
|
28
29
|
|
|
30
|
+
if sys.version_info >= (3, 10):
|
|
31
|
+
import typing as typing_extensions
|
|
32
|
+
else:
|
|
33
|
+
import typing_extensions
|
|
34
|
+
|
|
29
35
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
30
36
|
|
|
31
37
|
@typing.final
|
|
@@ -36,15 +42,15 @@ class WidgetStates(google.protobuf.message.Message):
|
|
|
36
42
|
|
|
37
43
|
WIDGETS_FIELD_NUMBER: builtins.int
|
|
38
44
|
@property
|
|
39
|
-
def widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
45
|
+
def widgets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___WidgetState]: ...
|
|
40
46
|
def __init__(
|
|
41
47
|
self,
|
|
42
48
|
*,
|
|
43
|
-
widgets: collections.abc.Iterable[
|
|
49
|
+
widgets: collections.abc.Iterable[Global___WidgetState] | None = ...,
|
|
44
50
|
) -> None: ...
|
|
45
51
|
def ClearField(self, field_name: typing.Literal["widgets", b"widgets"]) -> None: ...
|
|
46
52
|
|
|
47
|
-
|
|
53
|
+
Global___WidgetStates: typing_extensions.TypeAlias = WidgetStates
|
|
48
54
|
|
|
49
55
|
@typing.final
|
|
50
56
|
class WidgetState(google.protobuf.message.Message):
|
|
@@ -137,4 +143,4 @@ class WidgetState(google.protobuf.message.Message):
|
|
|
137
143
|
def ClearField(self, field_name: typing.Literal["arrow_value", b"arrow_value", "bool_value", b"bool_value", "bytes_value", b"bytes_value", "chat_input_value", b"chat_input_value", "double_array_value", b"double_array_value", "double_value", b"double_value", "file_uploader_state_value", b"file_uploader_state_value", "id", b"id", "int_array_value", b"int_array_value", "int_value", b"int_value", "json_trigger_value", b"json_trigger_value", "json_value", b"json_value", "string_array_value", b"string_array_value", "string_trigger_value", b"string_trigger_value", "string_value", b"string_value", "trigger_value", b"trigger_value", "value", b"value"]) -> None: ...
|
|
138
144
|
def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["trigger_value", "bool_value", "double_value", "int_value", "string_value", "double_array_value", "int_array_value", "string_array_value", "json_value", "arrow_value", "bytes_value", "file_uploader_state_value", "string_trigger_value", "chat_input_value", "json_trigger_value"] | None: ...
|
|
139
145
|
|
|
140
|
-
|
|
146
|
+
Global___WidgetState: typing_extensions.TypeAlias = WidgetState
|
|
@@ -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 WidthConfig(google.protobuf.message.Message):
|
|
|
48
54
|
def ClearField(self, field_name: typing.Literal["pixel_width", b"pixel_width", "rem_width", b"rem_width", "use_content", b"use_content", "use_stretch", b"use_stretch", "width_spec", b"width_spec"]) -> None: ...
|
|
49
55
|
def WhichOneof(self, oneof_group: typing.Literal["width_spec", b"width_spec"]) -> typing.Literal["use_stretch", "use_content", "pixel_width", "rem_width"] | None: ...
|
|
50
56
|
|
|
51
|
-
|
|
57
|
+
Global___WidthConfig: typing_extensions.TypeAlias = WidthConfig
|