streamlit-nightly 1.53.2.dev20260128__py3-none-any.whl → 1.53.2.dev20260202__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/commands/execution_control.py +2 -2
- streamlit/config.py +3 -2
- streamlit/config_util.py +63 -8
- streamlit/delta_generator.py +2 -0
- streamlit/elements/deck_gl_json_chart.py +5 -1
- streamlit/elements/lib/built_in_chart_utils.py +24 -4
- streamlit/elements/lib/color_util.py +20 -1
- streamlit/elements/lib/column_types.py +6 -2
- streamlit/elements/lib/utils.py +6 -6
- streamlit/elements/markdown.py +0 -1
- streamlit/elements/metric.py +2 -1
- streamlit/elements/vega_charts.py +24 -4
- streamlit/elements/widgets/button_group.py +6 -276
- streamlit/elements/widgets/feedback.py +322 -0
- streamlit/elements/widgets/number_input.py +2 -1
- streamlit/elements/widgets/slider.py +2 -1
- streamlit/material_icon_names.py +1 -1
- streamlit/proto/Alert_pb2.py +2 -3
- streamlit/proto/AppPage_pb2.py +2 -3
- streamlit/proto/ArrowData_pb2.py +2 -3
- streamlit/proto/ArrowNamedDataSet_pb2.py +2 -3
- streamlit/proto/ArrowVegaLiteChart_pb2.py +2 -3
- streamlit/proto/Arrow_pb2.py +11 -18
- streamlit/proto/Arrow_pb2.pyi +1 -42
- streamlit/proto/AudioInput_pb2.py +5 -6
- streamlit/proto/AudioInput_pb2.pyi +3 -3
- streamlit/proto/Audio_pb2.py +3 -4
- streamlit/proto/AuthRedirect_pb2.py +2 -3
- streamlit/proto/AutoRerun_pb2.py +2 -3
- streamlit/proto/BackMsg_pb2.py +2 -3
- streamlit/proto/BackMsg_pb2.pyi +2 -10
- streamlit/proto/Balloons_pb2.py +2 -3
- streamlit/proto/Balloons_pb2.pyi +0 -2
- streamlit/proto/BidiComponent_pb2.py +2 -3
- streamlit/proto/Block_pb2.py +36 -43
- streamlit/proto/Block_pb2.pyi +3 -48
- streamlit/proto/ButtonGroup_pb2.py +11 -14
- streamlit/proto/ButtonGroup_pb2.pyi +6 -41
- streamlit/proto/ButtonLikeIconPosition_pb2.py +2 -3
- streamlit/proto/Button_pb2.py +3 -6
- streamlit/proto/Button_pb2.pyi +1 -18
- streamlit/proto/CameraInput_pb2.py +5 -6
- streamlit/proto/CameraInput_pb2.pyi +3 -3
- streamlit/proto/ChatInput_pb2.py +5 -8
- streamlit/proto/ChatInput_pb2.pyi +1 -17
- streamlit/proto/Checkbox_pb2.py +7 -8
- streamlit/proto/Checkbox_pb2.pyi +3 -3
- streamlit/proto/ClientState_pb2.py +2 -3
- streamlit/proto/Code_pb2.py +3 -6
- streamlit/proto/Code_pb2.pyi +1 -18
- streamlit/proto/ColorPicker_pb2.py +5 -6
- streamlit/proto/ColorPicker_pb2.pyi +3 -3
- streamlit/proto/Common_pb2.py +7 -8
- streamlit/proto/Common_pb2.pyi +2 -10
- streamlit/proto/Components_pb2.py +2 -3
- streamlit/proto/DateInput_pb2.py +5 -6
- streamlit/proto/DateInput_pb2.pyi +3 -3
- streamlit/proto/DateTimeInput_pb2.py +5 -6
- streamlit/proto/DateTimeInput_pb2.pyi +3 -3
- streamlit/proto/DeckGlJsonChart_pb2.py +5 -12
- streamlit/proto/DeckGlJsonChart_pb2.pyi +1 -54
- streamlit/proto/Delta_pb2.py +4 -6
- streamlit/proto/Delta_pb2.pyi +5 -14
- streamlit/proto/DocString_pb2.py +2 -3
- streamlit/proto/DownloadButton_pb2.py +2 -3
- streamlit/proto/Element_pb2.py +5 -8
- streamlit/proto/Element_pb2.pyi +9 -29
- streamlit/proto/Empty_pb2.py +2 -3
- streamlit/proto/Exception_pb2.py +2 -3
- streamlit/proto/Favicon_pb2.py +2 -3
- streamlit/proto/Feedback_pb2.py +28 -0
- streamlit/proto/Feedback_pb2.pyi +93 -0
- streamlit/proto/FileUploader_pb2.py +5 -6
- streamlit/proto/FileUploader_pb2.pyi +3 -3
- streamlit/proto/ForwardMsg_pb2.py +12 -18
- streamlit/proto/ForwardMsg_pb2.pyi +4 -48
- streamlit/proto/GapSize_pb2.py +2 -3
- streamlit/proto/GitInfo_pb2.py +2 -3
- streamlit/proto/GraphVizChart_pb2.py +3 -6
- streamlit/proto/GraphVizChart_pb2.pyi +1 -18
- streamlit/proto/Heading_pb2.py +2 -3
- streamlit/proto/HeightConfig_pb2.py +2 -3
- streamlit/proto/Html_pb2.py +2 -3
- streamlit/proto/IFrame_pb2.py +4 -11
- streamlit/proto/IFrame_pb2.pyi +1 -42
- streamlit/proto/Image_pb2.py +5 -8
- streamlit/proto/Image_pb2.pyi +2 -25
- streamlit/proto/Json_pb2.py +2 -3
- streamlit/proto/LabelVisibility_pb2.py +28 -0
- streamlit/proto/{LabelVisibilityMessage_pb2.pyi → LabelVisibility_pb2.pyi} +14 -14
- streamlit/proto/LinkButton_pb2.py +2 -3
- streamlit/proto/Logo_pb2.py +2 -3
- streamlit/proto/Markdown_pb2.py +5 -6
- streamlit/proto/Markdown_pb2.pyi +1 -5
- streamlit/proto/Metric_pb2.py +11 -12
- streamlit/proto/Metric_pb2.pyi +3 -3
- streamlit/proto/MetricsEvent_pb2.py +2 -3
- streamlit/proto/MultiSelect_pb2.py +5 -8
- streamlit/proto/MultiSelect_pb2.pyi +4 -14
- streamlit/proto/Navigation_pb2.py +2 -3
- streamlit/proto/NewSession_pb2.py +39 -28
- streamlit/proto/NewSession_pb2.pyi +44 -20
- streamlit/proto/NumberInput_pb2.py +7 -8
- streamlit/proto/NumberInput_pb2.pyi +3 -3
- streamlit/proto/PageConfig_pb2.py +2 -3
- streamlit/proto/PageInfo_pb2.py +2 -3
- streamlit/proto/PageLink_pb2.py +2 -3
- streamlit/proto/PageNotFound_pb2.py +2 -3
- streamlit/proto/PageProfile_pb2.py +2 -3
- streamlit/proto/ParentMessage_pb2.py +2 -3
- streamlit/proto/PlotlyChart_pb2.py +5 -10
- streamlit/proto/PlotlyChart_pb2.pyi +1 -58
- streamlit/proto/Progress_pb2.py +2 -3
- streamlit/proto/Radio_pb2.py +5 -8
- streamlit/proto/Radio_pb2.pyi +5 -22
- streamlit/proto/RootContainer_pb2.py +2 -3
- streamlit/proto/Selectbox_pb2.py +5 -8
- streamlit/proto/Selectbox_pb2.pyi +5 -25
- streamlit/proto/SessionEvent_pb2.py +2 -3
- streamlit/proto/SessionStatus_pb2.py +2 -3
- streamlit/proto/Skeleton_pb2.py +2 -3
- streamlit/proto/Slider_pb2.py +9 -10
- streamlit/proto/Slider_pb2.pyi +3 -3
- streamlit/proto/Snow_pb2.py +2 -3
- streamlit/proto/Snow_pb2.pyi +0 -2
- streamlit/proto/Space_pb2.py +2 -3
- streamlit/proto/Spinner_pb2.py +2 -3
- streamlit/proto/TextAlignmentConfig_pb2.py +2 -3
- streamlit/proto/TextArea_pb2.py +5 -8
- streamlit/proto/TextArea_pb2.pyi +4 -21
- streamlit/proto/TextInput_pb2.py +7 -8
- streamlit/proto/TextInput_pb2.pyi +3 -3
- streamlit/proto/Text_pb2.py +2 -3
- streamlit/proto/TimeInput_pb2.py +5 -6
- streamlit/proto/TimeInput_pb2.pyi +3 -3
- streamlit/proto/Toast_pb2.py +2 -3
- streamlit/proto/Transient_pb2.py +2 -3
- streamlit/proto/Video_pb2.py +3 -4
- streamlit/proto/WidgetStates_pb2.py +2 -3
- streamlit/proto/WidthConfig_pb2.py +2 -3
- streamlit/proto/openmetrics_data_model_pb2.py +2 -3
- streamlit/runtime/runtime.py +0 -4
- streamlit/static/index.html +2 -2
- streamlit/static/manifest.json +327 -312
- streamlit/static/static/css/{index.BUP6fTcR.css → index.C8MrxwGF.css} +1 -1
- streamlit/static/static/js/{ErrorOutline.esm.D71F8ziR.js → ErrorOutline.esm.CLuz0rSD.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.yTkppsJy.js → FileDownload.esm.CO68LcnZ.js} +1 -1
- streamlit/static/static/js/{FileHelper.hUOqtbwa.js → FileHelper.DAXgY6Ug.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.DN8D_YXO.js → FormClearHelper.zxJ53Nym.js} +1 -1
- streamlit/static/static/js/{InputInstructions.DbssY6d4.js → InputInstructions.CCbg8esE.js} +1 -1
- streamlit/static/static/js/{Particles.BznyVdfo.js → Particles.BJw0A-zv.js} +1 -1
- streamlit/static/static/js/{ProgressBar.C5uBOtcx.js → ProgressBar.BrrHeAEh.js} +2 -2
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.Nf1895x-.js → StreamlitSyntaxHighlighter.DvPLy3zk.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.DHKzVs3a.js → TableChart.esm.BawvAi5p.js} +1 -1
- streamlit/static/static/js/{Toolbar.CQsWYXer.js → Toolbar.CbpscbNb.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.6xCU76OE.js → WidgetLabelHelpIconInline.DA4S2HFP.js} +1 -1
- streamlit/static/static/js/{base-input.Cs-E6S71.js → base-input.BKKl2eBF.js} +4 -4
- streamlit/static/static/js/{checkbox.OTGupu18.js → checkbox.CB43AKV4.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.DnBEQQbK.js → createDownloadLinkElement.jVwF96ey.js} +1 -1
- streamlit/static/static/js/data-grid-overlay-editor.CxQizSv7.js +1 -0
- streamlit/static/static/js/{downloader.K0GUNeuj.js → downloader.CKlIgsy5.js} +1 -1
- streamlit/static/static/js/{embed.o8HvK3mH.js → embed.BhRb_2n8.js} +1 -1
- streamlit/static/static/js/{es6.BHy5pqTP.js → es6.DPyfPmWm.js} +2 -2
- streamlit/static/static/js/formatNumber.DtfMnnPx.js +1 -0
- streamlit/static/static/js/{iconPosition.2YynQUxu.js → iconPosition.DkZAlu_k.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.D5h3hQuU.js → iframeResizer.contentWindow.l5sQWLra.js} +1 -1
- streamlit/static/static/js/{index.BZ-GJVxB.js → index.465nmxtO.js} +2 -2
- streamlit/static/static/js/{index.BPdmXoYW.js → index.6J1N4is3.js} +1 -1
- streamlit/static/static/js/{index.Bfo1cXfC.js → index.AZ9T4EqJ.js} +1 -1
- streamlit/static/static/js/{index.cfuZ69LI.js → index.BAK0CG1Q.js} +1 -1
- streamlit/static/static/js/{index.5zqfJ-in.js → index.BLD3tJ2C.js} +1 -1
- streamlit/static/static/js/{index.CxWzt6oi.js → index.BUlT_mOL.js} +3 -3
- streamlit/static/static/js/{index.DxGXuhh6.js → index.Bc_FQ4Wb.js} +1 -1
- streamlit/static/static/js/{index.DJfMW0Gy.js → index.BpCj2-sQ.js} +1 -1
- streamlit/static/static/js/{index.DLUSo6de.js → index.BzO83wKm.js} +1 -1
- streamlit/static/static/js/index.CAoX2tlo.js +2 -0
- streamlit/static/static/js/{index.CwtpGPHA.js → index.CBbYMKZp.js} +1 -1
- streamlit/static/static/js/{index.Bgf49D1Z.js → index.CL7it7tU.js} +222 -222
- streamlit/static/static/js/{index.DxfYCrPp.js → index.CL_icBXS.js} +1 -1
- streamlit/static/static/js/index.C_19KWNs.js +2 -0
- streamlit/static/static/js/index.CaU3Uv_L.js +1 -0
- streamlit/static/static/js/{index.Dh3PJIlq.js → index.Ccye_uLl.js} +1 -1
- streamlit/static/static/js/{index.C65jHNhe.js → index.CiS4giQ2.js} +1 -1
- streamlit/static/static/js/{index.hlAfdSqC.js → index.Ck64OQhV.js} +1 -1
- streamlit/static/static/js/{index.HmRK3HyC.js → index.CmbqbRMZ.js} +1 -1
- streamlit/static/static/js/{index.8MlRyIxN.js → index.CsEZTo6L.js} +2 -2
- streamlit/static/static/js/{index.DVRCyxMp.js → index.CsIENsKH.js} +1 -1
- streamlit/static/static/js/{index.Bqmx23jK.js → index.Cwg8nWw5.js} +1 -1
- streamlit/static/static/js/{index.CZf7Go1Z.js → index.D83azq2w.js} +1 -1
- streamlit/static/static/js/{index.CUkhn-vu.js → index.DDr-BLbJ.js} +1 -1
- streamlit/static/static/js/{index.iUV9rb8C.js → index.DKoJr0Se.js} +1 -1
- streamlit/static/static/js/{index.C2EoeVjP.js → index.DL_ywOgf.js} +2 -2
- streamlit/static/static/js/{index.q0ceUXt6.js → index.DR6V0uBJ.js} +1 -1
- streamlit/static/static/js/index.DZOGT9vX.js +1 -0
- streamlit/static/static/js/{index.BtuskCwg.js → index.Dac9Jib-.js} +1 -1
- streamlit/static/static/js/{index.6c-qDsD7.js → index.DiBeetOH.js} +1 -1
- streamlit/static/static/js/{index.DlgcEr0f.js → index.DjuMEZ6m.js} +1 -1
- streamlit/static/static/js/{index.DBPWUJsj.js → index.DmWUXdjc.js} +54 -54
- streamlit/static/static/js/{index.DL_yE83J.js → index.DpSc4e1j.js} +2 -2
- streamlit/static/static/js/{index.CgVv04GM.js → index.DzdPUxsx.js} +2 -2
- streamlit/static/static/js/{index.BtRWcqZV.js → index.FioS1Y9m.js} +1 -1
- streamlit/static/static/js/{index.BfMPq234.js → index.L9pOjBEn.js} +3 -3
- streamlit/static/static/js/{index.TjMWsKSH.js → index.LjqoQCm5.js} +3 -3
- streamlit/static/static/js/index.OizPL4jg.js +1 -0
- streamlit/static/static/js/{index.Cb03y5I8.js → index.Q2t_iBn0.js} +1 -1
- streamlit/static/static/js/index.WIMtx3m0.js +2 -0
- streamlit/static/static/js/index.Y9wPTZIf.js +1 -0
- streamlit/static/static/js/{index.COh5V_89.js → index.YutgmD9x.js} +2 -2
- streamlit/static/static/js/{index.BIqcOZ_u.js → index.b_f-McZ5.js} +1 -1
- streamlit/static/static/js/{index.BzTVI_BY.js → index.e6Ry6-Ft.js} +1 -1
- streamlit/static/static/js/index.hnu9U-5g.js +1 -0
- streamlit/static/static/js/{index.C6wyTXhz.js → index.rvbQETlC.js} +1 -1
- streamlit/static/static/js/index.w7yKy9fh.js +6 -0
- streamlit/static/static/js/{index.C7wst9Tm.js → index.y0h42OXL.js} +1 -1
- streamlit/static/static/js/{index.aCorc3Yt.js → index.y5HxPwg9.js} +48 -48
- streamlit/static/static/js/{index.CX0KdFyR.js → index.yHLCvUGh.js} +1 -1
- streamlit/static/static/js/{input.CXGIJ7D6.js → input.CAtwSQ27.js} +1 -1
- streamlit/static/static/js/{main.CCVkbuxC.js → main.VeMVx6VI.js} +1 -1
- streamlit/static/static/js/{memory.CNbnYs2A.js → memory.CxS_lIUn.js} +1 -1
- streamlit/static/static/js/number-overlay-editor.CoqRgZW_.js +9 -0
- streamlit/static/static/js/{pandasStylerUtils.CFSReOTm.js → pandasStylerUtils.DGWgd5sM.js} +1 -1
- streamlit/static/static/js/{sandbox.Bld0L3us.js → sandbox.2mSqEau0.js} +1 -1
- streamlit/static/static/js/sprintfjs.CsoVVZ9k.js +1 -0
- streamlit/static/static/js/{styled-components.BoUHK6TA.js → styled-components.BShfh7J8.js} +1 -1
- streamlit/static/static/js/{throttle.ByDFm7WV.js → throttle.Fq1DQK4p.js} +1 -1
- streamlit/static/static/js/{timepicker.CN6CUZEL.js → timepicker.DmyY-qtn.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.DwMycSpg.js → toConsumableArray.Dvd9AIqV.js} +1 -1
- streamlit/static/static/js/uniqueId.CCajdEK8.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.Bg0ZMUt5.js → useBasicWidgetState.COLQ5AFB.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.DgBUDcPA.js → useIntlLocale.kdIj0ego.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.DDBezxks.js → useTextInputAutoExpand.DkuG1C1S.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.Df1h6fXC.js → useUpdateUiValue.-UI_JsjT.js} +1 -1
- streamlit/static/static/js/{useWaveformController.DbWw5MEk.js → useWaveformController.C5PTwL6I.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.YaK0HIIP.js → withCalculatedWidth.BREyS0pJ.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.CcWCKoY8.js → withFullScreenWrapper.DYDiEOrW.js} +1 -1
- streamlit/static/static/media/MaterialSymbols-Rounded.CnH1S47a.woff2 +0 -0
- streamlit/testing/v1/app_test.py +21 -5
- streamlit/testing/v1/element_tree.py +81 -4
- streamlit/web/server/server.py +0 -1
- streamlit/web/server/starlette/starlette_app.py +0 -1
- {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/METADATA +10 -25
- {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/RECORD +245 -252
- streamlit/proto/BokehChart_pb2.py +0 -27
- streamlit/proto/BokehChart_pb2.pyi +0 -56
- streamlit/proto/DataFrame_pb2.py +0 -56
- streamlit/proto/DataFrame_pb2.pyi +0 -430
- streamlit/proto/LabelVisibilityMessage_pb2.py +0 -29
- streamlit/proto/NamedDataSet_pb2.py +0 -28
- streamlit/proto/NamedDataSet_pb2.pyi +0 -67
- streamlit/proto/PagesChanged_pb2.py +0 -28
- streamlit/proto/PagesChanged_pb2.pyi +0 -55
- streamlit/proto/VegaLiteChart_pb2.py +0 -29
- streamlit/proto/VegaLiteChart_pb2.pyi +0 -79
- streamlit/static/static/js/data-grid-overlay-editor.COiiMi5r.js +0 -1
- streamlit/static/static/js/formatNumber.BK7h0k2z.js +0 -1
- streamlit/static/static/js/index.BBTKOM0z.js +0 -6
- streamlit/static/static/js/index.CSPY26T2.js +0 -1
- streamlit/static/static/js/index.CYhhEdja.js +0 -1
- streamlit/static/static/js/index.CdsyTabv.js +0 -1
- streamlit/static/static/js/index.CjRU8O1O.js +0 -2
- streamlit/static/static/js/index.Dc5-tFdw.js +0 -2
- streamlit/static/static/js/index.DcngUOyD.js +0 -2
- streamlit/static/static/js/index.VwDKazgt.js +0 -1
- streamlit/static/static/js/number-overlay-editor.CvI6wkld.js +0 -9
- streamlit/static/static/js/sprintf.DpPCfzXw.js +0 -1
- streamlit/static/static/js/uniqueId.DcCWa2cf.js +0 -1
- streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
- streamlit_nightly-1.53.2.dev20260128.data/scripts/streamlit.cmd +0 -16
- {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/top_level.txt +0 -0
|
@@ -12,25 +12,22 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from streamlit.proto import
|
|
15
|
+
from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ButtonGroup.proto\x1a
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ButtonGroup.proto\x1a%streamlit/proto/LabelVisibility.proto\"\x9a\x04\n\x0b\x42uttonGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x07options\x18\x02 \x03(\x0b\x32\x13.ButtonGroup.Option\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12*\n\nclick_mode\x18\x05 \x01(\x0e\x32\x16.ButtonGroup.ClickMode\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x03(\r\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12!\n\x05style\x18\n \x01(\x0e\x32\x12.ButtonGroup.Style\x12\r\n\x05label\x18\x0b \x01(\t\x12*\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x10.LabelVisibility\x12\x11\n\x04help\x18\r \x01(\tH\x00\x88\x01\x01\x1az\n\x06Option\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x19\n\x0c\x63ontent_icon\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_content_iconJ\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05R\x10selected_contentR\x15selected_content_icon\"0\n\tClickMode\x12\x11\n\rSINGLE_SELECT\x10\x00\x12\x10\n\x0cMULTI_SELECT\x10\x01\")\n\x05Style\x12\x15\n\x11SEGMENTED_CONTROL\x10\x00\x12\t\n\x05PILLS\x10\x01\x42\x07\n\x05_helpJ\x04\x08\t\x10\nb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ButtonGroup_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['
|
|
26
|
-
_globals['_BUTTONGROUP'].
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['_BUTTONGROUP_OPTION'].
|
|
29
|
-
_globals['
|
|
30
|
-
_globals['_BUTTONGROUP_CLICKMODE'].
|
|
31
|
-
_globals['
|
|
32
|
-
_globals['
|
|
33
|
-
_globals['_BUTTONGROUP_SELECTIONVISUALIZATION']._serialized_end=772
|
|
34
|
-
_globals['_BUTTONGROUP_STYLE']._serialized_start=774
|
|
35
|
-
_globals['_BUTTONGROUP_STYLE']._serialized_end=831
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_BUTTONGROUP']._serialized_start=77
|
|
26
|
+
_globals['_BUTTONGROUP']._serialized_end=615
|
|
27
|
+
_globals['_BUTTONGROUP_OPTION']._serialized_start=385
|
|
28
|
+
_globals['_BUTTONGROUP_OPTION']._serialized_end=507
|
|
29
|
+
_globals['_BUTTONGROUP_CLICKMODE']._serialized_start=509
|
|
30
|
+
_globals['_BUTTONGROUP_CLICKMODE']._serialized_end=557
|
|
31
|
+
_globals['_BUTTONGROUP_STYLE']._serialized_start=559
|
|
32
|
+
_globals['_BUTTONGROUP_STYLE']._serialized_end=600
|
|
36
33
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,7 +22,7 @@ from google.protobuf import descriptor as _descriptor
|
|
|
22
22
|
from google.protobuf import message as _message
|
|
23
23
|
from google.protobuf.internal import containers as _containers
|
|
24
24
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
25
|
-
from streamlit.proto import
|
|
25
|
+
from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
|
|
26
26
|
import builtins as _builtins
|
|
27
27
|
import sys
|
|
28
28
|
import typing as _typing
|
|
@@ -51,19 +51,6 @@ class ButtonGroup(_message.Message):
|
|
|
51
51
|
SINGLE_SELECT: ButtonGroup.ClickMode.ValueType # 0
|
|
52
52
|
MULTI_SELECT: ButtonGroup.ClickMode.ValueType # 1
|
|
53
53
|
|
|
54
|
-
class _SelectionVisualization:
|
|
55
|
-
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
56
|
-
V: _TypeAlias = ValueType # noqa: Y015
|
|
57
|
-
|
|
58
|
-
class _SelectionVisualizationEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ButtonGroup._SelectionVisualization.ValueType], _builtins.type):
|
|
59
|
-
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
60
|
-
ONLY_SELECTED: ButtonGroup._SelectionVisualization.ValueType # 0
|
|
61
|
-
ALL_UP_TO_SELECTED: ButtonGroup._SelectionVisualization.ValueType # 1
|
|
62
|
-
|
|
63
|
-
class SelectionVisualization(_SelectionVisualization, metaclass=_SelectionVisualizationEnumTypeWrapper): ...
|
|
64
|
-
ONLY_SELECTED: ButtonGroup.SelectionVisualization.ValueType # 0
|
|
65
|
-
ALL_UP_TO_SELECTED: ButtonGroup.SelectionVisualization.ValueType # 1
|
|
66
|
-
|
|
67
54
|
class _Style:
|
|
68
55
|
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
69
56
|
V: _TypeAlias = ValueType # noqa: Y015
|
|
@@ -72,52 +59,33 @@ class ButtonGroup(_message.Message):
|
|
|
72
59
|
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
73
60
|
SEGMENTED_CONTROL: ButtonGroup._Style.ValueType # 0
|
|
74
61
|
PILLS: ButtonGroup._Style.ValueType # 1
|
|
75
|
-
BORDERLESS: ButtonGroup._Style.ValueType # 2
|
|
76
62
|
|
|
77
63
|
class Style(_Style, metaclass=_StyleEnumTypeWrapper): ...
|
|
78
64
|
SEGMENTED_CONTROL: ButtonGroup.Style.ValueType # 0
|
|
79
65
|
PILLS: ButtonGroup.Style.ValueType # 1
|
|
80
|
-
BORDERLESS: ButtonGroup.Style.ValueType # 2
|
|
81
66
|
|
|
82
67
|
@_typing.final
|
|
83
68
|
class Option(_message.Message):
|
|
84
69
|
DESCRIPTOR: _descriptor.Descriptor
|
|
85
70
|
|
|
86
71
|
CONTENT_FIELD_NUMBER: _builtins.int
|
|
87
|
-
SELECTED_CONTENT_FIELD_NUMBER: _builtins.int
|
|
88
72
|
CONTENT_ICON_FIELD_NUMBER: _builtins.int
|
|
89
|
-
SELECTED_CONTENT_ICON_FIELD_NUMBER: _builtins.int
|
|
90
73
|
content: _builtins.str
|
|
91
|
-
selected_content: _builtins.str
|
|
92
|
-
"""when set, this is the content that will be displayed when the option is selected"""
|
|
93
74
|
content_icon: _builtins.str
|
|
94
75
|
"""when set, this is the icon that will be displayed next to the option"""
|
|
95
|
-
selected_content_icon: _builtins.str
|
|
96
|
-
"""when set, this is the icon that will be displayed next to the option when then option is selected"""
|
|
97
76
|
def __init__(
|
|
98
77
|
self,
|
|
99
78
|
*,
|
|
100
79
|
content: _builtins.str = ...,
|
|
101
|
-
selected_content: _builtins.str | None = ...,
|
|
102
80
|
content_icon: _builtins.str | None = ...,
|
|
103
|
-
selected_content_icon: _builtins.str | None = ...,
|
|
104
81
|
) -> None: ...
|
|
105
|
-
_HasFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "
|
|
82
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "content_icon", b"content_icon"] # noqa: Y015
|
|
106
83
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
107
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "
|
|
84
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon", "content", b"content", "content_icon", b"content_icon"] # noqa: Y015
|
|
108
85
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
109
86
|
_WhichOneofReturnType__content_icon: _TypeAlias = _typing.Literal["content_icon"] # noqa: Y015
|
|
110
87
|
_WhichOneofArgType__content_icon: _TypeAlias = _typing.Literal["_content_icon", b"_content_icon"] # noqa: Y015
|
|
111
|
-
_WhichOneofReturnType__selected_content: _TypeAlias = _typing.Literal["selected_content"] # noqa: Y015
|
|
112
|
-
_WhichOneofArgType__selected_content: _TypeAlias = _typing.Literal["_selected_content", b"_selected_content"] # noqa: Y015
|
|
113
|
-
_WhichOneofReturnType__selected_content_icon: _TypeAlias = _typing.Literal["selected_content_icon"] # noqa: Y015
|
|
114
|
-
_WhichOneofArgType__selected_content_icon: _TypeAlias = _typing.Literal["_selected_content_icon", b"_selected_content_icon"] # noqa: Y015
|
|
115
|
-
@_typing.overload
|
|
116
88
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__content_icon) -> _WhichOneofReturnType__content_icon | None: ...
|
|
117
|
-
@_typing.overload
|
|
118
|
-
def WhichOneof(self, oneof_group: _WhichOneofArgType__selected_content) -> _WhichOneofReturnType__selected_content | None: ...
|
|
119
|
-
@_typing.overload
|
|
120
|
-
def WhichOneof(self, oneof_group: _WhichOneofArgType__selected_content_icon) -> _WhichOneofReturnType__selected_content_icon | None: ...
|
|
121
89
|
|
|
122
90
|
ID_FIELD_NUMBER: _builtins.int
|
|
123
91
|
OPTIONS_FIELD_NUMBER: _builtins.int
|
|
@@ -127,7 +95,6 @@ class ButtonGroup(_message.Message):
|
|
|
127
95
|
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
128
96
|
VALUE_FIELD_NUMBER: _builtins.int
|
|
129
97
|
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
130
|
-
SELECTION_VISUALIZATION_FIELD_NUMBER: _builtins.int
|
|
131
98
|
STYLE_FIELD_NUMBER: _builtins.int
|
|
132
99
|
LABEL_FIELD_NUMBER: _builtins.int
|
|
133
100
|
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
@@ -137,7 +104,6 @@ class ButtonGroup(_message.Message):
|
|
|
137
104
|
click_mode: Global___ButtonGroup.ClickMode.ValueType
|
|
138
105
|
form_id: _builtins.str
|
|
139
106
|
set_value: _builtins.bool
|
|
140
|
-
selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType
|
|
141
107
|
style: Global___ButtonGroup.Style.ValueType
|
|
142
108
|
label: _builtins.str
|
|
143
109
|
help: _builtins.str
|
|
@@ -152,7 +118,7 @@ class ButtonGroup(_message.Message):
|
|
|
152
118
|
"""value passed by the backend"""
|
|
153
119
|
|
|
154
120
|
@_builtins.property
|
|
155
|
-
def label_visibility(self) ->
|
|
121
|
+
def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
|
|
156
122
|
def __init__(
|
|
157
123
|
self,
|
|
158
124
|
*,
|
|
@@ -164,15 +130,14 @@ class ButtonGroup(_message.Message):
|
|
|
164
130
|
form_id: _builtins.str = ...,
|
|
165
131
|
value: _abc.Iterable[_builtins.int] | None = ...,
|
|
166
132
|
set_value: _builtins.bool = ...,
|
|
167
|
-
selection_visualization: Global___ButtonGroup.SelectionVisualization.ValueType = ...,
|
|
168
133
|
style: Global___ButtonGroup.Style.ValueType = ...,
|
|
169
134
|
label: _builtins.str = ...,
|
|
170
|
-
label_visibility:
|
|
135
|
+
label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
|
|
171
136
|
help: _builtins.str | None = ...,
|
|
172
137
|
) -> None: ...
|
|
173
138
|
_HasFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "help", b"help", "label_visibility", b"label_visibility"] # noqa: Y015
|
|
174
139
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
175
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "
|
|
140
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "set_value", b"set_value", "style", b"style", "value", b"value"] # noqa: Y015
|
|
176
141
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
177
142
|
_WhichOneofReturnType__help: _TypeAlias = _typing.Literal["help"] # noqa: Y015
|
|
178
143
|
_WhichOneofArgType__help: _TypeAlias = _typing.Literal["_help", b"_help"] # noqa: Y015
|
|
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,streamlit/proto/ButtonLikeIconPosition.proto\x12\tstreamlit*-\n\x16\x42uttonLikeIconPosition\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,streamlit/proto/ButtonLikeIconPosition.proto\x12\tstreamlit*-\n\x16\x42uttonLikeIconPosition\x12\x08\n\x04LEFT\x10\x00\x12\t\n\x05RIGHT\x10\x01\x62\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ButtonLikeIconPosition_pb2', _globals)
|
|
22
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
-
|
|
24
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\033ButtonLikeIconPositionProto'
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
25
24
|
_globals['_BUTTONLIKEICONPOSITION']._serialized_start=59
|
|
26
25
|
_globals['_BUTTONLIKEICONPOSITION']._serialized_end=104
|
|
27
26
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Button_pb2.py
CHANGED
|
@@ -15,16 +15,13 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from streamlit.proto import ButtonLikeIconPosition_pb2 as streamlit_dot_proto_dot_ButtonLikeIconPosition__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Button.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Button.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\xee\x01\n\x06\x42utton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x11is_form_submitter\x18\x06 \x01(\x08\x12\x0c\n\x04type\x18\x07 \x01(\t\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x0c\n\x04icon\x18\n \x01(\t\x12\x10\n\x08shortcut\x18\x0b \x01(\t\x12\x38\n\ricon_position\x18\x0c \x01(\x0e\x32!.streamlit.ButtonLikeIconPositionJ\x04\x08\t\x10\nb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Button_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\013ButtonProto'
|
|
26
|
-
_globals['_BUTTON'].fields_by_name['use_container_width']._loaded_options = None
|
|
27
|
-
_globals['_BUTTON'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
28
25
|
_globals['_BUTTON']._serialized_start=79
|
|
29
|
-
_globals['_BUTTON']._serialized_end=
|
|
26
|
+
_globals['_BUTTON']._serialized_end=317
|
|
30
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Button_pb2.pyi
CHANGED
|
@@ -29,11 +29,6 @@ if sys.version_info >= (3, 10):
|
|
|
29
29
|
else:
|
|
30
30
|
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
if sys.version_info >= (3, 13):
|
|
33
|
-
from warnings import deprecated as _deprecated
|
|
34
|
-
else:
|
|
35
|
-
from typing_extensions import deprecated as _deprecated
|
|
36
|
-
|
|
37
32
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
38
33
|
|
|
39
34
|
@_typing.final
|
|
@@ -48,7 +43,6 @@ class Button(_message.Message):
|
|
|
48
43
|
IS_FORM_SUBMITTER_FIELD_NUMBER: _builtins.int
|
|
49
44
|
TYPE_FIELD_NUMBER: _builtins.int
|
|
50
45
|
DISABLED_FIELD_NUMBER: _builtins.int
|
|
51
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
52
46
|
ICON_FIELD_NUMBER: _builtins.int
|
|
53
47
|
SHORTCUT_FIELD_NUMBER: _builtins.int
|
|
54
48
|
ICON_POSITION_FIELD_NUMBER: _builtins.int
|
|
@@ -64,16 +58,6 @@ class Button(_message.Message):
|
|
|
64
58
|
"""
|
|
65
59
|
type: _builtins.str
|
|
66
60
|
disabled: _builtins.bool
|
|
67
|
-
@_builtins.property
|
|
68
|
-
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
69
|
-
def use_container_width(self) -> _builtins.bool:
|
|
70
|
-
"""DEPRECATED: Use widthConfig on Element.proto instead."""
|
|
71
|
-
|
|
72
|
-
@use_container_width.setter
|
|
73
|
-
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
74
|
-
def use_container_width(self, value: _builtins.bool) -> None:
|
|
75
|
-
"""DEPRECATED: Use widthConfig on Element.proto instead."""
|
|
76
|
-
|
|
77
61
|
icon: _builtins.str
|
|
78
62
|
shortcut: _builtins.str
|
|
79
63
|
icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType
|
|
@@ -88,12 +72,11 @@ class Button(_message.Message):
|
|
|
88
72
|
is_form_submitter: _builtins.bool = ...,
|
|
89
73
|
type: _builtins.str = ...,
|
|
90
74
|
disabled: _builtins.bool = ...,
|
|
91
|
-
use_container_width: _builtins.bool = ...,
|
|
92
75
|
icon: _builtins.str = ...,
|
|
93
76
|
shortcut: _builtins.str = ...,
|
|
94
77
|
icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType = ...,
|
|
95
78
|
) -> None: ...
|
|
96
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "icon_position", b"icon_position", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "shortcut", b"shortcut", "type", b"type"
|
|
79
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "icon_position", b"icon_position", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "shortcut", b"shortcut", "type", b"type"] # noqa: Y015
|
|
97
80
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
98
81
|
|
|
99
82
|
Global___Button: _TypeAlias = Button # noqa: Y015
|
|
@@ -12,17 +12,16 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from streamlit.proto import
|
|
15
|
+
from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/CameraInput.proto\x1a
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/CameraInput.proto\x1a%streamlit/proto/LabelVisibility.proto\"\x85\x01\n\x0b\x43\x61meraInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x04 \x01(\t\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12*\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x10.LabelVisibilityb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.CameraInput_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['
|
|
26
|
-
_globals['_CAMERAINPUT'].
|
|
27
|
-
_globals['_CAMERAINPUT']._serialized_end=224
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_CAMERAINPUT']._serialized_start=77
|
|
26
|
+
_globals['_CAMERAINPUT']._serialized_end=210
|
|
28
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,7 +19,7 @@ limitations under the License.
|
|
|
19
19
|
|
|
20
20
|
from google.protobuf import descriptor as _descriptor
|
|
21
21
|
from google.protobuf import message as _message
|
|
22
|
-
from streamlit.proto import
|
|
22
|
+
from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
|
|
23
23
|
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
25
|
import typing as _typing
|
|
@@ -47,7 +47,7 @@ class CameraInput(_message.Message):
|
|
|
47
47
|
form_id: _builtins.str
|
|
48
48
|
disabled: _builtins.bool
|
|
49
49
|
@_builtins.property
|
|
50
|
-
def label_visibility(self) ->
|
|
50
|
+
def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
|
|
51
51
|
def __init__(
|
|
52
52
|
self,
|
|
53
53
|
*,
|
|
@@ -56,7 +56,7 @@ class CameraInput(_message.Message):
|
|
|
56
56
|
help: _builtins.str = ...,
|
|
57
57
|
form_id: _builtins.str = ...,
|
|
58
58
|
disabled: _builtins.bool = ...,
|
|
59
|
-
label_visibility:
|
|
59
|
+
label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
|
|
60
60
|
) -> None: ...
|
|
61
61
|
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
62
62
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
streamlit/proto/ChatInput_pb2.py
CHANGED
|
@@ -14,18 +14,15 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xf2\x02\n\tChatInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bplaceholder\x18\x02 \x01(\t\x12\x11\n\tmax_chars\x18\x03 \x01(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\r\n\x05value\x18\x05 \x01(\t\x12\x11\n\tset_value\x18\x06 \x01(\x08\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12*\n\x0b\x61\x63\x63\x65pt_file\x18\t \x01(\x0e\x32\x15.ChatInput.AcceptFile\x12\x11\n\tfile_type\x18\n \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x0b \x01(\x05\x12\x14\n\x0c\x61\x63\x63\x65pt_audio\x18\x0c \x01(\x08\x12\x1e\n\x11\x61udio_sample_rate\x18\r \x01(\x05H\x00\x88\x01\x01\"?\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x12\r\n\tDIRECTORY\x10\x03\x42\x14\n\x12_audio_sample_rateJ\x04\x08\x08\x10\tb\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_pb2', _globals)
|
|
22
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
-
|
|
24
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016ChatInputProto'
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
25
24
|
_globals['_CHATINPUT']._serialized_start=36
|
|
26
|
-
_globals['_CHATINPUT']._serialized_end=
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['
|
|
29
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=378
|
|
30
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=441
|
|
25
|
+
_globals['_CHATINPUT']._serialized_end=406
|
|
26
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=315
|
|
27
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=378
|
|
31
28
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,19 +37,6 @@ DESCRIPTOR: _descriptor.FileDescriptor
|
|
|
37
37
|
class ChatInput(_message.Message):
|
|
38
38
|
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
|
-
class _Position:
|
|
41
|
-
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
42
|
-
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
|
-
|
|
44
|
-
class _PositionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ChatInput._Position.ValueType], _builtins.type):
|
|
45
|
-
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
|
-
BOTTOM: ChatInput._Position.ValueType # 0
|
|
47
|
-
|
|
48
|
-
class Position(_Position, metaclass=_PositionEnumTypeWrapper):
|
|
49
|
-
"""DEPRECATED: position property is deprecated and unused."""
|
|
50
|
-
|
|
51
|
-
BOTTOM: ChatInput.Position.ValueType # 0
|
|
52
|
-
|
|
53
40
|
class _AcceptFile:
|
|
54
41
|
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
55
42
|
V: _TypeAlias = ValueType # noqa: Y015
|
|
@@ -74,7 +61,6 @@ class ChatInput(_message.Message):
|
|
|
74
61
|
VALUE_FIELD_NUMBER: _builtins.int
|
|
75
62
|
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
76
63
|
DEFAULT_FIELD_NUMBER: _builtins.int
|
|
77
|
-
POSITION_FIELD_NUMBER: _builtins.int
|
|
78
64
|
ACCEPT_FILE_FIELD_NUMBER: _builtins.int
|
|
79
65
|
FILE_TYPE_FIELD_NUMBER: _builtins.int
|
|
80
66
|
MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: _builtins.int
|
|
@@ -87,7 +73,6 @@ class ChatInput(_message.Message):
|
|
|
87
73
|
value: _builtins.str
|
|
88
74
|
set_value: _builtins.bool
|
|
89
75
|
default: _builtins.str
|
|
90
|
-
position: Global___ChatInput.Position.ValueType
|
|
91
76
|
accept_file: Global___ChatInput.AcceptFile.ValueType
|
|
92
77
|
max_upload_size_mb: _builtins.int
|
|
93
78
|
"""Max file size allowed by server config"""
|
|
@@ -111,7 +96,6 @@ class ChatInput(_message.Message):
|
|
|
111
96
|
value: _builtins.str = ...,
|
|
112
97
|
set_value: _builtins.bool = ...,
|
|
113
98
|
default: _builtins.str = ...,
|
|
114
|
-
position: Global___ChatInput.Position.ValueType = ...,
|
|
115
99
|
accept_file: Global___ChatInput.AcceptFile.ValueType = ...,
|
|
116
100
|
file_type: _abc.Iterable[_builtins.str] | None = ...,
|
|
117
101
|
max_upload_size_mb: _builtins.int = ...,
|
|
@@ -120,7 +104,7 @@ class ChatInput(_message.Message):
|
|
|
120
104
|
) -> None: ...
|
|
121
105
|
_HasFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "audio_sample_rate", b"audio_sample_rate"] # noqa: Y015
|
|
122
106
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
123
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "
|
|
107
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value"] # noqa: Y015
|
|
124
108
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
125
109
|
_WhichOneofReturnType__audio_sample_rate: _TypeAlias = _typing.Literal["audio_sample_rate"] # noqa: Y015
|
|
126
110
|
_WhichOneofArgType__audio_sample_rate: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate"] # noqa: Y015
|
streamlit/proto/Checkbox_pb2.py
CHANGED
|
@@ -12,19 +12,18 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from streamlit.proto import
|
|
15
|
+
from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Checkbox.proto\x1a
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Checkbox.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xfe\x01\n\x08\x43heckbox\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\x08\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12*\n\x10label_visibility\x18\t \x01(\x0b\x32\x10.LabelVisibility\x12!\n\x04type\x18\n \x01(\x0e\x32\x13.Checkbox.StyleType\"$\n\tStyleType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06TOGGLE\x10\x01\x62\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Checkbox_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['
|
|
26
|
-
_globals['_CHECKBOX'].
|
|
27
|
-
_globals['
|
|
28
|
-
_globals['_CHECKBOX_STYLETYPE'].
|
|
29
|
-
_globals['_CHECKBOX_STYLETYPE']._serialized_end=342
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_CHECKBOX']._serialized_start=74
|
|
26
|
+
_globals['_CHECKBOX']._serialized_end=328
|
|
27
|
+
_globals['_CHECKBOX_STYLETYPE']._serialized_start=292
|
|
28
|
+
_globals['_CHECKBOX_STYLETYPE']._serialized_end=328
|
|
30
29
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Checkbox_pb2.pyi
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
from google.protobuf import descriptor as _descriptor
|
|
21
21
|
from google.protobuf import message as _message
|
|
22
22
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
23
|
-
from streamlit.proto import
|
|
23
|
+
from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
|
|
24
24
|
import builtins as _builtins
|
|
25
25
|
import sys
|
|
26
26
|
import typing as _typing
|
|
@@ -69,7 +69,7 @@ class Checkbox(_message.Message):
|
|
|
69
69
|
disabled: _builtins.bool
|
|
70
70
|
type: Global___Checkbox.StyleType.ValueType
|
|
71
71
|
@_builtins.property
|
|
72
|
-
def label_visibility(self) ->
|
|
72
|
+
def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
|
|
73
73
|
def __init__(
|
|
74
74
|
self,
|
|
75
75
|
*,
|
|
@@ -81,7 +81,7 @@ class Checkbox(_message.Message):
|
|
|
81
81
|
value: _builtins.bool = ...,
|
|
82
82
|
set_value: _builtins.bool = ...,
|
|
83
83
|
disabled: _builtins.bool = ...,
|
|
84
|
-
label_visibility:
|
|
84
|
+
label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
|
|
85
85
|
type: Global___Checkbox.StyleType.ValueType = ...,
|
|
86
86
|
) -> None: ...
|
|
87
87
|
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
@@ -15,14 +15,13 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from streamlit.proto import WidgetStates_pb2 as streamlit_dot_proto_dot_WidgetStates__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ClientState.proto\x1a\"streamlit/proto/WidgetStates.proto\"\xf3\x01\n\x0b\x43ontextInfo\x12\x15\n\x08timezone\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0ftimezone_offset\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x13\n\x06locale\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03url\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bis_embedded\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x19\n\x0c\x63olor_scheme\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0b\n\t_timezoneB\x12\n\x10_timezone_offsetB\t\n\x07_localeB\x06\n\x04_urlB\x0e\n\x0c_is_embeddedB\x0f\n\r_color_scheme\"\xe5\x01\n\x0b\x43lientState\x12\x14\n\x0cquery_string\x18\x01 \x01(\t\x12$\n\rwidget_states\x18\x02 \x01(\x0b\x32\r.WidgetStates\x12\x18\n\x10page_script_hash\x18\x03 \x01(\t\x12\x11\n\tpage_name\x18\x04 \x01(\t\x12\x13\n\x0b\x66ragment_id\x18\x05 \x01(\t\x12\x15\n\ris_auto_rerun\x18\x06 \x01(\x08\x12\x1d\n\x15\x63\x61\x63hed_message_hashes\x18\x07 \x03(\t\x12\"\n\x0c\x63ontext_info\x18\x08 \x01(\x0b\x32\x0c.
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ClientState.proto\x1a\"streamlit/proto/WidgetStates.proto\"\xf3\x01\n\x0b\x43ontextInfo\x12\x15\n\x08timezone\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0ftimezone_offset\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x13\n\x06locale\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03url\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bis_embedded\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12\x19\n\x0c\x63olor_scheme\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0b\n\t_timezoneB\x12\n\x10_timezone_offsetB\t\n\x07_localeB\x06\n\x04_urlB\x0e\n\x0c_is_embeddedB\x0f\n\r_color_scheme\"\xe5\x01\n\x0b\x43lientState\x12\x14\n\x0cquery_string\x18\x01 \x01(\t\x12$\n\rwidget_states\x18\x02 \x01(\x0b\x32\r.WidgetStates\x12\x18\n\x10page_script_hash\x18\x03 \x01(\t\x12\x11\n\tpage_name\x18\x04 \x01(\t\x12\x13\n\x0b\x66ragment_id\x18\x05 \x01(\t\x12\x15\n\ris_auto_rerun\x18\x06 \x01(\x08\x12\x1d\n\x15\x63\x61\x63hed_message_hashes\x18\x07 \x03(\t\x12\"\n\x0c\x63ontext_info\x18\x08 \x01(\x0b\x32\x0c.ContextInfob\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ClientState_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ClientStateProto'
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
26
25
|
_globals['_CONTEXTINFO']._serialized_start=74
|
|
27
26
|
_globals['_CONTEXTINFO']._serialized_end=317
|
|
28
27
|
_globals['_CLIENTSTATE']._serialized_start=320
|
streamlit/proto/Code_pb2.py
CHANGED
|
@@ -14,16 +14,13 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"n\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"`\n\x04\x43ode\x12\x11\n\tcode_text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x19\n\x11show_line_numbers\x18\x03 \x01(\x08\x12\x12\n\nwrap_lines\x18\x04 \x01(\x08J\x04\x08\x05\x10\x06\x62\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Code_pb2', _globals)
|
|
22
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
-
|
|
24
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tCodeProto'
|
|
25
|
-
_globals['_CODE'].fields_by_name['height']._loaded_options = None
|
|
26
|
-
_globals['_CODE'].fields_by_name['height']._serialized_options = b'\030\001'
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
27
24
|
_globals['_CODE']._serialized_start=30
|
|
28
|
-
_globals['_CODE']._serialized_end=
|
|
25
|
+
_globals['_CODE']._serialized_end=126
|
|
29
26
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Code_pb2.pyi
CHANGED
|
@@ -28,11 +28,6 @@ if sys.version_info >= (3, 10):
|
|
|
28
28
|
else:
|
|
29
29
|
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
30
|
|
|
31
|
-
if sys.version_info >= (3, 13):
|
|
32
|
-
from warnings import deprecated as _deprecated
|
|
33
|
-
else:
|
|
34
|
-
from typing_extensions import deprecated as _deprecated
|
|
35
|
-
|
|
36
31
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
37
32
|
|
|
38
33
|
@_typing.final
|
|
@@ -45,22 +40,11 @@ class Code(_message.Message):
|
|
|
45
40
|
LANGUAGE_FIELD_NUMBER: _builtins.int
|
|
46
41
|
SHOW_LINE_NUMBERS_FIELD_NUMBER: _builtins.int
|
|
47
42
|
WRAP_LINES_FIELD_NUMBER: _builtins.int
|
|
48
|
-
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
49
43
|
code_text: _builtins.str
|
|
50
44
|
"""Content to display."""
|
|
51
45
|
language: _builtins.str
|
|
52
46
|
show_line_numbers: _builtins.bool
|
|
53
47
|
wrap_lines: _builtins.bool
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
56
|
-
def height(self) -> _builtins.int:
|
|
57
|
-
"""deprecated use height on Element.proto"""
|
|
58
|
-
|
|
59
|
-
@height.setter
|
|
60
|
-
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
61
|
-
def height(self, value: _builtins.int) -> None:
|
|
62
|
-
"""deprecated use height on Element.proto"""
|
|
63
|
-
|
|
64
48
|
def __init__(
|
|
65
49
|
self,
|
|
66
50
|
*,
|
|
@@ -68,9 +52,8 @@ class Code(_message.Message):
|
|
|
68
52
|
language: _builtins.str = ...,
|
|
69
53
|
show_line_numbers: _builtins.bool = ...,
|
|
70
54
|
wrap_lines: _builtins.bool = ...,
|
|
71
|
-
height: _builtins.int = ...,
|
|
72
55
|
) -> None: ...
|
|
73
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["code_text", b"code_text", "
|
|
56
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["code_text", b"code_text", "language", b"language", "show_line_numbers", b"show_line_numbers", "wrap_lines", b"wrap_lines"] # noqa: Y015
|
|
74
57
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
75
58
|
|
|
76
59
|
Global___Code: _TypeAlias = Code # noqa: Y015
|
|
@@ -12,17 +12,16 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from streamlit.proto import
|
|
15
|
+
from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ColorPicker.proto\x1a
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ColorPicker.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xb8\x01\n\x0b\x43olorPicker\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\t\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12*\n\x10label_visibility\x18\t \x01(\x0b\x32\x10.LabelVisibilityb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ColorPicker_pb2', _globals)
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
-
|
|
25
|
-
_globals['
|
|
26
|
-
_globals['_COLORPICKER'].
|
|
27
|
-
_globals['_COLORPICKER']._serialized_end=275
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_COLORPICKER']._serialized_start=77
|
|
26
|
+
_globals['_COLORPICKER']._serialized_end=261
|
|
28
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,7 +19,7 @@ limitations under the License.
|
|
|
19
19
|
|
|
20
20
|
from google.protobuf import descriptor as _descriptor
|
|
21
21
|
from google.protobuf import message as _message
|
|
22
|
-
from streamlit.proto import
|
|
22
|
+
from streamlit.proto import LabelVisibility_pb2 as _LabelVisibility_pb2
|
|
23
23
|
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
25
|
import typing as _typing
|
|
@@ -53,7 +53,7 @@ class ColorPicker(_message.Message):
|
|
|
53
53
|
set_value: _builtins.bool
|
|
54
54
|
disabled: _builtins.bool
|
|
55
55
|
@_builtins.property
|
|
56
|
-
def label_visibility(self) ->
|
|
56
|
+
def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
|
|
57
57
|
def __init__(
|
|
58
58
|
self,
|
|
59
59
|
*,
|
|
@@ -65,7 +65,7 @@ class ColorPicker(_message.Message):
|
|
|
65
65
|
value: _builtins.str = ...,
|
|
66
66
|
set_value: _builtins.bool = ...,
|
|
67
67
|
disabled: _builtins.bool = ...,
|
|
68
|
-
label_visibility:
|
|
68
|
+
label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
|
|
69
69
|
) -> None: ...
|
|
70
70
|
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
71
71
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|