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.
Files changed (271) hide show
  1. streamlit/commands/execution_control.py +2 -2
  2. streamlit/config.py +3 -2
  3. streamlit/config_util.py +63 -8
  4. streamlit/delta_generator.py +2 -0
  5. streamlit/elements/deck_gl_json_chart.py +5 -1
  6. streamlit/elements/lib/built_in_chart_utils.py +24 -4
  7. streamlit/elements/lib/color_util.py +20 -1
  8. streamlit/elements/lib/column_types.py +6 -2
  9. streamlit/elements/lib/utils.py +6 -6
  10. streamlit/elements/markdown.py +0 -1
  11. streamlit/elements/metric.py +2 -1
  12. streamlit/elements/vega_charts.py +24 -4
  13. streamlit/elements/widgets/button_group.py +6 -276
  14. streamlit/elements/widgets/feedback.py +322 -0
  15. streamlit/elements/widgets/number_input.py +2 -1
  16. streamlit/elements/widgets/slider.py +2 -1
  17. streamlit/material_icon_names.py +1 -1
  18. streamlit/proto/Alert_pb2.py +2 -3
  19. streamlit/proto/AppPage_pb2.py +2 -3
  20. streamlit/proto/ArrowData_pb2.py +2 -3
  21. streamlit/proto/ArrowNamedDataSet_pb2.py +2 -3
  22. streamlit/proto/ArrowVegaLiteChart_pb2.py +2 -3
  23. streamlit/proto/Arrow_pb2.py +11 -18
  24. streamlit/proto/Arrow_pb2.pyi +1 -42
  25. streamlit/proto/AudioInput_pb2.py +5 -6
  26. streamlit/proto/AudioInput_pb2.pyi +3 -3
  27. streamlit/proto/Audio_pb2.py +3 -4
  28. streamlit/proto/AuthRedirect_pb2.py +2 -3
  29. streamlit/proto/AutoRerun_pb2.py +2 -3
  30. streamlit/proto/BackMsg_pb2.py +2 -3
  31. streamlit/proto/BackMsg_pb2.pyi +2 -10
  32. streamlit/proto/Balloons_pb2.py +2 -3
  33. streamlit/proto/Balloons_pb2.pyi +0 -2
  34. streamlit/proto/BidiComponent_pb2.py +2 -3
  35. streamlit/proto/Block_pb2.py +36 -43
  36. streamlit/proto/Block_pb2.pyi +3 -48
  37. streamlit/proto/ButtonGroup_pb2.py +11 -14
  38. streamlit/proto/ButtonGroup_pb2.pyi +6 -41
  39. streamlit/proto/ButtonLikeIconPosition_pb2.py +2 -3
  40. streamlit/proto/Button_pb2.py +3 -6
  41. streamlit/proto/Button_pb2.pyi +1 -18
  42. streamlit/proto/CameraInput_pb2.py +5 -6
  43. streamlit/proto/CameraInput_pb2.pyi +3 -3
  44. streamlit/proto/ChatInput_pb2.py +5 -8
  45. streamlit/proto/ChatInput_pb2.pyi +1 -17
  46. streamlit/proto/Checkbox_pb2.py +7 -8
  47. streamlit/proto/Checkbox_pb2.pyi +3 -3
  48. streamlit/proto/ClientState_pb2.py +2 -3
  49. streamlit/proto/Code_pb2.py +3 -6
  50. streamlit/proto/Code_pb2.pyi +1 -18
  51. streamlit/proto/ColorPicker_pb2.py +5 -6
  52. streamlit/proto/ColorPicker_pb2.pyi +3 -3
  53. streamlit/proto/Common_pb2.py +7 -8
  54. streamlit/proto/Common_pb2.pyi +2 -10
  55. streamlit/proto/Components_pb2.py +2 -3
  56. streamlit/proto/DateInput_pb2.py +5 -6
  57. streamlit/proto/DateInput_pb2.pyi +3 -3
  58. streamlit/proto/DateTimeInput_pb2.py +5 -6
  59. streamlit/proto/DateTimeInput_pb2.pyi +3 -3
  60. streamlit/proto/DeckGlJsonChart_pb2.py +5 -12
  61. streamlit/proto/DeckGlJsonChart_pb2.pyi +1 -54
  62. streamlit/proto/Delta_pb2.py +4 -6
  63. streamlit/proto/Delta_pb2.pyi +5 -14
  64. streamlit/proto/DocString_pb2.py +2 -3
  65. streamlit/proto/DownloadButton_pb2.py +2 -3
  66. streamlit/proto/Element_pb2.py +5 -8
  67. streamlit/proto/Element_pb2.pyi +9 -29
  68. streamlit/proto/Empty_pb2.py +2 -3
  69. streamlit/proto/Exception_pb2.py +2 -3
  70. streamlit/proto/Favicon_pb2.py +2 -3
  71. streamlit/proto/Feedback_pb2.py +28 -0
  72. streamlit/proto/Feedback_pb2.pyi +93 -0
  73. streamlit/proto/FileUploader_pb2.py +5 -6
  74. streamlit/proto/FileUploader_pb2.pyi +3 -3
  75. streamlit/proto/ForwardMsg_pb2.py +12 -18
  76. streamlit/proto/ForwardMsg_pb2.pyi +4 -48
  77. streamlit/proto/GapSize_pb2.py +2 -3
  78. streamlit/proto/GitInfo_pb2.py +2 -3
  79. streamlit/proto/GraphVizChart_pb2.py +3 -6
  80. streamlit/proto/GraphVizChart_pb2.pyi +1 -18
  81. streamlit/proto/Heading_pb2.py +2 -3
  82. streamlit/proto/HeightConfig_pb2.py +2 -3
  83. streamlit/proto/Html_pb2.py +2 -3
  84. streamlit/proto/IFrame_pb2.py +4 -11
  85. streamlit/proto/IFrame_pb2.pyi +1 -42
  86. streamlit/proto/Image_pb2.py +5 -8
  87. streamlit/proto/Image_pb2.pyi +2 -25
  88. streamlit/proto/Json_pb2.py +2 -3
  89. streamlit/proto/LabelVisibility_pb2.py +28 -0
  90. streamlit/proto/{LabelVisibilityMessage_pb2.pyi → LabelVisibility_pb2.pyi} +14 -14
  91. streamlit/proto/LinkButton_pb2.py +2 -3
  92. streamlit/proto/Logo_pb2.py +2 -3
  93. streamlit/proto/Markdown_pb2.py +5 -6
  94. streamlit/proto/Markdown_pb2.pyi +1 -5
  95. streamlit/proto/Metric_pb2.py +11 -12
  96. streamlit/proto/Metric_pb2.pyi +3 -3
  97. streamlit/proto/MetricsEvent_pb2.py +2 -3
  98. streamlit/proto/MultiSelect_pb2.py +5 -8
  99. streamlit/proto/MultiSelect_pb2.pyi +4 -14
  100. streamlit/proto/Navigation_pb2.py +2 -3
  101. streamlit/proto/NewSession_pb2.py +39 -28
  102. streamlit/proto/NewSession_pb2.pyi +44 -20
  103. streamlit/proto/NumberInput_pb2.py +7 -8
  104. streamlit/proto/NumberInput_pb2.pyi +3 -3
  105. streamlit/proto/PageConfig_pb2.py +2 -3
  106. streamlit/proto/PageInfo_pb2.py +2 -3
  107. streamlit/proto/PageLink_pb2.py +2 -3
  108. streamlit/proto/PageNotFound_pb2.py +2 -3
  109. streamlit/proto/PageProfile_pb2.py +2 -3
  110. streamlit/proto/ParentMessage_pb2.py +2 -3
  111. streamlit/proto/PlotlyChart_pb2.py +5 -10
  112. streamlit/proto/PlotlyChart_pb2.pyi +1 -58
  113. streamlit/proto/Progress_pb2.py +2 -3
  114. streamlit/proto/Radio_pb2.py +5 -8
  115. streamlit/proto/Radio_pb2.pyi +5 -22
  116. streamlit/proto/RootContainer_pb2.py +2 -3
  117. streamlit/proto/Selectbox_pb2.py +5 -8
  118. streamlit/proto/Selectbox_pb2.pyi +5 -25
  119. streamlit/proto/SessionEvent_pb2.py +2 -3
  120. streamlit/proto/SessionStatus_pb2.py +2 -3
  121. streamlit/proto/Skeleton_pb2.py +2 -3
  122. streamlit/proto/Slider_pb2.py +9 -10
  123. streamlit/proto/Slider_pb2.pyi +3 -3
  124. streamlit/proto/Snow_pb2.py +2 -3
  125. streamlit/proto/Snow_pb2.pyi +0 -2
  126. streamlit/proto/Space_pb2.py +2 -3
  127. streamlit/proto/Spinner_pb2.py +2 -3
  128. streamlit/proto/TextAlignmentConfig_pb2.py +2 -3
  129. streamlit/proto/TextArea_pb2.py +5 -8
  130. streamlit/proto/TextArea_pb2.pyi +4 -21
  131. streamlit/proto/TextInput_pb2.py +7 -8
  132. streamlit/proto/TextInput_pb2.pyi +3 -3
  133. streamlit/proto/Text_pb2.py +2 -3
  134. streamlit/proto/TimeInput_pb2.py +5 -6
  135. streamlit/proto/TimeInput_pb2.pyi +3 -3
  136. streamlit/proto/Toast_pb2.py +2 -3
  137. streamlit/proto/Transient_pb2.py +2 -3
  138. streamlit/proto/Video_pb2.py +3 -4
  139. streamlit/proto/WidgetStates_pb2.py +2 -3
  140. streamlit/proto/WidthConfig_pb2.py +2 -3
  141. streamlit/proto/openmetrics_data_model_pb2.py +2 -3
  142. streamlit/runtime/runtime.py +0 -4
  143. streamlit/static/index.html +2 -2
  144. streamlit/static/manifest.json +327 -312
  145. streamlit/static/static/css/{index.BUP6fTcR.css → index.C8MrxwGF.css} +1 -1
  146. streamlit/static/static/js/{ErrorOutline.esm.D71F8ziR.js → ErrorOutline.esm.CLuz0rSD.js} +1 -1
  147. streamlit/static/static/js/{FileDownload.esm.yTkppsJy.js → FileDownload.esm.CO68LcnZ.js} +1 -1
  148. streamlit/static/static/js/{FileHelper.hUOqtbwa.js → FileHelper.DAXgY6Ug.js} +1 -1
  149. streamlit/static/static/js/{FormClearHelper.DN8D_YXO.js → FormClearHelper.zxJ53Nym.js} +1 -1
  150. streamlit/static/static/js/{InputInstructions.DbssY6d4.js → InputInstructions.CCbg8esE.js} +1 -1
  151. streamlit/static/static/js/{Particles.BznyVdfo.js → Particles.BJw0A-zv.js} +1 -1
  152. streamlit/static/static/js/{ProgressBar.C5uBOtcx.js → ProgressBar.BrrHeAEh.js} +2 -2
  153. streamlit/static/static/js/{StreamlitSyntaxHighlighter.Nf1895x-.js → StreamlitSyntaxHighlighter.DvPLy3zk.js} +1 -1
  154. streamlit/static/static/js/{TableChart.esm.DHKzVs3a.js → TableChart.esm.BawvAi5p.js} +1 -1
  155. streamlit/static/static/js/{Toolbar.CQsWYXer.js → Toolbar.CbpscbNb.js} +1 -1
  156. streamlit/static/static/js/{WidgetLabelHelpIconInline.6xCU76OE.js → WidgetLabelHelpIconInline.DA4S2HFP.js} +1 -1
  157. streamlit/static/static/js/{base-input.Cs-E6S71.js → base-input.BKKl2eBF.js} +4 -4
  158. streamlit/static/static/js/{checkbox.OTGupu18.js → checkbox.CB43AKV4.js} +1 -1
  159. streamlit/static/static/js/{createDownloadLinkElement.DnBEQQbK.js → createDownloadLinkElement.jVwF96ey.js} +1 -1
  160. streamlit/static/static/js/data-grid-overlay-editor.CxQizSv7.js +1 -0
  161. streamlit/static/static/js/{downloader.K0GUNeuj.js → downloader.CKlIgsy5.js} +1 -1
  162. streamlit/static/static/js/{embed.o8HvK3mH.js → embed.BhRb_2n8.js} +1 -1
  163. streamlit/static/static/js/{es6.BHy5pqTP.js → es6.DPyfPmWm.js} +2 -2
  164. streamlit/static/static/js/formatNumber.DtfMnnPx.js +1 -0
  165. streamlit/static/static/js/{iconPosition.2YynQUxu.js → iconPosition.DkZAlu_k.js} +1 -1
  166. streamlit/static/static/js/{iframeResizer.contentWindow.D5h3hQuU.js → iframeResizer.contentWindow.l5sQWLra.js} +1 -1
  167. streamlit/static/static/js/{index.BZ-GJVxB.js → index.465nmxtO.js} +2 -2
  168. streamlit/static/static/js/{index.BPdmXoYW.js → index.6J1N4is3.js} +1 -1
  169. streamlit/static/static/js/{index.Bfo1cXfC.js → index.AZ9T4EqJ.js} +1 -1
  170. streamlit/static/static/js/{index.cfuZ69LI.js → index.BAK0CG1Q.js} +1 -1
  171. streamlit/static/static/js/{index.5zqfJ-in.js → index.BLD3tJ2C.js} +1 -1
  172. streamlit/static/static/js/{index.CxWzt6oi.js → index.BUlT_mOL.js} +3 -3
  173. streamlit/static/static/js/{index.DxGXuhh6.js → index.Bc_FQ4Wb.js} +1 -1
  174. streamlit/static/static/js/{index.DJfMW0Gy.js → index.BpCj2-sQ.js} +1 -1
  175. streamlit/static/static/js/{index.DLUSo6de.js → index.BzO83wKm.js} +1 -1
  176. streamlit/static/static/js/index.CAoX2tlo.js +2 -0
  177. streamlit/static/static/js/{index.CwtpGPHA.js → index.CBbYMKZp.js} +1 -1
  178. streamlit/static/static/js/{index.Bgf49D1Z.js → index.CL7it7tU.js} +222 -222
  179. streamlit/static/static/js/{index.DxfYCrPp.js → index.CL_icBXS.js} +1 -1
  180. streamlit/static/static/js/index.C_19KWNs.js +2 -0
  181. streamlit/static/static/js/index.CaU3Uv_L.js +1 -0
  182. streamlit/static/static/js/{index.Dh3PJIlq.js → index.Ccye_uLl.js} +1 -1
  183. streamlit/static/static/js/{index.C65jHNhe.js → index.CiS4giQ2.js} +1 -1
  184. streamlit/static/static/js/{index.hlAfdSqC.js → index.Ck64OQhV.js} +1 -1
  185. streamlit/static/static/js/{index.HmRK3HyC.js → index.CmbqbRMZ.js} +1 -1
  186. streamlit/static/static/js/{index.8MlRyIxN.js → index.CsEZTo6L.js} +2 -2
  187. streamlit/static/static/js/{index.DVRCyxMp.js → index.CsIENsKH.js} +1 -1
  188. streamlit/static/static/js/{index.Bqmx23jK.js → index.Cwg8nWw5.js} +1 -1
  189. streamlit/static/static/js/{index.CZf7Go1Z.js → index.D83azq2w.js} +1 -1
  190. streamlit/static/static/js/{index.CUkhn-vu.js → index.DDr-BLbJ.js} +1 -1
  191. streamlit/static/static/js/{index.iUV9rb8C.js → index.DKoJr0Se.js} +1 -1
  192. streamlit/static/static/js/{index.C2EoeVjP.js → index.DL_ywOgf.js} +2 -2
  193. streamlit/static/static/js/{index.q0ceUXt6.js → index.DR6V0uBJ.js} +1 -1
  194. streamlit/static/static/js/index.DZOGT9vX.js +1 -0
  195. streamlit/static/static/js/{index.BtuskCwg.js → index.Dac9Jib-.js} +1 -1
  196. streamlit/static/static/js/{index.6c-qDsD7.js → index.DiBeetOH.js} +1 -1
  197. streamlit/static/static/js/{index.DlgcEr0f.js → index.DjuMEZ6m.js} +1 -1
  198. streamlit/static/static/js/{index.DBPWUJsj.js → index.DmWUXdjc.js} +54 -54
  199. streamlit/static/static/js/{index.DL_yE83J.js → index.DpSc4e1j.js} +2 -2
  200. streamlit/static/static/js/{index.CgVv04GM.js → index.DzdPUxsx.js} +2 -2
  201. streamlit/static/static/js/{index.BtRWcqZV.js → index.FioS1Y9m.js} +1 -1
  202. streamlit/static/static/js/{index.BfMPq234.js → index.L9pOjBEn.js} +3 -3
  203. streamlit/static/static/js/{index.TjMWsKSH.js → index.LjqoQCm5.js} +3 -3
  204. streamlit/static/static/js/index.OizPL4jg.js +1 -0
  205. streamlit/static/static/js/{index.Cb03y5I8.js → index.Q2t_iBn0.js} +1 -1
  206. streamlit/static/static/js/index.WIMtx3m0.js +2 -0
  207. streamlit/static/static/js/index.Y9wPTZIf.js +1 -0
  208. streamlit/static/static/js/{index.COh5V_89.js → index.YutgmD9x.js} +2 -2
  209. streamlit/static/static/js/{index.BIqcOZ_u.js → index.b_f-McZ5.js} +1 -1
  210. streamlit/static/static/js/{index.BzTVI_BY.js → index.e6Ry6-Ft.js} +1 -1
  211. streamlit/static/static/js/index.hnu9U-5g.js +1 -0
  212. streamlit/static/static/js/{index.C6wyTXhz.js → index.rvbQETlC.js} +1 -1
  213. streamlit/static/static/js/index.w7yKy9fh.js +6 -0
  214. streamlit/static/static/js/{index.C7wst9Tm.js → index.y0h42OXL.js} +1 -1
  215. streamlit/static/static/js/{index.aCorc3Yt.js → index.y5HxPwg9.js} +48 -48
  216. streamlit/static/static/js/{index.CX0KdFyR.js → index.yHLCvUGh.js} +1 -1
  217. streamlit/static/static/js/{input.CXGIJ7D6.js → input.CAtwSQ27.js} +1 -1
  218. streamlit/static/static/js/{main.CCVkbuxC.js → main.VeMVx6VI.js} +1 -1
  219. streamlit/static/static/js/{memory.CNbnYs2A.js → memory.CxS_lIUn.js} +1 -1
  220. streamlit/static/static/js/number-overlay-editor.CoqRgZW_.js +9 -0
  221. streamlit/static/static/js/{pandasStylerUtils.CFSReOTm.js → pandasStylerUtils.DGWgd5sM.js} +1 -1
  222. streamlit/static/static/js/{sandbox.Bld0L3us.js → sandbox.2mSqEau0.js} +1 -1
  223. streamlit/static/static/js/sprintfjs.CsoVVZ9k.js +1 -0
  224. streamlit/static/static/js/{styled-components.BoUHK6TA.js → styled-components.BShfh7J8.js} +1 -1
  225. streamlit/static/static/js/{throttle.ByDFm7WV.js → throttle.Fq1DQK4p.js} +1 -1
  226. streamlit/static/static/js/{timepicker.CN6CUZEL.js → timepicker.DmyY-qtn.js} +1 -1
  227. streamlit/static/static/js/{toConsumableArray.DwMycSpg.js → toConsumableArray.Dvd9AIqV.js} +1 -1
  228. streamlit/static/static/js/uniqueId.CCajdEK8.js +1 -0
  229. streamlit/static/static/js/{useBasicWidgetState.Bg0ZMUt5.js → useBasicWidgetState.COLQ5AFB.js} +1 -1
  230. streamlit/static/static/js/{useIntlLocale.DgBUDcPA.js → useIntlLocale.kdIj0ego.js} +1 -1
  231. streamlit/static/static/js/{useTextInputAutoExpand.DDBezxks.js → useTextInputAutoExpand.DkuG1C1S.js} +1 -1
  232. streamlit/static/static/js/{useUpdateUiValue.Df1h6fXC.js → useUpdateUiValue.-UI_JsjT.js} +1 -1
  233. streamlit/static/static/js/{useWaveformController.DbWw5MEk.js → useWaveformController.C5PTwL6I.js} +1 -1
  234. streamlit/static/static/js/{withCalculatedWidth.YaK0HIIP.js → withCalculatedWidth.BREyS0pJ.js} +1 -1
  235. streamlit/static/static/js/{withFullScreenWrapper.CcWCKoY8.js → withFullScreenWrapper.DYDiEOrW.js} +1 -1
  236. streamlit/static/static/media/MaterialSymbols-Rounded.CnH1S47a.woff2 +0 -0
  237. streamlit/testing/v1/app_test.py +21 -5
  238. streamlit/testing/v1/element_tree.py +81 -4
  239. streamlit/web/server/server.py +0 -1
  240. streamlit/web/server/starlette/starlette_app.py +0 -1
  241. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/METADATA +10 -25
  242. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/RECORD +245 -252
  243. streamlit/proto/BokehChart_pb2.py +0 -27
  244. streamlit/proto/BokehChart_pb2.pyi +0 -56
  245. streamlit/proto/DataFrame_pb2.py +0 -56
  246. streamlit/proto/DataFrame_pb2.pyi +0 -430
  247. streamlit/proto/LabelVisibilityMessage_pb2.py +0 -29
  248. streamlit/proto/NamedDataSet_pb2.py +0 -28
  249. streamlit/proto/NamedDataSet_pb2.pyi +0 -67
  250. streamlit/proto/PagesChanged_pb2.py +0 -28
  251. streamlit/proto/PagesChanged_pb2.pyi +0 -55
  252. streamlit/proto/VegaLiteChart_pb2.py +0 -29
  253. streamlit/proto/VegaLiteChart_pb2.pyi +0 -79
  254. streamlit/static/static/js/data-grid-overlay-editor.COiiMi5r.js +0 -1
  255. streamlit/static/static/js/formatNumber.BK7h0k2z.js +0 -1
  256. streamlit/static/static/js/index.BBTKOM0z.js +0 -6
  257. streamlit/static/static/js/index.CSPY26T2.js +0 -1
  258. streamlit/static/static/js/index.CYhhEdja.js +0 -1
  259. streamlit/static/static/js/index.CdsyTabv.js +0 -1
  260. streamlit/static/static/js/index.CjRU8O1O.js +0 -2
  261. streamlit/static/static/js/index.Dc5-tFdw.js +0 -2
  262. streamlit/static/static/js/index.DcngUOyD.js +0 -2
  263. streamlit/static/static/js/index.VwDKazgt.js +0 -1
  264. streamlit/static/static/js/number-overlay-editor.CvI6wkld.js +0 -9
  265. streamlit/static/static/js/sprintf.DpPCfzXw.js +0 -1
  266. streamlit/static/static/js/uniqueId.DcCWa2cf.js +0 -1
  267. streamlit/static/static/media/MaterialSymbols-Rounded.C7IFxh57.woff2 +0 -0
  268. streamlit_nightly-1.53.2.dev20260128.data/scripts/streamlit.cmd +0 -16
  269. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/WHEEL +0 -0
  270. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/entry_points.txt +0 -0
  271. {streamlit_nightly-1.53.2.dev20260128.dist-info → streamlit_nightly-1.53.2.dev20260202.dist-info}/top_level.txt +0 -0
