streamlit-nightly 1.53.2.dev20260131__py3-none-any.whl → 1.53.2.dev20260203__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.
Files changed (205) hide show
  1. streamlit/commands/execution_control.py +2 -2
  2. streamlit/commands/logo.py +6 -10
  3. streamlit/components/v2/component_path_utils.py +17 -29
  4. streamlit/config.py +4 -2
  5. streamlit/delta_generator.py +2 -0
  6. streamlit/elements/lib/column_types.py +6 -2
  7. streamlit/elements/lib/utils.py +6 -6
  8. streamlit/elements/markdown.py +0 -1
  9. streamlit/elements/metric.py +2 -1
  10. streamlit/elements/widgets/button_group.py +6 -276
  11. streamlit/elements/widgets/feedback.py +322 -0
  12. streamlit/elements/widgets/number_input.py +2 -1
  13. streamlit/elements/widgets/slider.py +2 -1
  14. streamlit/material_icon_names.py +1 -1
  15. streamlit/path_security.py +98 -0
  16. streamlit/proto/AudioInput_pb2.py +4 -4
  17. streamlit/proto/AudioInput_pb2.pyi +3 -3
  18. streamlit/proto/Audio_pb2.py +2 -2
  19. streamlit/proto/BackMsg_pb2.pyi +2 -10
  20. streamlit/proto/Balloons_pb2.pyi +0 -2
  21. streamlit/proto/Block_pb2.py +35 -35
  22. streamlit/proto/ButtonGroup_pb2.py +10 -12
  23. streamlit/proto/ButtonGroup_pb2.pyi +6 -41
  24. streamlit/proto/Button_pb2.py +2 -2
  25. streamlit/proto/CameraInput_pb2.py +4 -4
  26. streamlit/proto/CameraInput_pb2.pyi +3 -3
  27. streamlit/proto/ChatInput_pb2.py +2 -2
  28. streamlit/proto/Checkbox_pb2.py +6 -6
  29. streamlit/proto/Checkbox_pb2.pyi +3 -3
  30. streamlit/proto/Code_pb2.py +2 -2
  31. streamlit/proto/ColorPicker_pb2.py +4 -4
  32. streamlit/proto/ColorPicker_pb2.pyi +3 -3
  33. streamlit/proto/Common_pb2.py +6 -6
  34. streamlit/proto/DateInput_pb2.py +4 -4
  35. streamlit/proto/DateInput_pb2.pyi +3 -3
  36. streamlit/proto/DateTimeInput_pb2.py +4 -4
  37. streamlit/proto/DateTimeInput_pb2.pyi +3 -3
  38. streamlit/proto/DeckGlJsonChart_pb2.py +2 -2
  39. streamlit/proto/Delta_pb2.py +2 -2
  40. streamlit/proto/DocString_pb2.py +1 -1
  41. streamlit/proto/Element_pb2.py +4 -4
  42. streamlit/proto/Element_pb2.pyi +9 -9
  43. streamlit/proto/Feedback_pb2.py +28 -0
  44. streamlit/proto/Feedback_pb2.pyi +93 -0
  45. streamlit/proto/FileUploader_pb2.py +4 -4
  46. streamlit/proto/FileUploader_pb2.pyi +3 -3
  47. streamlit/proto/ForwardMsg_pb2.py +8 -8
  48. streamlit/proto/GraphVizChart_pb2.py +2 -2
  49. streamlit/proto/IFrame_pb2.py +3 -3
  50. streamlit/proto/Image_pb2.py +4 -4
  51. streamlit/proto/Image_pb2.pyi +1 -7
  52. streamlit/proto/{BokehChart_pb2.py → LabelVisibility_pb2.py} +7 -5
  53. streamlit/proto/{LabelVisibilityMessage_pb2.pyi → LabelVisibility_pb2.pyi} +14 -14
  54. streamlit/proto/Markdown_pb2.py +4 -4
  55. streamlit/proto/Markdown_pb2.pyi +1 -5
  56. streamlit/proto/Metric_pb2.py +10 -10
  57. streamlit/proto/Metric_pb2.pyi +3 -3
  58. streamlit/proto/MultiSelect_pb2.py +4 -4
  59. streamlit/proto/MultiSelect_pb2.pyi +3 -3
  60. streamlit/proto/NewSession_pb2.py +38 -26
  61. streamlit/proto/NewSession_pb2.pyi +42 -8
  62. streamlit/proto/NumberInput_pb2.py +6 -6
  63. streamlit/proto/NumberInput_pb2.pyi +3 -3
  64. streamlit/proto/PlotlyChart_pb2.py +2 -2
  65. streamlit/proto/Radio_pb2.py +4 -4
  66. streamlit/proto/Radio_pb2.pyi +3 -3
  67. streamlit/proto/Selectbox_pb2.py +4 -4
  68. streamlit/proto/Selectbox_pb2.pyi +3 -6
  69. streamlit/proto/Slider_pb2.py +8 -8
  70. streamlit/proto/Slider_pb2.pyi +3 -3
  71. streamlit/proto/Snow_pb2.pyi +0 -2
  72. streamlit/proto/TextArea_pb2.py +4 -4
  73. streamlit/proto/TextArea_pb2.pyi +3 -3
  74. streamlit/proto/TextInput_pb2.py +6 -6
  75. streamlit/proto/TextInput_pb2.pyi +3 -3
  76. streamlit/proto/TimeInput_pb2.py +4 -4
  77. streamlit/proto/TimeInput_pb2.pyi +3 -3
  78. streamlit/proto/Video_pb2.py +2 -2
  79. streamlit/runtime/app_session.py +9 -1
  80. streamlit/static/index.html +2 -2
  81. streamlit/static/manifest.json +325 -310
  82. streamlit/static/static/css/{index.BUP6fTcR.css → index.C8MrxwGF.css} +1 -1
  83. streamlit/static/static/js/{ErrorOutline.esm.DC6KVDKK.js → ErrorOutline.esm.C9uHPmIj.js} +1 -1
  84. streamlit/static/static/js/{FileDownload.esm.Z9hRQIHi.js → FileDownload.esm.D-YPxF3t.js} +1 -1
  85. streamlit/static/static/js/{FileHelper.DqvW90pm.js → FileHelper.DQSH0zYW.js} +1 -1
  86. streamlit/static/static/js/{FormClearHelper.DTFnX0js.js → FormClearHelper.DQoXcOWo.js} +1 -1
  87. streamlit/static/static/js/{InputInstructions.CdzsN_Va.js → InputInstructions.C7VMyGT7.js} +1 -1
  88. streamlit/static/static/js/{Particles.12xFSjcn.js → Particles.BdQSRZde.js} +1 -1
  89. streamlit/static/static/js/{ProgressBar.Dg-oMbWg.js → ProgressBar.DNF_pWKr.js} +2 -2
  90. streamlit/static/static/js/{StreamlitSyntaxHighlighter.rbzmcipw.js → StreamlitSyntaxHighlighter.Cys9Bt18.js} +2 -2
  91. streamlit/static/static/js/{TableChart.esm.CzJtGIR-.js → TableChart.esm.B9SMgSK4.js} +1 -1
  92. streamlit/static/static/js/{Toolbar.COH7NaOE.js → Toolbar.BXfC9Z-W.js} +1 -1
  93. streamlit/static/static/js/{WidgetLabelHelpIconInline.Dlc8f0Ji.js → WidgetLabelHelpIconInline.gkreC55g.js} +1 -1
  94. streamlit/static/static/js/{base-input.Q-zJLgRK.js → base-input.iB32RS3w.js} +4 -4
  95. streamlit/static/static/js/{checkbox.BKgWNdeI.js → checkbox.Bqz68SYq.js} +1 -1
  96. streamlit/static/static/js/{createDownloadLinkElement.6oO-YlYv.js → createDownloadLinkElement.YxVC9Qur.js} +1 -1
  97. streamlit/static/static/js/data-grid-overlay-editor.sBsdk5Xg.js +1 -0
  98. streamlit/static/static/js/{downloader.BBXcXdX1.js → downloader.Bzxqt3AW.js} +1 -1
  99. streamlit/static/static/js/{embed.CJzOXYBF.js → embed.CDzakah3.js} +1 -1
  100. streamlit/static/static/js/{es6.CdxPQzwJ.js → es6.CxCc4bfn.js} +2 -2
  101. streamlit/static/static/js/formatNumber.L8T7D36k.js +1 -0
  102. streamlit/static/static/js/{iconPosition.BVScIr6G.js → iconPosition.C47DkA-1.js} +1 -1
  103. streamlit/static/static/js/{iframeResizer.contentWindow.D_QHVqPM.js → iframeResizer.contentWindow.uEFLXEg3.js} +1 -1
  104. streamlit/static/static/js/{index.CvtybR-u.js → index.B3zULhHv.js} +1 -1
  105. streamlit/static/static/js/{index.DAyGxxdm.js → index.B60AZFRh.js} +3 -3
  106. streamlit/static/static/js/{index.BED2_zc7.js → index.BG4RxMOI.js} +1 -1
  107. streamlit/static/static/js/{index.CPc_uZux.js → index.BHyzKS4e.js} +45 -45
  108. streamlit/static/static/js/{index.Dud7RRHc.js → index.BVTW_o-a.js} +1 -1
  109. streamlit/static/static/js/{index.BQnLeHnr.js → index.BV_YgIHe.js} +3 -3
  110. streamlit/static/static/js/index.B_LfkwqU.js +2 -0
  111. streamlit/static/static/js/{index.DCe7fo-m.js → index.Ba8L-ulI.js} +1 -1
  112. streamlit/static/static/js/{index.DAfIQKfP.js → index.Bh5BZaHG.js} +2 -2
  113. streamlit/static/static/js/{index.DU68jVpM.js → index.Bnwh8oZr.js} +16 -16
  114. streamlit/static/static/js/index.BrZtYm2A.js +2 -0
  115. streamlit/static/static/js/index.BsrhCS7f.js +1 -0
  116. streamlit/static/static/js/{index.CxoREvnF.js → index.BuJPJSD7.js} +2 -2
  117. streamlit/static/static/js/{index.6DFY6LUF.js → index.BvHsyiyy.js} +1 -1
  118. streamlit/static/static/js/{index.Biyf9aUg.js → index.BwTkGOAy.js} +2 -2
  119. streamlit/static/static/js/{index.DNfyKqhQ.js → index.BwvxzVOo.js} +1 -1
  120. streamlit/static/static/js/{index.iXh5nbLZ.js → index.BzdcdLDK.js} +1 -1
  121. streamlit/static/static/js/{index.YULCxEtm.js → index.C1d2QjTR.js} +1 -1
  122. streamlit/static/static/js/index.C1uZrWog.js +1 -0
  123. streamlit/static/static/js/{index.C5oqIM3a.js → index.C5-TpWis.js} +1 -1
  124. streamlit/static/static/js/{index.D6OexhdL.js → index.C6dhwBSe.js} +1 -1
  125. streamlit/static/static/js/{index.y-pa6LIX.js → index.CAbQaUvi.js} +1 -1
  126. streamlit/static/static/js/{index.BSpYHDvk.js → index.CAbafj7s.js} +1 -1
  127. streamlit/static/static/js/{index.BDtN2n7T.js → index.CCLteRW6.js} +1 -1
  128. streamlit/static/static/js/{index.mSdC1FV6.js → index.CQ713nQM.js} +1 -1
  129. streamlit/static/static/js/index.CcBYyLfq.js +2 -0
  130. streamlit/static/static/js/{index.CBE2cIbj.js → index.CjBDVb1a.js} +1 -1
  131. streamlit/static/static/js/{index.BxQxTpWl.js → index.Ck0ZkOfK.js} +1 -1
  132. streamlit/static/static/js/{index.B80gSxrS.js → index.CzwJzgQs.js} +1 -1
  133. streamlit/static/static/js/{index.DyfvmNCy.js → index.D-9VyyiA.js} +1 -1
  134. streamlit/static/static/js/{index.nL1fkE1D.js → index.D2R3Co5f.js} +1 -1
  135. streamlit/static/static/js/{index.DZmBuE3z.js → index.D7L9gHlE.js} +3 -3
  136. streamlit/static/static/js/{index.BqxwnMem.js → index.DEKnCsY-.js} +2 -2
  137. streamlit/static/static/js/{index.D9v2Y8Gk.js → index.DHrByikW.js} +1 -1
  138. streamlit/static/static/js/index.DN_oudQl.js +1 -0
  139. streamlit/static/static/js/{index.DrcbvB2t.js → index.DO55kRo5.js} +1 -1
  140. streamlit/static/static/js/{index.BqbKiDp2.js → index.D_cvtSlg.js} +1 -1
  141. streamlit/static/static/js/{index.CrY1BsL3.js → index.DgqmsDCJ.js} +1 -1
  142. streamlit/static/static/js/{index.BtOoVQt7.js → index.DjgdCvlK.js} +1 -1
  143. streamlit/static/static/js/{index.BxMkW82k.js → index.DqhZqWYB.js} +1 -1
  144. streamlit/static/static/js/{index.bQJYmJ2T.js → index.Dtbj_oyb.js} +1 -1
  145. streamlit/static/static/js/{index.CUYi3FrD.js → index.QXukCzoh.js} +1 -1
  146. streamlit/static/static/js/{index.BiCbrx53.js → index.XJY9qZ6a.js} +1 -1
  147. streamlit/static/static/js/{index.GieKl4BG.js → index.aZRhdEuX.js} +1 -1
  148. streamlit/static/static/js/{index._1zqETQ9.js → index.fUsWkW8E.js} +1 -1
  149. streamlit/static/static/js/index.h2N-W51I.js +11 -0
  150. streamlit/static/static/js/index.iUHLeAvv.js +1 -0
  151. streamlit/static/static/js/{index.DRoJNzFX.js → index.kBgXO7Vv.js} +1 -1
  152. streamlit/static/static/js/{index.BSYebegS.js → index.kEL0HsUR.js} +1 -1
  153. streamlit/static/static/js/index.w7yKy9fh.js +6 -0
  154. streamlit/static/static/js/{input.BcC6sPE_.js → input.BCHJn1Cw.js} +1 -1
  155. streamlit/static/static/js/{main.TU5_aabd.js → main.23ZP6f1E.js} +1 -1
  156. streamlit/static/static/js/{memory.By_OTlI4.js → memory.D8f8Q4mO.js} +1 -1
  157. streamlit/static/static/js/number-overlay-editor.ZWvSpjJ5.js +9 -0
  158. streamlit/static/static/js/{pandasStylerUtils.3IiIKU9-.js → pandasStylerUtils.DlZ2GBs_.js} +1 -1
  159. streamlit/static/static/js/{sandbox.DnxTbWzV.js → sandbox.BH6D3KL9.js} +1 -1
  160. streamlit/static/static/js/sprintfjs.CtrdaGLQ.js +1 -0
  161. streamlit/static/static/js/{styled-components.BeEcZ0vW.js → styled-components.iD1HRMLc.js} +1 -1
  162. streamlit/static/static/js/{throttle.emUyC44c.js → throttle.DR7d9vp_.js} +1 -1
  163. streamlit/static/static/js/{timepicker.DZ_ZufYF.js → timepicker.Bd34xjcG.js} +4 -4
  164. streamlit/static/static/js/{toConsumableArray.DDV1bN1-.js → toConsumableArray.BDTTq1c5.js} +2 -2
  165. streamlit/static/static/js/uniqueId.Bd_Iuzvc.js +1 -0
  166. streamlit/static/static/js/useBasicWidgetState.BXKaD8DQ.js +1 -0
  167. streamlit/static/static/js/{useIntlLocale.BBDLbTq9.js → useIntlLocale.CysOvegI.js} +1 -1
  168. streamlit/static/static/js/{useTextInputAutoExpand.BIApLJKn.js → useTextInputAutoExpand.CVd5Hf2S.js} +1 -1
  169. streamlit/static/static/js/{useUpdateUiValue.DQ4RuJNC.js → useUpdateUiValue.CIUgfO8X.js} +1 -1
  170. streamlit/static/static/js/{useWaveformController.B0olyXLQ.js → useWaveformController.CDLqlnLv.js} +1 -1
  171. streamlit/static/static/js/{withCalculatedWidth.DYeqePuh.js → withCalculatedWidth.Ce1Zblb2.js} +1 -1
  172. streamlit/static/static/js/{withFullScreenWrapper.DtkUCO_d.js → withFullScreenWrapper.DBm7N75M.js} +1 -1
  173. streamlit/static/static/media/MaterialSymbols-Rounded.CnH1S47a.woff2 +0 -0
  174. streamlit/testing/v1/app_test.py +21 -5
  175. streamlit/testing/v1/element_tree.py +65 -2
  176. streamlit/web/server/app_static_file_handler.py +9 -0
  177. streamlit/web/server/bidi_component_request_handler.py +4 -4
  178. streamlit/web/server/component_file_utils.py +14 -6
  179. streamlit/web/server/component_request_handler.py +2 -2
  180. streamlit/web/server/starlette/starlette_app.py +7 -1
  181. streamlit/web/server/starlette/starlette_path_security_middleware.py +97 -0
  182. streamlit/web/server/starlette/starlette_routes.py +6 -3
  183. streamlit/web/server/starlette/starlette_static_routes.py +14 -4
  184. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260203.dist-info}/METADATA +1 -1
  185. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260203.dist-info}/RECORD +188 -184
  186. streamlit/proto/BokehChart_pb2.pyi +0 -56
  187. streamlit/proto/LabelVisibilityMessage_pb2.py +0 -28
  188. streamlit/static/static/js/data-grid-overlay-editor.CO0xdNiG.js +0 -1
  189. streamlit/static/static/js/formatNumber.DB5irY8c.js +0 -1
  190. streamlit/static/static/js/index.BBTKOM0z.js +0 -6
  191. streamlit/static/static/js/index.CE2WIFD1.js +0 -2
  192. streamlit/static/static/js/index.Cpu2p5bH.js +0 -1
  193. streamlit/static/static/js/index.CtbETWQK.js +0 -2
  194. streamlit/static/static/js/index.DAnczAW2.js +0 -2
  195. streamlit/static/static/js/index.DhRAGiPR.js +0 -1
  196. streamlit/static/static/js/index.DyXcT2tD.js +0 -11
  197. streamlit/static/static/js/index.tuFFlbxa.js +0 -1
  198. streamlit/static/static/js/number-overlay-editor.FSRaRpbU.js +0 -9
  199. streamlit/static/static/js/sprintf.DpPCfzXw.js +0 -1
  200. streamlit/static/static/js/uniqueId.DTwvAE-J.js +0 -1
  201. streamlit/static/static/js/useBasicWidgetState.DvpdEDYZ.js +0 -1
  202. streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
  203. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260203.dist-info}/WHEEL +0 -0
  204. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260203.dist-info}/entry_points.txt +0 -0
  205. {streamlit_nightly-1.53.2.dev20260131.dist-info → streamlit_nightly-1.53.2.dev20260203.dist-info}/top_level.txt +0 -0
