streamlit 1.51.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 +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.ZJDbmVTx.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.Ddx8VEYy.js → FileDownload.esm.Dx0vI3vH.js} +1 -1
- streamlit/static/static/js/{FileHelper.90EtOmj9.js → FileHelper.B7Ero7qQ.js} +3 -3
- streamlit/static/static/js/{FormClearHelper.BB1Km6eP.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.DLY8H6nE.js → ProgressBar.CGQ8OgfO.js} +2 -2
- streamlit/static/static/js/StreamlitSyntaxHighlighter.DTKLpwhl.js +20 -0
- streamlit/static/static/js/{Toolbar.D8nHCkuz.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.CJGiNqed.js → base-input.o9tL8MDP.js} +4 -4
- streamlit/static/static/js/{checkbox.Cpdd482O.js → checkbox.0BeV1IBL.js} +1 -1
- streamlit/static/static/js/{createSuper.CuQIogbW.js → createSuper.RBO59fEm.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.CiTkUy0t.js +1 -0
- streamlit/static/static/js/{downloader.CN0K7xlu.js → downloader.DwNZg3Mw.js} +1 -1
- streamlit/static/static/js/embed.XT9xNd3F.js +195 -0
- streamlit/static/static/js/{es6.BJcsVXQ0.js → es6.x9KsYQg-.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.XzUvQqcZ.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.D3GPA5k4.js → index.CTgm_-jO.js} +9 -40
- 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.DOFlg3dS.js → index.CkGVt6-G.js} +1 -1
- streamlit/static/static/js/index.CuvXOyER.js +2 -0
- streamlit/static/static/js/{index.B_dWA3vd.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.DPUXkcQL.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.CxIUUfab.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.D4MN_FzN.js → input.D5oh9-aB.js} +2 -2
- streamlit/static/static/js/main.q9oGOg0H.js +13 -0
- streamlit/static/static/js/{memory.DrZjtdGT.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.exeeJQEP.js → possibleConstructorReturn.DD9NK1Z8.js} +1 -1
- streamlit/static/static/js/{sandbox.ClO3IuUr.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.DAhu-vcF.js → timepicker.BdhzPxrv.js} +1 -1
- streamlit/static/static/js/timer.C2hYhUse.js +1 -0
- streamlit/static/static/js/{toConsumableArray.DNbljYEC.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.D6sOH6oI.js → useBasicWidgetState.Bfp6TnSw.js} +1 -1
- streamlit/static/static/js/useIntlLocale.hRV75Xgj.js +12 -0
- streamlit/static/static/js/{useTextInputAutoExpand.4u3_GcuN.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/withCalculatedWidth.DcKeRSWJ.js +1 -0
- streamlit/static/static/js/withFullScreenWrapper.CrHddARq.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.0.dist-info}/METADATA +9 -5
- {streamlit-1.51.0.dist-info → streamlit-1.52.0.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.0.data}/scripts/streamlit.cmd +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.0.dist-info}/WHEEL +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.0.dist-info}/entry_points.txt +0 -0
- {streamlit-1.51.0.dist-info → streamlit-1.52.0.dist-info}/top_level.txt +0 -0
streamlit/proto/Common_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
|
|
@@ -42,7 +48,7 @@ class StringArray(google.protobuf.message.Message):
|
|
|
42
48
|
) -> None: ...
|
|
43
49
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
44
50
|
|
|
45
|
-
|
|
51
|
+
Global___StringArray: typing_extensions.TypeAlias = StringArray
|
|
46
52
|
|
|
47
53
|
@typing.final
|
|
48
54
|
class DoubleArray(google.protobuf.message.Message):
|
|
@@ -58,7 +64,7 @@ class DoubleArray(google.protobuf.message.Message):
|
|
|
58
64
|
) -> None: ...
|
|
59
65
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
60
66
|
|
|
61
|
-
|
|
67
|
+
Global___DoubleArray: typing_extensions.TypeAlias = DoubleArray
|
|
62
68
|
|
|
63
69
|
@typing.final
|
|
64
70
|
class Int32Array(google.protobuf.message.Message):
|
|
@@ -74,7 +80,7 @@ class Int32Array(google.protobuf.message.Message):
|
|
|
74
80
|
) -> None: ...
|
|
75
81
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
76
82
|
|
|
77
|
-
|
|
83
|
+
Global___Int32Array: typing_extensions.TypeAlias = Int32Array
|
|
78
84
|
|
|
79
85
|
@typing.final
|
|
80
86
|
class Int64Array(google.protobuf.message.Message):
|
|
@@ -90,7 +96,7 @@ class Int64Array(google.protobuf.message.Message):
|
|
|
90
96
|
) -> None: ...
|
|
91
97
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
Global___Int64Array: typing_extensions.TypeAlias = Int64Array
|
|
94
100
|
|
|
95
101
|
@typing.final
|
|
96
102
|
class SInt64Array(google.protobuf.message.Message):
|
|
@@ -106,7 +112,7 @@ class SInt64Array(google.protobuf.message.Message):
|
|
|
106
112
|
) -> None: ...
|
|
107
113
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
108
114
|
|
|
109
|
-
|
|
115
|
+
Global___SInt64Array: typing_extensions.TypeAlias = SInt64Array
|
|
110
116
|
|
|
111
117
|
@typing.final
|
|
112
118
|
class UInt32Array(google.protobuf.message.Message):
|
|
@@ -122,7 +128,7 @@ class UInt32Array(google.protobuf.message.Message):
|
|
|
122
128
|
) -> None: ...
|
|
123
129
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
124
130
|
|
|
125
|
-
|
|
131
|
+
Global___UInt32Array: typing_extensions.TypeAlias = UInt32Array
|
|
126
132
|
|
|
127
133
|
@typing.final
|
|
128
134
|
class StringTriggerValue(google.protobuf.message.Message):
|
|
@@ -143,7 +149,7 @@ class StringTriggerValue(google.protobuf.message.Message):
|
|
|
143
149
|
def ClearField(self, field_name: typing.Literal["_data", b"_data", "data", b"data"]) -> None: ...
|
|
144
150
|
def WhichOneof(self, oneof_group: typing.Literal["_data", b"_data"]) -> typing.Literal["data"] | None: ...
|
|
145
151
|
|
|
146
|
-
|
|
152
|
+
Global___StringTriggerValue: typing_extensions.TypeAlias = StringTriggerValue
|
|
147
153
|
|
|
148
154
|
@typing.final
|
|
149
155
|
class FileURLsRequest(google.protobuf.message.Message):
|
|
@@ -171,7 +177,7 @@ class FileURLsRequest(google.protobuf.message.Message):
|
|
|
171
177
|
) -> None: ...
|
|
172
178
|
def ClearField(self, field_name: typing.Literal["file_names", b"file_names", "request_id", b"request_id", "session_id", b"session_id"]) -> None: ...
|
|
173
179
|
|
|
174
|
-
|
|
180
|
+
Global___FileURLsRequest: typing_extensions.TypeAlias = FileURLsRequest
|
|
175
181
|
|
|
176
182
|
@typing.final
|
|
177
183
|
class FileURLs(google.protobuf.message.Message):
|
|
@@ -192,7 +198,7 @@ class FileURLs(google.protobuf.message.Message):
|
|
|
192
198
|
) -> None: ...
|
|
193
199
|
def ClearField(self, field_name: typing.Literal["delete_url", b"delete_url", "file_id", b"file_id", "upload_url", b"upload_url"]) -> None: ...
|
|
194
200
|
|
|
195
|
-
|
|
201
|
+
Global___FileURLs: typing_extensions.TypeAlias = FileURLs
|
|
196
202
|
|
|
197
203
|
@typing.final
|
|
198
204
|
class FileURLsResponse(google.protobuf.message.Message):
|
|
@@ -204,17 +210,17 @@ class FileURLsResponse(google.protobuf.message.Message):
|
|
|
204
210
|
response_id: builtins.str
|
|
205
211
|
error_msg: builtins.str
|
|
206
212
|
@property
|
|
207
|
-
def file_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
213
|
+
def file_urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___FileURLs]: ...
|
|
208
214
|
def __init__(
|
|
209
215
|
self,
|
|
210
216
|
*,
|
|
211
217
|
response_id: builtins.str = ...,
|
|
212
|
-
file_urls: collections.abc.Iterable[
|
|
218
|
+
file_urls: collections.abc.Iterable[Global___FileURLs] | None = ...,
|
|
213
219
|
error_msg: builtins.str = ...,
|
|
214
220
|
) -> None: ...
|
|
215
221
|
def ClearField(self, field_name: typing.Literal["error_msg", b"error_msg", "file_urls", b"file_urls", "response_id", b"response_id"]) -> None: ...
|
|
216
222
|
|
|
217
|
-
|
|
223
|
+
Global___FileURLsResponse: typing_extensions.TypeAlias = FileURLsResponse
|
|
218
224
|
|
|
219
225
|
@typing.final
|
|
220
226
|
class UploadedFileInfo(google.protobuf.message.Message):
|
|
@@ -235,7 +241,7 @@ class UploadedFileInfo(google.protobuf.message.Message):
|
|
|
235
241
|
file_id: builtins.str
|
|
236
242
|
"""ID that can be used to retrieve a file."""
|
|
237
243
|
@property
|
|
238
|
-
def file_urls(self) ->
|
|
244
|
+
def file_urls(self) -> Global___FileURLs:
|
|
239
245
|
"""Metadata containing information about file_urls."""
|
|
240
246
|
|
|
241
247
|
def __init__(
|
|
@@ -245,12 +251,12 @@ class UploadedFileInfo(google.protobuf.message.Message):
|
|
|
245
251
|
name: builtins.str = ...,
|
|
246
252
|
size: builtins.int = ...,
|
|
247
253
|
file_id: builtins.str = ...,
|
|
248
|
-
file_urls:
|
|
254
|
+
file_urls: Global___FileURLs | None = ...,
|
|
249
255
|
) -> None: ...
|
|
250
256
|
def HasField(self, field_name: typing.Literal["file_urls", b"file_urls"]) -> builtins.bool: ...
|
|
251
257
|
def ClearField(self, field_name: typing.Literal["file_id", b"file_id", "file_urls", b"file_urls", "id", b"id", "name", b"name", "size", b"size"]) -> None: ...
|
|
252
258
|
|
|
253
|
-
|
|
259
|
+
Global___UploadedFileInfo: typing_extensions.TypeAlias = UploadedFileInfo
|
|
254
260
|
|
|
255
261
|
@typing.final
|
|
256
262
|
class FileUploaderState(google.protobuf.message.Message):
|
|
@@ -261,16 +267,16 @@ class FileUploaderState(google.protobuf.message.Message):
|
|
|
261
267
|
max_file_id: builtins.int
|
|
262
268
|
"""DEPRECATED"""
|
|
263
269
|
@property
|
|
264
|
-
def uploaded_file_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
270
|
+
def uploaded_file_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___UploadedFileInfo]: ...
|
|
265
271
|
def __init__(
|
|
266
272
|
self,
|
|
267
273
|
*,
|
|
268
274
|
max_file_id: builtins.int = ...,
|
|
269
|
-
uploaded_file_info: collections.abc.Iterable[
|
|
275
|
+
uploaded_file_info: collections.abc.Iterable[Global___UploadedFileInfo] | None = ...,
|
|
270
276
|
) -> None: ...
|
|
271
277
|
def ClearField(self, field_name: typing.Literal["max_file_id", b"max_file_id", "uploaded_file_info", b"uploaded_file_info"]) -> None: ...
|
|
272
278
|
|
|
273
|
-
|
|
279
|
+
Global___FileUploaderState: typing_extensions.TypeAlias = FileUploaderState
|
|
274
280
|
|
|
275
281
|
@typing.final
|
|
276
282
|
class ChatInputValue(google.protobuf.message.Message):
|
|
@@ -278,20 +284,26 @@ class ChatInputValue(google.protobuf.message.Message):
|
|
|
278
284
|
|
|
279
285
|
DATA_FIELD_NUMBER: builtins.int
|
|
280
286
|
FILE_UPLOADER_STATE_FIELD_NUMBER: builtins.int
|
|
287
|
+
AUDIO_FILE_INFO_FIELD_NUMBER: builtins.int
|
|
281
288
|
data: builtins.str
|
|
282
289
|
@property
|
|
283
|
-
def file_uploader_state(self) ->
|
|
290
|
+
def file_uploader_state(self) -> Global___FileUploaderState: ...
|
|
291
|
+
@property
|
|
292
|
+
def audio_file_info(self) -> Global___UploadedFileInfo: ...
|
|
284
293
|
def __init__(
|
|
285
294
|
self,
|
|
286
295
|
*,
|
|
287
296
|
data: builtins.str | None = ...,
|
|
288
|
-
file_uploader_state:
|
|
297
|
+
file_uploader_state: Global___FileUploaderState | None = ...,
|
|
298
|
+
audio_file_info: Global___UploadedFileInfo | None = ...,
|
|
289
299
|
) -> None: ...
|
|
290
|
-
def HasField(self, field_name: typing.Literal["_data", b"_data", "_file_uploader_state", b"_file_uploader_state", "data", b"data", "file_uploader_state", b"file_uploader_state"]) -> builtins.bool: ...
|
|
291
|
-
def ClearField(self, field_name: typing.Literal["_data", b"_data", "_file_uploader_state", b"_file_uploader_state", "data", b"data", "file_uploader_state", b"file_uploader_state"]) -> None: ...
|
|
300
|
+
def HasField(self, field_name: typing.Literal["_audio_file_info", b"_audio_file_info", "_data", b"_data", "_file_uploader_state", b"_file_uploader_state", "audio_file_info", b"audio_file_info", "data", b"data", "file_uploader_state", b"file_uploader_state"]) -> builtins.bool: ...
|
|
301
|
+
def ClearField(self, field_name: typing.Literal["_audio_file_info", b"_audio_file_info", "_data", b"_data", "_file_uploader_state", b"_file_uploader_state", "audio_file_info", b"audio_file_info", "data", b"data", "file_uploader_state", b"file_uploader_state"]) -> None: ...
|
|
302
|
+
@typing.overload
|
|
303
|
+
def WhichOneof(self, oneof_group: typing.Literal["_audio_file_info", b"_audio_file_info"]) -> typing.Literal["audio_file_info"] | None: ...
|
|
292
304
|
@typing.overload
|
|
293
305
|
def WhichOneof(self, oneof_group: typing.Literal["_data", b"_data"]) -> typing.Literal["data"] | None: ...
|
|
294
306
|
@typing.overload
|
|
295
307
|
def WhichOneof(self, oneof_group: typing.Literal["_file_uploader_state", b"_file_uploader_state"]) -> typing.Literal["file_uploader_state"] | None: ...
|
|
296
308
|
|
|
297
|
-
|
|
309
|
+
Global___ChatInputValue: typing_extensions.TypeAlias = ChatInputValue
|
|
@@ -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
|
|
@@ -51,7 +57,7 @@ class ComponentInstance(google.protobuf.message.Message):
|
|
|
51
57
|
form_id: builtins.str
|
|
52
58
|
tab_index: builtins.int
|
|
53
59
|
@property
|
|
54
|
-
def special_args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
60
|
+
def special_args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___SpecialArg]:
|
|
55
61
|
"""Additional, non-JSON args. These require special processing
|
|
56
62
|
on the other end.
|
|
57
63
|
"""
|
|
@@ -61,7 +67,7 @@ class ComponentInstance(google.protobuf.message.Message):
|
|
|
61
67
|
*,
|
|
62
68
|
id: builtins.str = ...,
|
|
63
69
|
json_args: builtins.str = ...,
|
|
64
|
-
special_args: collections.abc.Iterable[
|
|
70
|
+
special_args: collections.abc.Iterable[Global___SpecialArg] | None = ...,
|
|
65
71
|
component_name: builtins.str = ...,
|
|
66
72
|
url: builtins.str = ...,
|
|
67
73
|
form_id: builtins.str = ...,
|
|
@@ -71,7 +77,7 @@ class ComponentInstance(google.protobuf.message.Message):
|
|
|
71
77
|
def ClearField(self, field_name: typing.Literal["_tab_index", b"_tab_index", "component_name", b"component_name", "form_id", b"form_id", "id", b"id", "json_args", b"json_args", "special_args", b"special_args", "tab_index", b"tab_index", "url", b"url"]) -> None: ...
|
|
72
78
|
def WhichOneof(self, oneof_group: typing.Literal["_tab_index", b"_tab_index"]) -> typing.Literal["tab_index"] | None: ...
|
|
73
79
|
|
|
74
|
-
|
|
80
|
+
Global___ComponentInstance: typing_extensions.TypeAlias = ComponentInstance
|
|
75
81
|
|
|
76
82
|
@typing.final
|
|
77
83
|
class SpecialArg(google.protobuf.message.Message):
|
|
@@ -83,19 +89,19 @@ class SpecialArg(google.protobuf.message.Message):
|
|
|
83
89
|
key: builtins.str
|
|
84
90
|
bytes: builtins.bytes
|
|
85
91
|
@property
|
|
86
|
-
def arrow_dataframe(self) ->
|
|
92
|
+
def arrow_dataframe(self) -> Global___ArrowDataframe: ...
|
|
87
93
|
def __init__(
|
|
88
94
|
self,
|
|
89
95
|
*,
|
|
90
96
|
key: builtins.str = ...,
|
|
91
|
-
arrow_dataframe:
|
|
97
|
+
arrow_dataframe: Global___ArrowDataframe | None = ...,
|
|
92
98
|
bytes: builtins.bytes = ...,
|
|
93
99
|
) -> None: ...
|
|
94
100
|
def HasField(self, field_name: typing.Literal["arrow_dataframe", b"arrow_dataframe", "bytes", b"bytes", "value", b"value"]) -> builtins.bool: ...
|
|
95
101
|
def ClearField(self, field_name: typing.Literal["arrow_dataframe", b"arrow_dataframe", "bytes", b"bytes", "key", b"key", "value", b"value"]) -> None: ...
|
|
96
102
|
def WhichOneof(self, oneof_group: typing.Literal["value", b"value"]) -> typing.Literal["arrow_dataframe", "bytes"] | None: ...
|
|
97
103
|
|
|
98
|
-
|
|
104
|
+
Global___SpecialArg: typing_extensions.TypeAlias = SpecialArg
|
|
99
105
|
|
|
100
106
|
@typing.final
|
|
101
107
|
class ArrowDataframe(google.protobuf.message.Message):
|
|
@@ -113,18 +119,18 @@ class ArrowDataframe(google.protobuf.message.Message):
|
|
|
113
119
|
height: builtins.int
|
|
114
120
|
width: builtins.int
|
|
115
121
|
@property
|
|
116
|
-
def data(self) ->
|
|
122
|
+
def data(self) -> Global___ArrowTable: ...
|
|
117
123
|
def __init__(
|
|
118
124
|
self,
|
|
119
125
|
*,
|
|
120
|
-
data:
|
|
126
|
+
data: Global___ArrowTable | None = ...,
|
|
121
127
|
height: builtins.int = ...,
|
|
122
128
|
width: builtins.int = ...,
|
|
123
129
|
) -> None: ...
|
|
124
130
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
125
131
|
def ClearField(self, field_name: typing.Literal["data", b"data", "height", b"height", "width", b"width"]) -> None: ...
|
|
126
132
|
|
|
127
|
-
|
|
133
|
+
Global___ArrowDataframe: typing_extensions.TypeAlias = ArrowDataframe
|
|
128
134
|
|
|
129
135
|
@typing.final
|
|
130
136
|
class ArrowTable(google.protobuf.message.Message):
|
|
@@ -138,19 +144,19 @@ class ArrowTable(google.protobuf.message.Message):
|
|
|
138
144
|
index: builtins.bytes
|
|
139
145
|
columns: builtins.bytes
|
|
140
146
|
@property
|
|
141
|
-
def styler(self) ->
|
|
147
|
+
def styler(self) -> Global___ArrowTableStyler: ...
|
|
142
148
|
def __init__(
|
|
143
149
|
self,
|
|
144
150
|
*,
|
|
145
151
|
data: builtins.bytes = ...,
|
|
146
152
|
index: builtins.bytes = ...,
|
|
147
153
|
columns: builtins.bytes = ...,
|
|
148
|
-
styler:
|
|
154
|
+
styler: Global___ArrowTableStyler | None = ...,
|
|
149
155
|
) -> None: ...
|
|
150
156
|
def HasField(self, field_name: typing.Literal["styler", b"styler"]) -> builtins.bool: ...
|
|
151
157
|
def ClearField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "index", b"index", "styler", b"styler"]) -> None: ...
|
|
152
158
|
|
|
153
|
-
|
|
159
|
+
Global___ArrowTable: typing_extensions.TypeAlias = ArrowTable
|
|
154
160
|
|
|
155
161
|
@typing.final
|
|
156
162
|
class ArrowTableStyler(google.protobuf.message.Message):
|
|
@@ -174,4 +180,4 @@ class ArrowTableStyler(google.protobuf.message.Message):
|
|
|
174
180
|
) -> None: ...
|
|
175
181
|
def ClearField(self, field_name: typing.Literal["caption", b"caption", "display_values", b"display_values", "styles", b"styles", "uuid", b"uuid"]) -> None: ...
|
|
176
182
|
|
|
177
|
-
|
|
183
|
+
Global___ArrowTableStyler: typing_extensions.TypeAlias = ArrowTableStyler
|
|
@@ -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.Common_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
|
|
@@ -40,33 +46,33 @@ class DataFrame(google.protobuf.message.Message):
|
|
|
40
46
|
COLUMNS_FIELD_NUMBER: builtins.int
|
|
41
47
|
STYLE_FIELD_NUMBER: builtins.int
|
|
42
48
|
@property
|
|
43
|
-
def data(self) ->
|
|
49
|
+
def data(self) -> Global___Table:
|
|
44
50
|
"""The data in the array."""
|
|
45
51
|
|
|
46
52
|
@property
|
|
47
|
-
def index(self) ->
|
|
53
|
+
def index(self) -> Global___Index:
|
|
48
54
|
"""List of row names. (Multiple implies a multi-index.)"""
|
|
49
55
|
|
|
50
56
|
@property
|
|
51
|
-
def columns(self) ->
|
|
57
|
+
def columns(self) -> Global___Index:
|
|
52
58
|
"""List of column names. (Multiple implies a multi-index.)"""
|
|
53
59
|
|
|
54
60
|
@property
|
|
55
|
-
def style(self) ->
|
|
61
|
+
def style(self) -> Global___TableStyle:
|
|
56
62
|
"""Cell style and formatting data. Optional."""
|
|
57
63
|
|
|
58
64
|
def __init__(
|
|
59
65
|
self,
|
|
60
66
|
*,
|
|
61
|
-
data:
|
|
62
|
-
index:
|
|
63
|
-
columns:
|
|
64
|
-
style:
|
|
67
|
+
data: Global___Table | None = ...,
|
|
68
|
+
index: Global___Index | None = ...,
|
|
69
|
+
columns: Global___Index | None = ...,
|
|
70
|
+
style: Global___TableStyle | None = ...,
|
|
65
71
|
) -> None: ...
|
|
66
72
|
def HasField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "index", b"index", "style", b"style"]) -> builtins.bool: ...
|
|
67
73
|
def ClearField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "index", b"index", "style", b"style"]) -> None: ...
|
|
68
74
|
|
|
69
|
-
|
|
75
|
+
Global___DataFrame: typing_extensions.TypeAlias = DataFrame
|
|
70
76
|
|
|
71
77
|
@typing.final
|
|
72
78
|
class Index(google.protobuf.message.Message):
|
|
@@ -82,43 +88,43 @@ class Index(google.protobuf.message.Message):
|
|
|
82
88
|
INT_64_INDEX_FIELD_NUMBER: builtins.int
|
|
83
89
|
FLOAT_64_INDEX_FIELD_NUMBER: builtins.int
|
|
84
90
|
@property
|
|
85
|
-
def plain_index(self) ->
|
|
91
|
+
def plain_index(self) -> Global___PlainIndex: ...
|
|
86
92
|
@property
|
|
87
|
-
def range_index(self) ->
|
|
93
|
+
def range_index(self) -> Global___RangeIndex: ...
|
|
88
94
|
@property
|
|
89
|
-
def multi_index(self) ->
|
|
95
|
+
def multi_index(self) -> Global___MultiIndex:
|
|
90
96
|
"""CategoricalIndex categorical_index = 3;"""
|
|
91
97
|
|
|
92
98
|
@property
|
|
93
|
-
def datetime_index(self) ->
|
|
99
|
+
def datetime_index(self) -> Global___DatetimeIndex:
|
|
94
100
|
"""IntervalIndex interval_index = 5;"""
|
|
95
101
|
|
|
96
102
|
@property
|
|
97
|
-
def timedelta_index(self) ->
|
|
103
|
+
def timedelta_index(self) -> Global___TimedeltaIndex: ...
|
|
98
104
|
@property
|
|
99
|
-
def int_64_index(self) ->
|
|
105
|
+
def int_64_index(self) -> Global___Int64Index:
|
|
100
106
|
"""PeriodIndex period_index = 8;"""
|
|
101
107
|
|
|
102
108
|
@property
|
|
103
|
-
def float_64_index(self) ->
|
|
109
|
+
def float_64_index(self) -> Global___Float64Index:
|
|
104
110
|
"""UInt64Index uint_64_index = 10;"""
|
|
105
111
|
|
|
106
112
|
def __init__(
|
|
107
113
|
self,
|
|
108
114
|
*,
|
|
109
|
-
plain_index:
|
|
110
|
-
range_index:
|
|
111
|
-
multi_index:
|
|
112
|
-
datetime_index:
|
|
113
|
-
timedelta_index:
|
|
114
|
-
int_64_index:
|
|
115
|
-
float_64_index:
|
|
115
|
+
plain_index: Global___PlainIndex | None = ...,
|
|
116
|
+
range_index: Global___RangeIndex | None = ...,
|
|
117
|
+
multi_index: Global___MultiIndex | None = ...,
|
|
118
|
+
datetime_index: Global___DatetimeIndex | None = ...,
|
|
119
|
+
timedelta_index: Global___TimedeltaIndex | None = ...,
|
|
120
|
+
int_64_index: Global___Int64Index | None = ...,
|
|
121
|
+
float_64_index: Global___Float64Index | None = ...,
|
|
116
122
|
) -> None: ...
|
|
117
123
|
def HasField(self, field_name: typing.Literal["datetime_index", b"datetime_index", "float_64_index", b"float_64_index", "int_64_index", b"int_64_index", "multi_index", b"multi_index", "plain_index", b"plain_index", "range_index", b"range_index", "timedelta_index", b"timedelta_index", "type", b"type"]) -> builtins.bool: ...
|
|
118
124
|
def ClearField(self, field_name: typing.Literal["datetime_index", b"datetime_index", "float_64_index", b"float_64_index", "int_64_index", b"int_64_index", "multi_index", b"multi_index", "plain_index", b"plain_index", "range_index", b"range_index", "timedelta_index", b"timedelta_index", "type", b"type"]) -> None: ...
|
|
119
125
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["plain_index", "range_index", "multi_index", "datetime_index", "timedelta_index", "int_64_index", "float_64_index"] | None: ...
|
|
120
126
|
|
|
121
|
-
|
|
127
|
+
Global___Index: typing_extensions.TypeAlias = Index
|
|
122
128
|
|
|
123
129
|
@typing.final
|
|
124
130
|
class PlainIndex(google.protobuf.message.Message):
|
|
@@ -128,16 +134,16 @@ class PlainIndex(google.protobuf.message.Message):
|
|
|
128
134
|
|
|
129
135
|
DATA_FIELD_NUMBER: builtins.int
|
|
130
136
|
@property
|
|
131
|
-
def data(self) ->
|
|
137
|
+
def data(self) -> Global___AnyArray: ...
|
|
132
138
|
def __init__(
|
|
133
139
|
self,
|
|
134
140
|
*,
|
|
135
|
-
data:
|
|
141
|
+
data: Global___AnyArray | None = ...,
|
|
136
142
|
) -> None: ...
|
|
137
143
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
138
144
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
139
145
|
|
|
140
|
-
|
|
146
|
+
Global___PlainIndex: typing_extensions.TypeAlias = PlainIndex
|
|
141
147
|
|
|
142
148
|
@typing.final
|
|
143
149
|
class RangeIndex(google.protobuf.message.Message):
|
|
@@ -159,7 +165,7 @@ class RangeIndex(google.protobuf.message.Message):
|
|
|
159
165
|
) -> None: ...
|
|
160
166
|
def ClearField(self, field_name: typing.Literal["start", b"start", "stop", b"stop"]) -> None: ...
|
|
161
167
|
|
|
162
|
-
|
|
168
|
+
Global___RangeIndex: typing_extensions.TypeAlias = RangeIndex
|
|
163
169
|
|
|
164
170
|
@typing.final
|
|
165
171
|
class MultiIndex(google.protobuf.message.Message):
|
|
@@ -172,18 +178,18 @@ class MultiIndex(google.protobuf.message.Message):
|
|
|
172
178
|
LEVELS_FIELD_NUMBER: builtins.int
|
|
173
179
|
LABELS_FIELD_NUMBER: builtins.int
|
|
174
180
|
@property
|
|
175
|
-
def levels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
181
|
+
def levels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Index]: ...
|
|
176
182
|
@property
|
|
177
183
|
def labels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[streamlit.proto.Common_pb2.Int32Array]: ...
|
|
178
184
|
def __init__(
|
|
179
185
|
self,
|
|
180
186
|
*,
|
|
181
|
-
levels: collections.abc.Iterable[
|
|
187
|
+
levels: collections.abc.Iterable[Global___Index] | None = ...,
|
|
182
188
|
labels: collections.abc.Iterable[streamlit.proto.Common_pb2.Int32Array] | None = ...,
|
|
183
189
|
) -> None: ...
|
|
184
190
|
def ClearField(self, field_name: typing.Literal["labels", b"labels", "levels", b"levels"]) -> None: ...
|
|
185
191
|
|
|
186
|
-
|
|
192
|
+
Global___MultiIndex: typing_extensions.TypeAlias = MultiIndex
|
|
187
193
|
|
|
188
194
|
@typing.final
|
|
189
195
|
class DatetimeIndex(google.protobuf.message.Message):
|
|
@@ -204,7 +210,7 @@ class DatetimeIndex(google.protobuf.message.Message):
|
|
|
204
210
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
205
211
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
206
212
|
|
|
207
|
-
|
|
213
|
+
Global___DatetimeIndex: typing_extensions.TypeAlias = DatetimeIndex
|
|
208
214
|
|
|
209
215
|
@typing.final
|
|
210
216
|
class TimedeltaIndex(google.protobuf.message.Message):
|
|
@@ -225,7 +231,7 @@ class TimedeltaIndex(google.protobuf.message.Message):
|
|
|
225
231
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
226
232
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
227
233
|
|
|
228
|
-
|
|
234
|
+
Global___TimedeltaIndex: typing_extensions.TypeAlias = TimedeltaIndex
|
|
229
235
|
|
|
230
236
|
@typing.final
|
|
231
237
|
class Int64Index(google.protobuf.message.Message):
|
|
@@ -246,7 +252,7 @@ class Int64Index(google.protobuf.message.Message):
|
|
|
246
252
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
247
253
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
248
254
|
|
|
249
|
-
|
|
255
|
+
Global___Int64Index: typing_extensions.TypeAlias = Int64Index
|
|
250
256
|
|
|
251
257
|
@typing.final
|
|
252
258
|
class Float64Index(google.protobuf.message.Message):
|
|
@@ -267,7 +273,7 @@ class Float64Index(google.protobuf.message.Message):
|
|
|
267
273
|
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
|
268
274
|
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
|
269
275
|
|
|
270
|
-
|
|
276
|
+
Global___Float64Index: typing_extensions.TypeAlias = Float64Index
|
|
271
277
|
|
|
272
278
|
@typing.final
|
|
273
279
|
class CSSStyle(google.protobuf.message.Message):
|
|
@@ -285,7 +291,7 @@ class CSSStyle(google.protobuf.message.Message):
|
|
|
285
291
|
) -> None: ...
|
|
286
292
|
def ClearField(self, field_name: typing.Literal["property", b"property", "value", b"value"]) -> None: ...
|
|
287
293
|
|
|
288
|
-
|
|
294
|
+
Global___CSSStyle: typing_extensions.TypeAlias = CSSStyle
|
|
289
295
|
|
|
290
296
|
@typing.final
|
|
291
297
|
class CellStyle(google.protobuf.message.Message):
|
|
@@ -302,17 +308,17 @@ class CellStyle(google.protobuf.message.Message):
|
|
|
302
308
|
display_value, which itself could be ''.
|
|
303
309
|
"""
|
|
304
310
|
@property
|
|
305
|
-
def css(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
311
|
+
def css(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___CSSStyle]: ...
|
|
306
312
|
def __init__(
|
|
307
313
|
self,
|
|
308
314
|
*,
|
|
309
|
-
css: collections.abc.Iterable[
|
|
315
|
+
css: collections.abc.Iterable[Global___CSSStyle] | None = ...,
|
|
310
316
|
display_value: builtins.str = ...,
|
|
311
317
|
has_display_value: builtins.bool = ...,
|
|
312
318
|
) -> None: ...
|
|
313
319
|
def ClearField(self, field_name: typing.Literal["css", b"css", "display_value", b"display_value", "has_display_value", b"has_display_value"]) -> None: ...
|
|
314
320
|
|
|
315
|
-
|
|
321
|
+
Global___CellStyle: typing_extensions.TypeAlias = CellStyle
|
|
316
322
|
|
|
317
323
|
@typing.final
|
|
318
324
|
class CellStyleArray(google.protobuf.message.Message):
|
|
@@ -320,15 +326,15 @@ class CellStyleArray(google.protobuf.message.Message):
|
|
|
320
326
|
|
|
321
327
|
STYLES_FIELD_NUMBER: builtins.int
|
|
322
328
|
@property
|
|
323
|
-
def styles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
329
|
+
def styles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___CellStyle]: ...
|
|
324
330
|
def __init__(
|
|
325
331
|
self,
|
|
326
332
|
*,
|
|
327
|
-
styles: collections.abc.Iterable[
|
|
333
|
+
styles: collections.abc.Iterable[Global___CellStyle] | None = ...,
|
|
328
334
|
) -> None: ...
|
|
329
335
|
def ClearField(self, field_name: typing.Literal["styles", b"styles"]) -> None: ...
|
|
330
336
|
|
|
331
|
-
|
|
337
|
+
Global___CellStyleArray: typing_extensions.TypeAlias = CellStyleArray
|
|
332
338
|
|
|
333
339
|
@typing.final
|
|
334
340
|
class AnyArray(google.protobuf.message.Message):
|
|
@@ -362,7 +368,7 @@ class AnyArray(google.protobuf.message.Message):
|
|
|
362
368
|
def ClearField(self, field_name: typing.Literal["datetimes", b"datetimes", "doubles", b"doubles", "int64s", b"int64s", "strings", b"strings", "timedeltas", b"timedeltas", "type", b"type"]) -> None: ...
|
|
363
369
|
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["strings", "doubles", "int64s", "datetimes", "timedeltas"] | None: ...
|
|
364
370
|
|
|
365
|
-
|
|
371
|
+
Global___AnyArray: typing_extensions.TypeAlias = AnyArray
|
|
366
372
|
|
|
367
373
|
@typing.final
|
|
368
374
|
class Table(google.protobuf.message.Message):
|
|
@@ -370,15 +376,15 @@ class Table(google.protobuf.message.Message):
|
|
|
370
376
|
|
|
371
377
|
COLS_FIELD_NUMBER: builtins.int
|
|
372
378
|
@property
|
|
373
|
-
def cols(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
379
|
+
def cols(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___AnyArray]: ...
|
|
374
380
|
def __init__(
|
|
375
381
|
self,
|
|
376
382
|
*,
|
|
377
|
-
cols: collections.abc.Iterable[
|
|
383
|
+
cols: collections.abc.Iterable[Global___AnyArray] | None = ...,
|
|
378
384
|
) -> None: ...
|
|
379
385
|
def ClearField(self, field_name: typing.Literal["cols", b"cols"]) -> None: ...
|
|
380
386
|
|
|
381
|
-
|
|
387
|
+
Global___Table: typing_extensions.TypeAlias = Table
|
|
382
388
|
|
|
383
389
|
@typing.final
|
|
384
390
|
class TableStyle(google.protobuf.message.Message):
|
|
@@ -386,12 +392,12 @@ class TableStyle(google.protobuf.message.Message):
|
|
|
386
392
|
|
|
387
393
|
COLS_FIELD_NUMBER: builtins.int
|
|
388
394
|
@property
|
|
389
|
-
def cols(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
395
|
+
def cols(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___CellStyleArray]: ...
|
|
390
396
|
def __init__(
|
|
391
397
|
self,
|
|
392
398
|
*,
|
|
393
|
-
cols: collections.abc.Iterable[
|
|
399
|
+
cols: collections.abc.Iterable[Global___CellStyleArray] | None = ...,
|
|
394
400
|
) -> None: ...
|
|
395
401
|
def ClearField(self, field_name: typing.Literal["cols", b"cols"]) -> None: ...
|
|
396
402
|
|
|
397
|
-
|
|
403
|
+
Global___TableStyle: typing_extensions.TypeAlias = TableStyle
|
|
@@ -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
|
|
@@ -80,4 +86,4 @@ class DateInput(google.protobuf.message.Message):
|
|
|
80
86
|
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
|
81
87
|
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
|
82
88
|
|
|
83
|
-
|
|
89
|
+
Global___DateInput: typing_extensions.TypeAlias = DateInput
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/DateTimeInput.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
|
+
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/DateTimeInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x8b\x02\n\rDateTimeInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\t\x12\x0b\n\x03min\x18\x04 \x01(\t\x12\x0b\n\x03max\x18\x05 \x01(\t\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x07 \x01(\t\x12\r\n\x05value\x18\x08 \x03(\t\x12\x11\n\tset_value\x18\t \x01(\x08\x12\x10\n\x08\x64isabled\x18\n \x01(\x08\x12\x31\n\x10label_visibility\x18\x0b \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0e\n\x06\x66ormat\x18\x0c \x01(\t\x12\x0c\n\x04step\x18\r \x01(\x03\x12\x10\n\x08is_range\x18\x0e \x01(\x08\x42\x32\n\x1c\x63om.snowflake.apps.streamlitB\x12\x44\x61teTimeInputProtob\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DateTimeInput_pb2', _globals)
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022DateTimeInputProto'
|
|
26
|
+
_globals['_DATETIMEINPUT']._serialized_start=86
|
|
27
|
+
_globals['_DATETIMEINPUT']._serialized_end=353
|
|
28
|
+
# @@protoc_insertion_point(module_scope)
|