@@ -16,14 +16,13 @@ from streamlit.proto import Arrow_pb2 as streamlit_dot_proto_dot_Arrow__pb2
16
16
  from streamlit.proto import ArrowNamedDataSet_pb2 as streamlit_dot_proto_dot_ArrowNamedDataSet__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(streamlit/proto/ArrowVegaLiteChart.proto\x1a\x1bstreamlit/proto/Arrow.proto\x1a\'streamlit/proto/ArrowNamedDataSet.proto\"\xc5\x01\n\x12\x41rrowVegaLiteChart\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x14\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x06.Arrow\x12$\n\x08\x64\x61tasets\x18\x04 \x03(\x0b\x32\x12.ArrowNamedDataSet\x12\x1b\n\x13use_container_width\x18\x05 \x01(\x08\x12\r\n\x05theme\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\x12\x16\n\x0eselection_mode\x18\x08 \x03(\t\x12\x0f\n\x07\x66orm_id\x18\t \x01(\tJ\x04\x08\x03\x10\x04\x42\x37\n\x1c\x63om.snowflake.apps.streamlitB\x17\x41rrowVegaLiteChartProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(streamlit/proto/ArrowVegaLiteChart.proto\x1a\x1bstreamlit/proto/Arrow.proto\x1a\'streamlit/proto/ArrowNamedDataSet.proto\"\xc5\x01\n\x12\x41rrowVegaLiteChart\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x14\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x06.Arrow\x12$\n\x08\x64\x61tasets\x18\x04 \x03(\x0b\x32\x12.ArrowNamedDataSet\x12\x1b\n\x13use_container_width\x18\x05 \x01(\x08\x12\r\n\x05theme\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\x12\x16\n\x0eselection_mode\x18\x08 \x03(\t\x12\x0f\n\x07\x66orm_id\x18\t \x01(\tJ\x04\x08\x03\x10\x04\x62\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
23
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ArrowVegaLiteChart_pb2', _globals)
24
24
  if not _descriptor._USE_C_DESCRIPTORS:
25
- _globals['DESCRIPTOR']._loaded_options = None
26
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\027ArrowVegaLiteChartProto'
25
+ DESCRIPTOR._loaded_options = None
27
26
  _globals['_ARROWVEGALITECHART']._serialized_start=115
28
27
  _globals['_ARROWVEGALITECHART']._serialized_end=312
29
28
  # @@protoc_insertion_point(module_scope)
@@ -14,28 +14,21 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Arrow.proto\"\x9a\x05\n\x05\x41rrow\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x17\n\x06styler\x18\x02 \x01(\x0b\x32\x07.Styler\x12\x11\n\x05width\x18\x03 \x01(\rB\x02\x18\x01\x12\x12\n\x06height\x18\x04 \x01(\rB\x02\x18\x01\x12\x1f\n\x13use_container_width\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\n\n\x02id\x18\x06 \x01(\t\x12\x0f\n\x07\x63olumns\x18\x07 \x01(\t\x12(\n\x0c\x65\x64iting_mode\x18\x08 \x01(\x0e\x32\x12.Arrow.EditingMode\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x0f\n\x07\x66orm_id\x18\n \x01(\t\x12\x14\n\x0c\x63olumn_order\x18\x0b \x03(\t\x12,\n\x0eselection_mode\x18\x0c \x03(\x0e\x32\x14.Arrow.SelectionMode\x12\x17\n\nrow_height\x18\r \x01(\rH\x00\x88\x01\x01\x12&\n\x0b\x62order_mode\x18\x0e \x01(\x0e\x32\x11.Arrow.BorderMode\x12\x18\n\x0bplaceholder\x18\x0f \x01(\tH\x01\x88\x01\x01\"S\n\x0b\x45\x64itingMode\x12\r\n\tREAD_ONLY\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02\x12\x0c\n\x08\x41\x44\x44_ONLY\x10\x03\x12\x0f\n\x0b\x44\x45LETE_ONLY\x10\x04\"t\n\rSelectionMode\x12\x0e\n\nSINGLE_ROW\x10\x00\x12\r\n\tMULTI_ROW\x10\x01\x12\x11\n\rSINGLE_COLUMN\x10\x02\x12\x10\n\x0cMULTI_COLUMN\x10\x03\x12\x0f\n\x0bSINGLE_CELL\x10\x04\x12\x0e\n\nMULTI_CELL\x10\x05\"/\n\nBorderMode\x12\x07\n\x03\x41LL\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\x42\r\n\x0b_row_heightB\x0e\n\x0c_placeholder\"O\n\x06Styler\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x02 \x01(\t\x12\x0e\n\x06styles\x18\x03 \x01(\t\x12\x16\n\x0e\x64isplay_values\x18\x04 \x01(\x0c\x42*\n\x1c\x63om.snowflake.apps.streamlitB\nArrowProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Arrow.proto\"\x88\x05\n\x05\x41rrow\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x17\n\x06styler\x18\x02 \x01(\x0b\x32\x07.Styler\x12\n\n\x02id\x18\x06 \x01(\t\x12\x0f\n\x07\x63olumns\x18\x07 \x01(\t\x12(\n\x0c\x65\x64iting_mode\x18\x08 \x01(\x0e\x32\x12.Arrow.EditingMode\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x0f\n\x07\x66orm_id\x18\n \x01(\t\x12\x14\n\x0c\x63olumn_order\x18\x0b \x03(\t\x12,\n\x0eselection_mode\x18\x0c \x03(\x0e\x32\x14.Arrow.SelectionMode\x12\x17\n\nrow_height\x18\r \x01(\rH\x00\x88\x01\x01\x12&\n\x0b\x62order_mode\x18\x0e \x01(\x0e\x32\x11.Arrow.BorderMode\x12\x18\n\x0bplaceholder\x18\x0f \x01(\tH\x01\x88\x01\x01\"S\n\x0b\x45\x64itingMode\x12\r\n\tREAD_ONLY\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02\x12\x0c\n\x08\x41\x44\x44_ONLY\x10\x03\x12\x0f\n\x0b\x44\x45LETE_ONLY\x10\x04\"t\n\rSelectionMode\x12\x0e\n\nSINGLE_ROW\x10\x00\x12\r\n\tMULTI_ROW\x10\x01\x12\x11\n\rSINGLE_COLUMN\x10\x02\x12\x10\n\x0cMULTI_COLUMN\x10\x03\x12\x0f\n\x0bSINGLE_CELL\x10\x04\x12\x0e\n\nMULTI_CELL\x10\x05\"/\n\nBorderMode\x12\x07\n\x03\x41LL\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\x42\r\n\x0b_row_heightB\x0e\n\x0c_placeholderJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06R\x05widthR\x06heightR\x13use_container_width\"O\n\x06Styler\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x02 \x01(\t\x12\x0e\n\x06styles\x18\x03 \x01(\t\x12\x16\n\x0e\x64isplay_values\x18\x04 \x01(\x0c\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Arrow_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nArrowProto'
25
- _globals['_ARROW'].fields_by_name['width']._loaded_options = None
26
- _globals['_ARROW'].fields_by_name['width']._serialized_options = b'\030\001'
27
- _globals['_ARROW'].fields_by_name['height']._loaded_options = None
28
- _globals['_ARROW'].fields_by_name['height']._serialized_options = b'\030\001'
29
- _globals['_ARROW'].fields_by_name['use_container_width']._loaded_options = None
30
- _globals['_ARROW'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
23
+ DESCRIPTOR._loaded_options = None
31
24
  _globals['_ARROW']._serialized_start=32
32
- _globals['_ARROW']._serialized_end=698
33
- _globals['_ARROW_EDITINGMODE']._serialized_start=417
34
- _globals['_ARROW_EDITINGMODE']._serialized_end=500
35
- _globals['_ARROW_SELECTIONMODE']._serialized_start=502
36
- _globals['_ARROW_SELECTIONMODE']._serialized_end=618
37
- _globals['_ARROW_BORDERMODE']._serialized_start=620
38
- _globals['_ARROW_BORDERMODE']._serialized_end=667
39
- _globals['_STYLER']._serialized_start=700
40
- _globals['_STYLER']._serialized_end=779
25
+ _globals['_ARROW']._serialized_end=680
26
+ _globals['_ARROW_EDITINGMODE']._serialized_start=345
27
+ _globals['_ARROW_EDITINGMODE']._serialized_end=428
28
+ _globals['_ARROW_SELECTIONMODE']._serialized_start=430
29
+ _globals['_ARROW_SELECTIONMODE']._serialized_end=546
30
+ _globals['_ARROW_BORDERMODE']._serialized_start=548
31
+ _globals['_ARROW_BORDERMODE']._serialized_end=595
32
+ _globals['_STYLER']._serialized_start=682
33
+ _globals['_STYLER']._serialized_end=761
41
34
  # @@protoc_insertion_point(module_scope)
@@ -31,11 +31,6 @@ if sys.version_info >= (3, 10):
31
31
  else:
32
32
  from typing_extensions import TypeAlias as _TypeAlias
33
33
 
34
- if sys.version_info >= (3, 13):
35
- from warnings import deprecated as _deprecated
36
- else:
37
- from typing_extensions import deprecated as _deprecated
38
-
39
34
  DESCRIPTOR: _descriptor.FileDescriptor
40
35
 
41
36
  @_typing.final
@@ -133,9 +128,6 @@ class Arrow(_message.Message):
133
128
 
134
129
  DATA_FIELD_NUMBER: _builtins.int
135
130
  STYLER_FIELD_NUMBER: _builtins.int
136
- WIDTH_FIELD_NUMBER: _builtins.int
137
- HEIGHT_FIELD_NUMBER: _builtins.int
138
- USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
139
131
  ID_FIELD_NUMBER: _builtins.int
140
132
  COLUMNS_FIELD_NUMBER: _builtins.int
141
133
  EDITING_MODE_FIELD_NUMBER: _builtins.int
@@ -148,36 +140,6 @@ class Arrow(_message.Message):
148
140
  PLACEHOLDER_FIELD_NUMBER: _builtins.int
149
141
  data: _builtins.bytes
150
142
  """The serialized arrow dataframe"""
151
- @_builtins.property
152
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
153
- def width(self) -> _builtins.int:
154
- """DEPRECATED: Width in pixels. Use Element.width_config instead."""
155
-
156
- @width.setter
157
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
158
- def width(self, value: _builtins.int) -> None:
159
- """DEPRECATED: Width in pixels. Use Element.width_config instead."""
160
-
161
- @_builtins.property
162
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
163
- def height(self) -> _builtins.int:
164
- """DEPRECATED: Height in pixels. Use Element.height_config instead."""
165
-
166
- @height.setter
167
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
168
- def height(self, value: _builtins.int) -> None:
169
- """DEPRECATED: Height in pixels. Use Element.height_config instead."""
170
-
171
- @_builtins.property
172
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
173
- def use_container_width(self) -> _builtins.bool:
174
- """DEPRECATED: Use Element.width_config.use_stretch instead."""
175
-
176
- @use_container_width.setter
177
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
178
- def use_container_width(self, value: _builtins.bool) -> None:
179
- """DEPRECATED: Use Element.width_config.use_stretch instead."""
180
-
181
143
  id: _builtins.str
182
144
  """The id of the widget, this is required if the dataframe is editable"""
183
145
  columns: _builtins.str
@@ -213,9 +175,6 @@ class Arrow(_message.Message):
213
175
  *,
214
176
  data: _builtins.bytes = ...,
215
177
  styler: Global___Styler | None = ...,
216
- width: _builtins.int = ...,
217
- height: _builtins.int = ...,
218
- use_container_width: _builtins.bool = ...,
219
178
  id: _builtins.str = ...,
220
179
  columns: _builtins.str = ...,
221
180
  editing_mode: Global___Arrow.EditingMode.ValueType = ...,
@@ -229,7 +188,7 @@ class Arrow(_message.Message):
229
188
  ) -> None: ...
230
189
  _HasFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "placeholder", b"placeholder", "row_height", b"row_height", "styler", b"styler"] # noqa: Y015