@@ -12,16 +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 LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
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/AudioInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xb5\x01\n\nAudioInput\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\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x18\n\x0bsample_rate\x18\x07 \x01(\x05H\x00\x88\x01\x01\x42\x0e\n\x0c_sample_rateb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/AudioInput.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xae\x01\n\nAudioInput\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.LabelVisibility\x12\x18\n\x0bsample_rate\x18\x07 \x01(\x05H\x00\x88\x01\x01\x42\x0e\n\x0c_sample_rateb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.AudioInput_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_AUDIOINPUT']._serialized_start=83
26
- _globals['_AUDIOINPUT']._serialized_end=264
25
+ _globals['_AUDIOINPUT']._serialized_start=76
26
+ _globals['_AUDIOINPUT']._serialized_end=250
27
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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
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
@@ -49,7 +49,7 @@ class AudioInput(_message.Message):
49
49
  disabled: _builtins.bool
50
50
  sample_rate: _builtins.int
51
51
  @_builtins.property
52
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
52
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
53
53
  def __init__(
54
54
  self,
55
55
  *,
@@ -58,7 +58,7 @@ class AudioInput(_message.Message):
58
58
  help: _builtins.str = ...,
59
59
  form_id: _builtins.str = ...,
60
60
  disabled: _builtins.bool = ...,
61
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
61
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
62
62
  sample_rate: _builtins.int | None = ...,
63
63
  ) -> None: ...
64
64
  _HasFieldArgType: _TypeAlias = _typing.Literal["_sample_rate", b"_sample_rate", "label_visibility", b"label_visibility", "sample_rate", b"sample_rate"] # noqa: Y015
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Audio.proto\x1a!streamlit/proto/WidthConfig.proto\"\xca\x01\n\x05\x41udio\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x12\n\nstart_time\x18\x03 \x01(\x05\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x05\x12\x0c\n\x04loop\x18\x07 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x08 \x01(\x08\x12\n\n\x02id\x18\t \x01(\t\x12\x31\n\x0cwidth_config\x18\n \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\x42\x0f\n\r_width_configJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05R\x04\x64\x61taR\x06\x66ormatb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Audio.proto\x1a!streamlit/proto/WidthConfig.proto\"\xbc\x01\n\x05\x41udio\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x12\n\nstart_time\x18\x03 \x01(\x05\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\x05\x12\x0c\n\x04loop\x18\x07 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x08 \x01(\x08\x12\n\n\x02id\x18\t \x01(\t\x12\x31\n\x0cwidth_config\x18\n \x01(\x0b\x32\x16.streamlit.WidthConfigH\x00\x88\x01\x01\x42\x0f\n\r_width_configJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -23,5 +23,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Audio_pb2',
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
25
  _globals['_AUDIO']._serialized_start=67
26
- _globals['_AUDIO']._serialized_end=269
26
+ _globals['_AUDIO']._serialized_end=255
27
27
  # @@protoc_insertion_point(module_scope)
@@ -50,11 +50,7 @@ class BackMsg(_message.Message):
50
50
  DEFERRED_FILE_REQUEST_FIELD_NUMBER: _builtins.int
51
51
  DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER: _builtins.int
52
52
  clear_cache: _builtins.bool
53
- """DEPRECATED. Asks the server to run the script with this object
54
- ReRun rerun = 4;
55
-
56
- Requests that the app's @st_cache be cleared
57
- """
53
+ """Requests that the app's @st_cache be cleared"""
58
54
  set_run_on_save: _builtins.bool
59
55
  """Requests that the runOnSave behavior for this app be set
60
56
  to the given value
@@ -80,11 +76,7 @@ class BackMsg(_message.Message):
80
76
  should only be used for testing.
81
77
  """
82
78
  @_builtins.property
83
- def rerun_script(self) -> _ClientState_pb2.ClientState:
84
- """DEPRECATED. Set to true to ask the server to close the connection
85
- bool close_connection = 10;
86
- """
87
-
79
+ def rerun_script(self) -> _ClientState_pb2.ClientState: ...
88
80
  @_builtins.property
89
81
  def file_urls_request(self) -> _Common_pb2.FileURLsRequest:
90
82
  """Requests that the server generate URLs for getting/uploading/deleting
@@ -32,8 +32,6 @@ DESCRIPTOR: _descriptor.FileDescriptor
32
32
 
33
33
  @_typing.final
34
34
  class Balloons(_message.Message):
35
- """A python empty."""
36
-
37
35
  DESCRIPTOR: _descriptor.Descriptor
38
36
 
39
37
  SHOW_FIELD_NUMBER: _builtins.int
@@ -17,7 +17,7 @@ from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightCo
17
17
  from streamlit.proto import GapSize_pb2 as streamlit_dot_proto_dot_GapSize__pb2
18
18
 
19
19
 
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\xcc\x10\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a(\n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08J\x04\x08\x02\x10\x03R\x06height\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\x81\x04\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\x12-\n\x07justify\x18\x07 \x01(\x0e\x32\x1c.Block.FlexContainer.Justify\x12)\n\x05\x61lign\x18\x08 \x01(\x0e\x32\x1a.Block.FlexContainer.Align\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\"k\n\x07Justify\x12\x15\n\x11JUSTIFY_UNDEFINED\x10\x00\x12\x11\n\rJUSTIFY_START\x10\x01\x12\x0f\n\x0bJUSTIFY_END\x10\x02\x12\x12\n\x0eJUSTIFY_CENTER\x10\x03\x12\x11\n\rSPACE_BETWEEN\x10\x04\"[\n\x05\x41lign\x12\x13\n\x0f\x41LIGN_UNDEFINED\x10\x00\x12\x0f\n\x0b\x41LIGN_START\x10\x01\x12\r\n\tALIGN_END\x10\x02\x12\x10\n\x0c\x41LIGN_CENTER\x10\x03\x12\x0b\n\x07STRETCH\x10\x04\x1a\xe9\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_configJ\x04\x08\x02\x10\x03R\x03gap\x1aM\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\tB\x0b\n\t_expanded\x1a\xc3\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\n\n\x02id\x18\x05 \x01(\t\x12\x0c\n\x04icon\x18\x06 \x01(\t\"/\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a)\n\x0cTabContainer\x12\x19\n\x11\x64\x65\x66\x61ult_tab_index\x18\x01 \x01(\x05\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1ao\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03R\x13use_container_width\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configb\x06proto3')
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\xaa\x10\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a \n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08J\x04\x08\x02\x10\x03\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\x81\x04\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\x12-\n\x07justify\x18\x07 \x01(\x0e\x32\x1c.Block.FlexContainer.Justify\x12)\n\x05\x61lign\x18\x08 \x01(\x0e\x32\x1a.Block.FlexContainer.Align\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\"k\n\x07Justify\x12\x15\n\x11JUSTIFY_UNDEFINED\x10\x00\x12\x11\n\rJUSTIFY_START\x10\x01\x12\x0f\n\x0bJUSTIFY_END\x10\x02\x12\x12\n\x0eJUSTIFY_CENTER\x10\x03\x12\x11\n\rSPACE_BETWEEN\x10\x04\"[\n\x05\x41lign\x12\x13\n\x0f\x41LIGN_UNDEFINED\x10\x00\x12\x0f\n\x0b\x41LIGN_START\x10\x01\x12\r\n\tALIGN_END\x10\x02\x12\x10\n\x0c\x41LIGN_CENTER\x10\x03\x12\x0b\n\x07STRETCH\x10\x04\x1a\xe4\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_configJ\x04\x08\x02\x10\x03\x1aM\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\tB\x0b\n\t_expanded\x1a\xc3\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\n\n\x02id\x18\x05 \x01(\t\x12\x0c\n\x04icon\x18\x06 \x01(\t\"/\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a)\n\x0cTabContainer\x12\x19\n\x11\x64\x65\x66\x61ult_tab_index\x18\x01 \x01(\x05\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1aZ\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configb\x06proto3')
21
21
 
22
22
  _globals = globals()
23
23
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -25,39 +25,39 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Block_pb2',
25
25
  if not _descriptor._USE_C_DESCRIPTORS:
26
26
  DESCRIPTOR._loaded_options = None
27
27
  _globals['_BLOCK']._serialized_start=134
28
- _globals['_BLOCK']._serialized_end=2258
28
+ _globals['_BLOCK']._serialized_end=2224
29
29
  _globals['_BLOCK_VERTICAL']._serialized_start=699
30
- _globals['_BLOCK_VERTICAL']._serialized_end=739
31
- _globals['_BLOCK_HORIZONTAL']._serialized_start=741
32
- _globals['_BLOCK_HORIZONTAL']._serialized_end=766
33
- _globals['_BLOCK_FLEXCONTAINER']._serialized_start=769
34
- _globals['_BLOCK_FLEXCONTAINER']._serialized_end=1282
35
- _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_start=1014
36
- _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_end=1080
37
- _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_start=1082
38
- _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_end=1189
39
- _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_start=1191
40
- _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_end=1282
41
- _globals['_BLOCK_COLUMN']._serialized_start=1285
42
- _globals['_BLOCK_COLUMN']._serialized_end=1518
43
- _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_start=1440
44
- _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_end=1492
45
- _globals['_BLOCK_EXPANDABLE']._serialized_start=1520
46
- _globals['_BLOCK_EXPANDABLE']._serialized_end=1597
47
- _globals['_BLOCK_DIALOG']._serialized_start=1600
48
- _globals['_BLOCK_DIALOG']._serialized_end=1795
49
- _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_start=1736
50
- _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_end=1783
51
- _globals['_BLOCK_FORM']._serialized_start=1797
52
- _globals['_BLOCK_FORM']._serialized_end=1886
53
- _globals['_BLOCK_TABCONTAINER']._serialized_start=1888
54
- _globals['_BLOCK_TABCONTAINER']._serialized_end=1929
55
- _globals['_BLOCK_TAB']._serialized_start=1931
56
- _globals['_BLOCK_TAB']._serialized_end=1951
57
- _globals['_BLOCK_POPOVER']._serialized_start=1953
58
- _globals['_BLOCK_POPOVER']._serialized_end=2064
59
- _globals['_BLOCK_CHATMESSAGE']._serialized_start=2067
60
- _globals['_BLOCK_CHATMESSAGE']._serialized_end=2208
61
- _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=2164
62
- _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=2208
30
+ _globals['_BLOCK_VERTICAL']._serialized_end=731
31
+ _globals['_BLOCK_HORIZONTAL']._serialized_start=733
32
+ _globals['_BLOCK_HORIZONTAL']._serialized_end=758
33
+ _globals['_BLOCK_FLEXCONTAINER']._serialized_start=761
34
+ _globals['_BLOCK_FLEXCONTAINER']._serialized_end=1274
35
+ _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_start=1006
36
+ _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_end=1072
37
+ _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_start=1074
38
+ _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_end=1181
39
+ _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_start=1183
40
+ _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_end=1274
41
+ _globals['_BLOCK_COLUMN']._serialized_start=1277
42
+ _globals['_BLOCK_COLUMN']._serialized_end=1505
43
+ _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_start=1432
44
+ _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_end=1484
45
+ _globals['_BLOCK_EXPANDABLE']._serialized_start=1507
46
+ _globals['_BLOCK_EXPANDABLE']._serialized_end=1584
47
+ _globals['_BLOCK_DIALOG']._serialized_start=1587
48
+ _globals['_BLOCK_DIALOG']._serialized_end=1782
49
+ _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_start=1723
50
+ _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_end=1770
51
+ _globals['_BLOCK_FORM']._serialized_start=1784
52
+ _globals['_BLOCK_FORM']._serialized_end=1873
53
+ _globals['_BLOCK_TABCONTAINER']._serialized_start=1875
54
+ _globals['_BLOCK_TABCONTAINER']._serialized_end=1916
55
+ _globals['_BLOCK_TAB']._serialized_start=1918
56
+ _globals['_BLOCK_TAB']._serialized_end=1938
57
+ _globals['_BLOCK_POPOVER']._serialized_start=1940
58
+ _globals['_BLOCK_POPOVER']._serialized_end=2030
59
+ _globals['_BLOCK_CHATMESSAGE']._serialized_start=2033
60
+ _globals['_BLOCK_CHATMESSAGE']._serialized_end=2174
61
+ _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=2130
62
+ _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=2174
63
63
  # @@protoc_insertion_point(module_scope)
@@ -12,24 +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 LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
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,streamlit/proto/LabelVisibilityMessage.proto\"\xf4\x05\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\x44\n\x17selection_visualization\x18\t \x01(\x0e\x32#.ButtonGroup.SelectionVisualization\x12!\n\x05style\x18\n \x01(\x0e\x32\x12.ButtonGroup.Style\x12\r\n\x05label\x18\x0b \x01(\t\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x11\n\x04help\x18\r \x01(\tH\x00\x88\x01\x01\x1a\xb7\x01\n\x06Option\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x1d\n\x10selected_content\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontent_icon\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\"\n\x15selected_content_icon\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_selected_contentB\x0f\n\r_content_iconB\x18\n\x16_selected_content_icon\"0\n\tClickMode\x12\x11\n\rSINGLE_SELECT\x10\x00\x12\x10\n\x0cMULTI_SELECT\x10\x01\"C\n\x16SelectionVisualization\x12\x11\n\rONLY_SELECTED\x10\x00\x12\x16\n\x12\x41LL_UP_TO_SELECTED\x10\x01\"9\n\x05Style\x12\x15\n\x11SEGMENTED_CONTROL\x10\x00\x12\t\n\x05PILLS\x10\x01\x12\x0e\n\nBORDERLESS\x10\x02\x42\x07\n\x05_helpb\x06proto3')
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
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_BUTTONGROUP']._serialized_start=84
26
- _globals['_BUTTONGROUP']._serialized_end=840
27
- _globals['_BUTTONGROUP_OPTION']._serialized_start=470
28
- _globals['_BUTTONGROUP_OPTION']._serialized_end=653
29
- _globals['_BUTTONGROUP_CLICKMODE']._serialized_start=655
30
- _globals['_BUTTONGROUP_CLICKMODE']._serialized_end=703
31
- _globals['_BUTTONGROUP_SELECTIONVISUALIZATION']._serialized_start=705
32
- _globals['_BUTTONGROUP_SELECTIONVISUALIZATION']._serialized_end=772
33
- _globals['_BUTTONGROUP_STYLE']._serialized_start=774
34
- _globals['_BUTTONGROUP_STYLE']._serialized_end=831
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
35
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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
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", "_selected_content", b"_selected_content", "_selected_content_icon", b"_selected_content_icon", "content_icon", b"content_icon", "selected_content", b"selected_content", "selected_content_icon", b"selected_content_icon"] # noqa: Y015
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", "_selected_content", b"_selected_content", "_selected_content_icon", b"_selected_content_icon", "content", b"content", "content_icon", b"content_icon", "selected_content", b"selected_content", "selected_content_icon", b"selected_content_icon"] # noqa: Y015
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) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
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: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
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", "selection_visualization", b"selection_visualization", "set_value", b"set_value", "style", b"style", "value", b"value"] # noqa: Y015
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
@@ -15,7 +15,7 @@ _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\"\x83\x02\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\nR\x13use_container_widthb\x06proto3')
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)
@@ -23,5 +23,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Button_pb2'
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
24
  DESCRIPTOR._loaded_options = None
25
25
  _globals['_BUTTON']._serialized_start=79
26
- _globals['_BUTTON']._serialized_end=338
26
+ _globals['_BUTTON']._serialized_end=317
27
27
  # @@protoc_insertion_point(module_scope)
@@ -12,16 +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 LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
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,streamlit/proto/LabelVisibilityMessage.proto\"\x8c\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\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessageb\x06proto3')
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
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_CAMERAINPUT']._serialized_start=84
26
- _globals['_CAMERAINPUT']._serialized_end=224
25
+ _globals['_CAMERAINPUT']._serialized_start=77
26
+ _globals['_CAMERAINPUT']._serialized_end=210
27
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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
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) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
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: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
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: ...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xfc\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\tR\x08positionb\x06proto3')
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)
@@ -22,7 +22,7 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_p
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
23
  DESCRIPTOR._loaded_options = None
24
24
  _globals['_CHATINPUT']._serialized_start=36
25
- _globals['_CHATINPUT']._serialized_end=416
25
+ _globals['_CHATINPUT']._serialized_end=406
26
26
  _globals['_CHATINPUT_ACCEPTFILE']._serialized_start=315
27
27
  _globals['_CHATINPUT_ACCEPTFILE']._serialized_end=378
28
28
  # @@protoc_insertion_point(module_scope)
@@ -12,18 +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 LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
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,streamlit/proto/LabelVisibilityMessage.proto\"\x85\x02\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\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessage\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')
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
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_CHECKBOX']._serialized_start=81
26
- _globals['_CHECKBOX']._serialized_end=342
27
- _globals['_CHECKBOX_STYLETYPE']._serialized_start=306
28
- _globals['_CHECKBOX_STYLETYPE']._serialized_end=342
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
29
29
  # @@protoc_insertion_point(module_scope)
@@ -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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
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) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
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: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
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
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"h\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\x06R\x06heightb\x06proto3')
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)
@@ -22,5 +22,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Code_pb2',
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
23
  DESCRIPTOR._loaded_options = None
24
24
  _globals['_CODE']._serialized_start=30
25
- _globals['_CODE']._serialized_end=134
25
+ _globals['_CODE']._serialized_end=126
26
26
  # @@protoc_insertion_point(module_scope)
@@ -12,16 +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 LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
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,streamlit/proto/LabelVisibilityMessage.proto\"\xbf\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\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessageb\x06proto3')
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
24
  DESCRIPTOR._loaded_options = None
25
- _globals['_COLORPICKER']._serialized_start=84
26
- _globals['_COLORPICKER']._serialized_end=275
25
+ _globals['_COLORPICKER']._serialized_start=77
26
+ _globals['_COLORPICKER']._serialized_end=261
27
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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
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) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
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: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
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: ...