231
190
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
232
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "border_mode", b"border_mode", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "height", b"height", "id", b"id", "placeholder", b"placeholder", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler", "use_container_width", b"use_container_width", "width", b"width"] # noqa: Y015
191
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "border_mode", b"border_mode", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "id", b"id", "placeholder", b"placeholder", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler"] # noqa: Y015
233
192
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
234
193
  _WhichOneofReturnType__placeholder: _TypeAlias = _typing.Literal["placeholder"] # noqa: Y015
235
194
  _WhichOneofArgType__placeholder: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder"] # 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 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/\n\x1c\x63om.snowflake.apps.streamlitB\x0f\x41udioInputProtob\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
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\017AudioInputProto'
26
- _globals['_AUDIOINPUT']._serialized_start=83
27
- _globals['_AUDIOINPUT']._serialized_end=264
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_AUDIOINPUT']._serialized_start=76
26
+ _globals['_AUDIOINPUT']._serialized_end=250
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 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,14 +15,13 @@ _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*\n\x1c\x63om.snowflake.apps.streamlitB\nAudioProtob\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)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Audio_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nAudioProto'
24
+ DESCRIPTOR._loaded_options = None
26
25
  _globals['_AUDIO']._serialized_start=67
27
- _globals['_AUDIO']._serialized_end=269
26
+ _globals['_AUDIO']._serialized_end=255
28
27
  # @@protoc_insertion_point(module_scope)
@@ -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/AuthRedirect.proto\"\x1b\n\x0c\x41uthRedirect\x12\x0b\n\x03url\x18\x01 \x01(\tB1\n\x1c\x63om.snowflake.apps.streamlitB\x11\x41uthRedirectProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/AuthRedirect.proto\"\x1b\n\x0c\x41uthRedirect\x12\x0b\n\x03url\x18\x01 \x01(\tb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.AuthRedirect_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\021AuthRedirectProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_AUTHREDIRECT']._serialized_start=38
26
25
  _globals['_AUTHREDIRECT']._serialized_end=65
27
26
  # @@protoc_insertion_point(module_scope)
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/AutoRerun.proto\"2\n\tAutoRerun\x12\x10\n\x08interval\x18\x01 \x01(\x02\x12\x13\n\x0b\x66ragment_id\x18\x02 \x01(\tB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x41utoRerunProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/AutoRerun.proto\"2\n\tAutoRerun\x12\x10\n\x08interval\x18\x01 \x01(\x02\x12\x13\n\x0b\x66ragment_id\x18\x02 \x01(\tb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.AutoRerun_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016AutoRerunProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_AUTORERUN']._serialized_start=35
26
25
  _globals['_AUTORERUN']._serialized_end=85
27
26
  # @@protoc_insertion_point(module_scope)
@@ -16,14 +16,13 @@ from streamlit.proto import ClientState_pb2 as streamlit_dot_proto_dot_ClientSta
16
16
  from streamlit.proto import Common_pb2 as streamlit_dot_proto_dot_Common__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/BackMsg.proto\x1a!streamlit/proto/ClientState.proto\x1a\x1cstreamlit/proto/Common.proto\"\xa9\x03\n\x07\x42\x61\x63kMsg\x12\x15\n\x0b\x63lear_cache\x18\x05 \x01(\x08H\x00\x12\x19\n\x0fset_run_on_save\x18\x06 \x01(\x08H\x00\x12\x15\n\x0bstop_script\x18\x07 \x01(\x08H\x00\x12$\n\x0crerun_script\x18\x0b \x01(\x0b\x32\x0c.ClientStateH\x00\x12\x17\n\rload_git_info\x18\x0c \x01(\x08H\x00\x12$\n\x1a\x64\x65\x62ug_disconnect_websocket\x18\x0e \x01(\x08H\x00\x12 \n\x16\x64\x65\x62ug_shutdown_runtime\x18\x0f \x01(\x08H\x00\x12-\n\x11\x66ile_urls_request\x18\x10 \x01(\x0b\x32\x10.FileURLsRequestH\x00\x12\x17\n\rapp_heartbeat\x18\x11 \x01(\x08H\x00\x12\x35\n\x15\x64\x65\x66\x65rred_file_request\x18\x12 \x01(\x0b\x32\x14.DeferredFileRequestH\x00\x12\x1d\n\x15\x64\x65\x62ug_last_backmsg_id\x18\r \x01(\tB\x06\n\x04typeJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\":\n\x13\x44\x65\x66\x65rredFileRequest\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\tB,\n\x1c\x63om.snowflake.apps.streamlitB\x0c\x42\x61\x63kMsgProtob\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/BackMsg.proto\x1a!streamlit/proto/ClientState.proto\x1a\x1cstreamlit/proto/Common.proto\"\xa9\x03\n\x07\x42\x61\x63kMsg\x12\x15\n\x0b\x63lear_cache\x18\x05 \x01(\x08H\x00\x12\x19\n\x0fset_run_on_save\x18\x06 \x01(\x08H\x00\x12\x15\n\x0bstop_script\x18\x07 \x01(\x08H\x00\x12$\n\x0crerun_script\x18\x0b \x01(\x0b\x32\x0c.ClientStateH\x00\x12\x17\n\rload_git_info\x18\x0c \x01(\x08H\x00\x12$\n\x1a\x64\x65\x62ug_disconnect_websocket\x18\x0e \x01(\x08H\x00\x12 \n\x16\x64\x65\x62ug_shutdown_runtime\x18\x0f \x01(\x08H\x00\x12-\n\x11\x66ile_urls_request\x18\x10 \x01(\x0b\x32\x10.FileURLsRequestH\x00\x12\x17\n\rapp_heartbeat\x18\x11 \x01(\x08H\x00\x12\x35\n\x15\x64\x65\x66\x65rred_file_request\x18\x12 \x01(\x0b\x32\x14.DeferredFileRequestH\x00\x12\x1d\n\x15\x64\x65\x62ug_last_backmsg_id\x18\r \x01(\tB\x06\n\x04typeJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\":\n\x13\x44\x65\x66\x65rredFileRequest\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\tb\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
23
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.BackMsg_pb2', _globals)
24
24
  if not _descriptor._USE_C_DESCRIPTORS:
25
- _globals['DESCRIPTOR']._loaded_options = None
26
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\014BackMsgProto'
25
+ DESCRIPTOR._loaded_options = None
27
26
  _globals['_BACKMSG']._serialized_start=99
28
27
  _globals['_BACKMSG']._serialized_end=524
29
28
  _globals['_DEFERREDFILEREQUEST']._serialized_start=526
@@ -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
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Balloons.proto\"$\n\x08\x42\x61lloons\x12\x0c\n\x04show\x18\x03 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\x42-\n\x1c\x63om.snowflake.apps.streamlitB\rBalloonsProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Balloons.proto\"$\n\x08\x42\x61lloons\x12\x0c\n\x04show\x18\x03 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Balloons_pb2', _globals)
22
22
  if not _descriptor._USE_C_DESCRIPTORS:
23
- _globals['DESCRIPTOR']._loaded_options = None
24
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rBalloonsProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_BALLOONS']._serialized_start=34
26
25
  _globals['_BALLOONS']._serialized_end=70
27
26
  # @@protoc_insertion_point(module_scope)
@@ -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
@@ -15,14 +15,13 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/BidiComponent.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\x89\x01\n\tMixedData\x12\x0c\n\x04json\x18\x01 \x01(\t\x12/\n\x0b\x61rrow_blobs\x18\x02 \x03(\x0b\x32\x1a.MixedData.ArrowBlobsEntry\x1a=\n\x0f\x41rrowBlobsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x19\n\x05value\x18\x02 \x01(\x0b\x32\n.ArrowData:\x02\x38\x01\"\xa4\x03\n\rBidiComponent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x02 \x01(\t\x12\x17\n\njs_content\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0ejs_source_path\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x0chtml_content\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x63ss_content\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63ss_source_path\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\x16\n\x0eisolate_styles\x18\t \x01(\x08\x12\x0e\n\x04json\x18\n \x01(\tH\x00\x12 \n\narrow_data\x18\x0b \x01(\x0b\x32\n.ArrowDataH\x00\x12\x0f\n\x05\x62ytes\x18\x0c \x01(\x0cH\x00\x12\x1b\n\x05mixed\x18\r \x01(\x0b\x32\n.MixedDataH\x00\x42\x06\n\x04\x64\x61taB\r\n\x0b_js_contentB\x11\n\x0f_js_source_pathB\x0f\n\r_html_contentB\x0e\n\x0c_css_contentB\x12\n\x10_css_source_pathB2\n\x1c\x63om.snowflake.apps.streamlitB\x12\x42idiComponentProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/BidiComponent.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\x89\x01\n\tMixedData\x12\x0c\n\x04json\x18\x01 \x01(\t\x12/\n\x0b\x61rrow_blobs\x18\x02 \x03(\x0b\x32\x1a.MixedData.ArrowBlobsEntry\x1a=\n\x0f\x41rrowBlobsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x19\n\x05value\x18\x02 \x01(\x0b\x32\n.ArrowData:\x02\x38\x01\"\xa4\x03\n\rBidiComponent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x02 \x01(\t\x12\x17\n\njs_content\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0ejs_source_path\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x0chtml_content\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x63ss_content\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63ss_source_path\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\x16\n\x0eisolate_styles\x18\t \x01(\x08\x12\x0e\n\x04json\x18\n \x01(\tH\x00\x12 \n\narrow_data\x18\x0b \x01(\x0b\x32\n.ArrowDataH\x00\x12\x0f\n\x05\x62ytes\x18\x0c \x01(\x0cH\x00\x12\x1b\n\x05mixed\x18\r \x01(\x0b\x32\n.MixedDataH\x00\x42\x06\n\x04\x64\x61taB\r\n\x0b_js_contentB\x11\n\x0f_js_source_pathB\x0f\n\r_html_contentB\x0e\n\x0c_css_contentB\x12\n\x10_css_source_pathb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.BidiComponent_pb2', _globals)
23
23
  if not _descriptor._USE_C_DESCRIPTORS:
24
- _globals['DESCRIPTOR']._loaded_options = None
25
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022BidiComponentProto'
24
+ DESCRIPTOR._loaded_options = None
26
25
  _globals['_MIXEDDATA_ARROWBLOBSENTRY']._loaded_options = None
27
26
  _globals['_MIXEDDATA_ARROWBLOBSENTRY']._serialized_options = b'8\001'
28
27
  _globals['_MIXEDDATA']._serialized_start=73
@@ -17,54 +17,47 @@ 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\"\xde\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(\x08\x12\x12\n\x06height\x18\x02 \x01(\rB\x02\x18\x01\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\xef\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12\x0f\n\x03gap\x18\x02 \x01(\tB\x02\x18\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_config\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\x1au\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x1f\n\x13use_container_width\x18\x02 \x01(\x08\x42\x02\x18\x01\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(\t\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*\n\x1c\x63om.snowflake.apps.streamlitB\nBlockProtob\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)
24
24
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Block_pb2', _globals)
25
25
  if not _descriptor._USE_C_DESCRIPTORS:
26
- _globals['DESCRIPTOR']._loaded_options = None
27
- _globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nBlockProto'
28
- _globals['_BLOCK_VERTICAL'].fields_by_name['height']._loaded_options = None
29
- _globals['_BLOCK_VERTICAL'].fields_by_name['height']._serialized_options = b'\030\001'
30
- _globals['_BLOCK_COLUMN'].fields_by_name['gap']._loaded_options = None
31
- _globals['_BLOCK_COLUMN'].fields_by_name['gap']._serialized_options = b'\030\001'
32
- _globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._loaded_options = None
33
- _globals['_BLOCK_POPOVER'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
26
+ DESCRIPTOR._loaded_options = None
34
27
  _globals['_BLOCK']._serialized_start=134
35
- _globals['_BLOCK']._serialized_end=2276
28
+ _globals['_BLOCK']._serialized_end=2224
36
29
  _globals['_BLOCK_VERTICAL']._serialized_start=699
37
- _globals['_BLOCK_VERTICAL']._serialized_end=745
38
- _globals['_BLOCK_HORIZONTAL']._serialized_start=747
39
- _globals['_BLOCK_HORIZONTAL']._serialized_end=772
40
- _globals['_BLOCK_FLEXCONTAINER']._serialized_start=775
41
- _globals['_BLOCK_FLEXCONTAINER']._serialized_end=1288
42
- _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_start=1020
43
- _globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_end=1086
44
- _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_start=1088
45
- _globals['_BLOCK_FLEXCONTAINER_JUSTIFY']._serialized_end=1195
46
- _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_start=1197
47
- _globals['_BLOCK_FLEXCONTAINER_ALIGN']._serialized_end=1288
48
- _globals['_BLOCK_COLUMN']._serialized_start=1291
49
- _globals['_BLOCK_COLUMN']._serialized_end=1530
50
- _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_start=1463
51
- _globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_end=1515
52
- _globals['_BLOCK_EXPANDABLE']._serialized_start=1532
53
- _globals['_BLOCK_EXPANDABLE']._serialized_end=1609
54
- _globals['_BLOCK_DIALOG']._serialized_start=1612
55
- _globals['_BLOCK_DIALOG']._serialized_end=1807
56
- _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_start=1748
57
- _globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_end=1795
58
- _globals['_BLOCK_FORM']._serialized_start=1809
59
- _globals['_BLOCK_FORM']._serialized_end=1898
60
- _globals['_BLOCK_TABCONTAINER']._serialized_start=1900
61
- _globals['_BLOCK_TABCONTAINER']._serialized_end=1941
62
- _globals['_BLOCK_TAB']._serialized_start=1943
63
- _globals['_BLOCK_TAB']._serialized_end=1963
64
- _globals['_BLOCK_POPOVER']._serialized_start=1965
65
- _globals['_BLOCK_POPOVER']._serialized_end=2082
66
- _globals['_BLOCK_CHATMESSAGE']._serialized_start=2085
67
- _globals['_BLOCK_CHATMESSAGE']._serialized_end=2226
68
- _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=2182
69
- _globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=2226
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
70
63
  # @@protoc_insertion_point(module_scope)
@@ -32,11 +32,6 @@ if sys.version_info >= (3, 10):
32
32
  else:
33
33
  from typing_extensions import TypeAlias as _TypeAlias
34
34
 
35
- if sys.version_info >= (3, 13):
36
- from warnings import deprecated as _deprecated
37
- else:
38
- from typing_extensions import deprecated as _deprecated
39
-
40
35
  DESCRIPTOR: _descriptor.FileDescriptor
41
36
 
42
37
  @_typing.final
@@ -48,29 +43,13 @@ class Block(_message.Message):
48
43
  DESCRIPTOR: _descriptor.Descriptor
49
44
 
50
45
  BORDER_FIELD_NUMBER: _builtins.int
51
- HEIGHT_FIELD_NUMBER: _builtins.int
52
46
  border: _builtins.bool
53
- @_builtins.property
54
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
55
- def height(self) -> _builtins.int:
56
- """DEPRECATED: We use height_config on the top-level which is shared.
57
- with other Block types.
58
- """
59
-
60
- @height.setter
61
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
62
- def height(self, value: _builtins.int) -> None:
63
- """DEPRECATED: We use height_config on the top-level which is shared.
64
- with other Block types.
65
- """
66
-
67
47
  def __init__(
68
48
  self,
69
49
  *,
70
50
  border: _builtins.bool = ...,
71
- height: _builtins.int = ...,
72
51
  ) -> None: ...
73
- _ClearFieldArgType: _TypeAlias = _typing.Literal["border", b"border", "height", b"height"] # noqa: Y015
52
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["border", b"border"] # noqa: Y015
74
53
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
75
54
 
76
55
  @_typing.final
@@ -195,21 +174,10 @@ class Block(_message.Message):
195
174
  BOTTOM: Block.Column.VerticalAlignment.ValueType # 2
196
175
 
197
176
  WEIGHT_FIELD_NUMBER: _builtins.int
198
- GAP_FIELD_NUMBER: _builtins.int
199
177
  VERTICAL_ALIGNMENT_FIELD_NUMBER: _builtins.int
200
178
  SHOW_BORDER_FIELD_NUMBER: _builtins.int
201
179
  GAP_CONFIG_FIELD_NUMBER: _builtins.int
202
180
  weight: _builtins.float
203
- @_builtins.property
204
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
205
- def gap(self) -> _builtins.str:
206
- """Deprecated. Use gap_size"""
207
-
208
- @gap.setter
209
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
210
- def gap(self, value: _builtins.str) -> None:
211
- """Deprecated. Use gap_size"""
212
-
213
181
  vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType
214
182
  show_border: _builtins.bool
215
183
  @_builtins.property
@@ -218,14 +186,13 @@ class Block(_message.Message):
218
186
  self,
219
187
  *,
220
188
  weight: _builtins.float = ...,
221
- gap: _builtins.str = ...,
222
189
  vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType = ...,
223
190
  show_border: _builtins.bool = ...,
224
191
  gap_config: _GapSize_pb2.GapConfig | None = ...,
225
192
  ) -> None: ...
226
193
  _HasFieldArgType: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config", "gap_config", b"gap_config"] # noqa: Y015
227
194
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
228
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config", "gap", b"gap", "gap_config", b"gap_config", "show_border", b"show_border", "vertical_alignment", b"vertical_alignment", "weight", b"weight"] # noqa: Y015
195
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config", "gap_config", b"gap_config", "show_border", b"show_border", "vertical_alignment", b"vertical_alignment", "weight", b"weight"] # noqa: Y015
229
196
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
230
197
  _WhichOneofReturnType__gap_config: _TypeAlias = _typing.Literal["gap_config"] # noqa: Y015
231
198
  _WhichOneofArgType__gap_config: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config"] # noqa: Y015
@@ -363,22 +330,11 @@ class Block(_message.Message):
363
330
  DESCRIPTOR: _descriptor.Descriptor
364
331
 
365
332
  LABEL_FIELD_NUMBER: _builtins.int
366
- USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
367
333
  HELP_FIELD_NUMBER: _builtins.int
368
334
  DISABLED_FIELD_NUMBER: _builtins.int
369
335
  ICON_FIELD_NUMBER: _builtins.int
370
336
  TYPE_FIELD_NUMBER: _builtins.int
371
337
  label: _builtins.str
372
- @_builtins.property
373
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
374
- def use_container_width(self) -> _builtins.bool:
375
- """DEPRECATED: We use widthConfig on the top-level which is shared."""
376
-
377
- @use_container_width.setter
378
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
379
- def use_container_width(self, value: _builtins.bool) -> None:
380
- """DEPRECATED: We use widthConfig on the top-level which is shared."""
381
-
382
338
  help: _builtins.str
383
339
  disabled: _builtins.bool
384
340
  icon: _builtins.str
@@ -387,13 +343,12 @@ class Block(_message.Message):
387
343
  self,
388
344
  *,
389
345
  label: _builtins.str = ...,
390
- use_container_width: _builtins.bool = ...,
391
346
  help: _builtins.str = ...,
392
347
  disabled: _builtins.bool = ...,
393
348
  icon: _builtins.str = ...,
394
349
  type: _builtins.str = ...,
395
350
  ) -> None: ...
396
- _ClearFieldArgType: _TypeAlias = _typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"] # noqa: Y015
351
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type"] # noqa: Y015
397
352
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
398
353
 
399
354
  @_typing.final