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
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/GitInfo.proto\"\xd6\x01\n\x07GitInfo\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0e\n\x06\x62ranch\x18\x02 \x01(\t\x12\x0e\n\x06module\x18\x03 \x01(\t\x12\x17\n\x0funtracked_files\x18\x04 \x03(\t\x12\x19\n\x11uncommitted_files\x18\x05 \x03(\t\x12!\n\x05state\x18\x06 \x01(\x0e\x32\x12.GitInfo.GitStates\"@\n\tGitStates\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x11\n\rHEAD_DETACHED\x10\x01\x12\x13\n\x0f\x41HEAD_OF_REMOTE\x10\x02\x42,\n\x1c\x63om.snowflake.apps.streamlitB\x0cGitInfoProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/GitInfo.proto\"\xd6\x01\n\x07GitInfo\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0e\n\x06\x62ranch\x18\x02 \x01(\t\x12\x0e\n\x06module\x18\x03 \x01(\t\x12\x17\n\x0funtracked_files\x18\x04 \x03(\t\x12\x19\n\x11uncommitted_files\x18\x05 \x03(\t\x12!\n\x05state\x18\x06 \x01(\x0e\x32\x12.GitInfo.GitStates\"@\n\tGitStates\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x11\n\rHEAD_DETACHED\x10\x01\x12\x13\n\x0f\x41HEAD_OF_REMOTE\x10\x02\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.GitInfo_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\014GitInfoProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_GITINFO']._serialized_start=34
26
25
  _globals['_GITINFO']._serialized_end=248
27
26
  _globals['_GITINFO_GITSTATES']._serialized_start=184
@@ -14,16 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/GraphVizChart.proto\"n\n\rGraphVizChart\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x1f\n\x13use_container_width\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x12\n\nelement_id\x18\x05 \x01(\t\x12\x0e\n\x06\x65ngine\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\x42\x32\n\x1c\x63om.snowflake.apps.streamlitB\x12GraphVizChartProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/GraphVizChart.proto\"S\n\rGraphVizChart\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\x12\x0e\n\x06\x65ngine\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.GraphVizChart_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\022GraphVizChartProto'
25
- _globals['_GRAPHVIZCHART'].fields_by_name['use_container_width']._loaded_options = None
26
- _globals['_GRAPHVIZCHART'].fields_by_name['use_container_width']._serialized_options = b'\030\001'
23
+ DESCRIPTOR._loaded_options = None
27
24
  _globals['_GRAPHVIZCHART']._serialized_start=39
28
- _globals['_GRAPHVIZCHART']._serialized_end=149
25
+ _globals['_GRAPHVIZCHART']._serialized_end=122
29
26
  # @@protoc_insertion_point(module_scope)
@@ -28,11 +28,6 @@ if sys.version_info >= (3, 10):
28
28
  else:
29
29
  from typing_extensions import TypeAlias as _TypeAlias
30
30
 
31
- if sys.version_info >= (3, 13):
32
- from warnings import deprecated as _deprecated
33
- else:
34
- from typing_extensions import deprecated as _deprecated
35
-
36
31
  DESCRIPTOR: _descriptor.FileDescriptor
37
32
 
38
33
  @_typing.final
@@ -40,21 +35,10 @@ class GraphVizChart(_message.Message):
40
35
  DESCRIPTOR: _descriptor.Descriptor
41
36
 
42
37
  SPEC_FIELD_NUMBER: _builtins.int
43
- USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
44
38
  ELEMENT_ID_FIELD_NUMBER: _builtins.int
45
39
  ENGINE_FIELD_NUMBER: _builtins.int
46
40
  spec: _builtins.str
47
41
  """A specification of the GraphViz graph in the "Dot" language."""
48
- @_builtins.property
49
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
50
- def use_container_width(self) -> _builtins.bool:
51
- """DEPRECATED: We use widthConfig on Element.proto"""
52
-
53
- @use_container_width.setter
54
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
55
- def use_container_width(self, value: _builtins.bool) -> None:
56
- """DEPRECATED: We use widthConfig on Element.proto"""
57
-
58
42
  element_id: _builtins.str
59
43
  """A unique ID of this element."""
60
44
  engine: _builtins.str
@@ -63,11 +47,10 @@ class GraphVizChart(_message.Message):
63
47
  self,
64
48
  *,
65
49
  spec: _builtins.str = ...,
66
- use_container_width: _builtins.bool = ...,
67
50
  element_id: _builtins.str = ...,
68
51
  engine: _builtins.str = ...,
69
52
  ) -> None: ...
70
- _ClearFieldArgType: _TypeAlias = _typing.Literal["element_id", b"element_id", "engine", b"engine", "spec", b"spec", "use_container_width", b"use_container_width"] # noqa: Y015
53
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["element_id", b"element_id", "engine", b"engine", "spec", b"spec"] # noqa: Y015
71
54
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
72
55
 
73
56
  Global___GraphVizChart: _TypeAlias = GraphVizChart # noqa: Y015
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Heading.proto\"h\n\x07Heading\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\x0e\n\x06\x61nchor\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x13\n\x0bhide_anchor\x18\x05 \x01(\x08\x12\x0f\n\x07\x64ivider\x18\x06 \x01(\tB,\n\x1c\x63om.snowflake.apps.streamlitB\x0cHeadingProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Heading.proto\"h\n\x07Heading\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\x0e\n\x06\x61nchor\x18\x02 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x13\n\x0bhide_anchor\x18\x05 \x01(\x08\x12\x0f\n\x07\x64ivider\x18\x06 \x01(\tb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Heading_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\014HeadingProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_HEADING']._serialized_start=33
26
25
  _globals['_HEADING']._serialized_end=137
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\"streamlit/proto/HeightConfig.proto\x12\tstreamlit\"y\n\x0cHeightConfig\x12\x15\n\x0buse_stretch\x18\x01 \x01(\x08H\x00\x12\x15\n\x0buse_content\x18\x02 \x01(\x08H\x00\x12\x16\n\x0cpixel_height\x18\x03 \x01(\rH\x00\x12\x14\n\nrem_height\x18\x04 \x01(\x02H\x00\x42\r\n\x0bheight_specB1\n\x1c\x63om.snowflake.apps.streamlitB\x11HeightConfigProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/HeightConfig.proto\x12\tstreamlit\"y\n\x0cHeightConfig\x12\x15\n\x0buse_stretch\x18\x01 \x01(\x08H\x00\x12\x15\n\x0buse_content\x18\x02 \x01(\x08H\x00\x12\x16\n\x0cpixel_height\x18\x03 \x01(\rH\x00\x12\x14\n\nrem_height\x18\x04 \x01(\x02H\x00\x42\r\n\x0bheight_specb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.HeightConfig_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\021HeightConfigProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_HEIGHTCONFIG']._serialized_start=49
26
25
  _globals['_HEIGHTCONFIG']._serialized_end=170
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\x1astreamlit/proto/Html.proto\"5\n\x04Html\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x1f\n\x17unsafe_allow_javascript\x18\x02 \x01(\x08\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tHtmlProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Html.proto\"5\n\x04Html\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x1f\n\x17unsafe_allow_javascript\x18\x02 \x01(\x08\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Html_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\tHtmlProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_HTML']._serialized_start=30
26
25
  _globals['_HTML']._serialized_end=83
27
26
  # @@protoc_insertion_point(module_scope)
@@ -14,20 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/IFrame.proto\"\xa8\x01\n\x06IFrame\x12\r\n\x03src\x18\x01 \x01(\tH\x00\x12\x10\n\x06srcdoc\x18\x02 \x01(\tH\x00\x12\x11\n\x05width\x18\x03 \x01(\x02\x42\x02\x18\x01\x12\x15\n\thas_width\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x12\n\x06height\x18\x05 \x01(\x02\x42\x02\x18\x01\x12\x11\n\tscrolling\x18\x07 \x01(\x08\x12\x16\n\ttab_index\x18\x08 \x01(\x05H\x01\x88\x01\x01\x42\x06\n\x04typeB\x0c\n\n_tab_indexB+\n\x1c\x63om.snowflake.apps.streamlitB\x0bIFrameProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/IFrame.proto\"|\n\x06IFrame\x12\r\n\x03src\x18\x01 \x01(\tH\x00\x12\x10\n\x06srcdoc\x18\x02 \x01(\tH\x00\x12\x11\n\tscrolling\x18\x07 \x01(\x08\x12\x16\n\ttab_index\x18\x08 \x01(\x05H\x01\x88\x01\x01\x42\x06\n\x04typeB\x0c\n\n_tab_indexJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.IFrame_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\013IFrameProto'
25
- _globals['_IFRAME'].fields_by_name['width']._loaded_options = None
26
- _globals['_IFRAME'].fields_by_name['width']._serialized_options = b'\030\001'
27
- _globals['_IFRAME'].fields_by_name['has_width']._loaded_options = None
28
- _globals['_IFRAME'].fields_by_name['has_width']._serialized_options = b'\030\001'
29
- _globals['_IFRAME'].fields_by_name['height']._loaded_options = None
30
- _globals['_IFRAME'].fields_by_name['height']._serialized_options = b'\030\001'
31
- _globals['_IFRAME']._serialized_start=33
32
- _globals['_IFRAME']._serialized_end=201
23
+ DESCRIPTOR._loaded_options = None
24
+ _globals['_IFRAME']._serialized_start=32
25
+ _globals['_IFRAME']._serialized_end=156
33
26
  # @@protoc_insertion_point(module_scope)
@@ -28,11 +28,6 @@ if sys.version_info >= (3, 10):
28
28
  else:
29
29
  from typing_extensions import TypeAlias as _TypeAlias
30
30
 
31
- if sys.version_info >= (3, 13):
32
- from warnings import deprecated as _deprecated
33
- else:
34
- from typing_extensions import deprecated as _deprecated
35
-
36
31
  DESCRIPTOR: _descriptor.FileDescriptor
37
32
 
38
33
  @_typing.final
@@ -41,45 +36,12 @@ class IFrame(_message.Message):
41
36
 
42
37
  SRC_FIELD_NUMBER: _builtins.int
43
38
  SRCDOC_FIELD_NUMBER: _builtins.int
44
- WIDTH_FIELD_NUMBER: _builtins.int
45
- HAS_WIDTH_FIELD_NUMBER: _builtins.int
46
- HEIGHT_FIELD_NUMBER: _builtins.int
47
39
  SCROLLING_FIELD_NUMBER: _builtins.int
48
40
  TAB_INDEX_FIELD_NUMBER: _builtins.int
49
41
  src: _builtins.str
50
42
  """A URL to load"""
51
43
  srcdoc: _builtins.str
52
44
  """Inline HTML"""
53
- @_builtins.property
54
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
55
- def width(self) -> _builtins.float:
56
- """Deprecated: Use width_config on Element.proto instead"""
57
-
58
- @width.setter
59
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
60
- def width(self, value: _builtins.float) -> None:
61
- """Deprecated: Use width_config on Element.proto instead"""
62
-
63
- @_builtins.property
64
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
65
- def has_width(self) -> _builtins.bool:
66
- """Deprecated: Width is now handled through width_config on Element.proto"""
67
-
68
- @has_width.setter
69
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
70
- def has_width(self, value: _builtins.bool) -> None:
71
- """Deprecated: Width is now handled through width_config on Element.proto"""
72
-
73
- @_builtins.property
74
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
75
- def height(self) -> _builtins.float:
76
- """Deprecated: Use height_config on Element.proto instead"""
77
-
78
- @height.setter
79
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
80
- def height(self, value: _builtins.float) -> None:
81
- """Deprecated: Use height_config on Element.proto instead"""
82
-
83
45
  scrolling: _builtins.bool
84
46
  tab_index: _builtins.int
85
47
  def __init__(
@@ -87,15 +49,12 @@ class IFrame(_message.Message):
87
49
  *,
88
50
  src: _builtins.str = ...,
89
51
  srcdoc: _builtins.str = ...,
90
- width: _builtins.float = ...,
91
- has_width: _builtins.bool = ...,
92
- height: _builtins.float = ...,
93
52
  scrolling: _builtins.bool = ...,
94
53
  tab_index: _builtins.int | None = ...,
95
54
  ) -> None: ...
96
55
  _HasFieldArgType: _TypeAlias = _typing.Literal["_tab_index", b"_tab_index", "src", b"src", "srcdoc", b"srcdoc", "tab_index", b"tab_index", "type", b"type"] # noqa: Y015
97
56
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
98
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_tab_index", b"_tab_index", "has_width", b"has_width", "height", b"height", "scrolling", b"scrolling", "src", b"src", "srcdoc", b"srcdoc", "tab_index", b"tab_index", "type", b"type", "width", b"width"] # noqa: Y015
57
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_tab_index", b"_tab_index", "scrolling", b"scrolling", "src", b"src", "srcdoc", b"srcdoc", "tab_index", b"tab_index", "type", b"type"] # noqa: Y015
99
58
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
100
59
  _WhichOneofReturnType__tab_index: _TypeAlias = _typing.Literal["tab_index"] # noqa: Y015
101
60
  _WhichOneofArgType__tab_index: _TypeAlias = _typing.Literal["_tab_index", b"_tab_index"] # noqa: Y015
@@ -14,18 +14,15 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Image.proto\"A\n\x05Image\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x02 \x01(\t\x12\x0e\n\x06markup\x18\x04 \x01(\tJ\x04\x08\x01\x10\x02R\x04\x64\x61ta\"4\n\tImageList\x12\x14\n\x04imgs\x18\x01 \x03(\x0b\x32\x06.Image\x12\x11\n\x05width\x18\x02 \x01(\x05\x42\x02\x18\x01\x42*\n\x1c\x63om.snowflake.apps.streamlitB\nImageProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Image.proto\"1\n\x05Image\x12\x0b\n\x03url\x18\x03 \x01(\t\x12\x0f\n\x07\x63\x61ption\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x04\x10\x05\"\'\n\tImageList\x12\x14\n\x04imgs\x18\x01 \x03(\x0b\x32\x06.ImageJ\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.Image_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\nImageProto'
25
- _globals['_IMAGELIST'].fields_by_name['width']._loaded_options = None
26
- _globals['_IMAGELIST'].fields_by_name['width']._serialized_options = b'\030\001'
23
+ DESCRIPTOR._loaded_options = None
27
24
  _globals['_IMAGE']._serialized_start=31
28
- _globals['_IMAGE']._serialized_end=96
29
- _globals['_IMAGELIST']._serialized_start=98
30
- _globals['_IMAGELIST']._serialized_end=150
25
+ _globals['_IMAGE']._serialized_end=80
26
+ _globals['_IMAGELIST']._serialized_start=82
27
+ _globals['_IMAGELIST']._serialized_end=121
31
28
  # @@protoc_insertion_point(module_scope)
@@ -30,11 +30,6 @@ if sys.version_info >= (3, 10):
30
30
  else:
31
31
  from typing_extensions import TypeAlias as _TypeAlias
32
32
 
33
- if sys.version_info >= (3, 13):
34
- from warnings import deprecated as _deprecated
35
- else:
36
- from typing_extensions import deprecated as _deprecated
37
-
38
33
  DESCRIPTOR: _descriptor.FileDescriptor
39
34
 
40
35
  @_typing.final
@@ -45,21 +40,15 @@ class Image(_message.Message):
45
40
 
46
41
  URL_FIELD_NUMBER: _builtins.int
47
42
  CAPTION_FIELD_NUMBER: _builtins.int
48
- MARKUP_FIELD_NUMBER: _builtins.int
49
43
  url: _builtins.str
50
44
  caption: _builtins.str
51
- markup: _builtins.str
52
- """DEPRECATED: markup is not used anymore.
53
- SVGs are added as data uris in the url field.
54
- """
55
45
  def __init__(
56
46
  self,
57
47
  *,
58
48
  url: _builtins.str = ...,
59
49
  caption: _builtins.str = ...,
60
- markup: _builtins.str = ...,
61
50
  ) -> None: ...
62
- _ClearFieldArgType: _TypeAlias = _typing.Literal["caption", b"caption", "markup", b"markup", "url", b"url"] # noqa: Y015
51
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["caption", b"caption", "url", b"url"] # noqa: Y015
63
52
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
64
53
 
65
54
  Global___Image: _TypeAlias = Image # noqa: Y015
@@ -71,26 +60,14 @@ class ImageList(_message.Message):
71
60
  DESCRIPTOR: _descriptor.Descriptor
72
61
 
73
62
  IMGS_FIELD_NUMBER: _builtins.int
74
- WIDTH_FIELD_NUMBER: _builtins.int
75
- @_builtins.property
76
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
77
- def width(self) -> _builtins.int:
78
- """DEPRECATED use widthConfig on Element.proto"""
79
-
80
- @width.setter
81
- @_deprecated("""This field has been marked as deprecated using proto field options.""")
82
- def width(self, value: _builtins.int) -> None:
83
- """DEPRECATED use widthConfig on Element.proto"""
84
-
85
63
  @_builtins.property
86
64
  def imgs(self) -> _containers.RepeatedCompositeFieldContainer[Global___Image]: ...
87
65
  def __init__(
88
66
  self,
89
67
  *,
90
68
  imgs: _abc.Iterable[Global___Image] | None = ...,
91
- width: _builtins.int = ...,
92
69
  ) -> None: ...
93
- _ClearFieldArgType: _TypeAlias = _typing.Literal["imgs", b"imgs", "width", b"width"] # noqa: Y015
70
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["imgs", b"imgs"] # noqa: Y015
94
71
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
95
72
 
96
73
  Global___ImageList: _TypeAlias = ImageList # noqa: Y015
@@ -14,14 +14,13 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Json.proto\"Z\n\x04Json\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x10\n\x08\x65xpanded\x18\x02 \x01(\x08\x12\x1d\n\x10max_expand_depth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x13\n\x11_max_expand_depthB)\n\x1c\x63om.snowflake.apps.streamlitB\tJsonProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Json.proto\"Z\n\x04Json\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x10\n\x08\x65xpanded\x18\x02 \x01(\x08\x12\x1d\n\x10max_expand_depth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x13\n\x11_max_expand_depthb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Json_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\tJsonProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_JSON']._serialized_start=30
26
25
  _globals['_JSON']._serialized_end=120
27
26
  # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,28 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: streamlit/proto/LabelVisibility.proto
4
+ # Protobuf Python Version: 5.26.1
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%streamlit/proto/LabelVisibility.proto\"\x8b\x01\n\x0fLabelVisibility\x12\x36\n\x05value\x18\x01 \x01(\x0e\x32\'.LabelVisibility.LabelVisibilityOptions\"@\n\x16LabelVisibilityOptions\x12\x0b\n\x07VISIBLE\x10\x00\x12\n\n\x06HIDDEN\x10\x01\x12\r\n\tCOLLAPSED\x10\x02\x62\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.LabelVisibility_pb2', _globals)
22
+ if not _descriptor._USE_C_DESCRIPTORS:
23
+ DESCRIPTOR._loaded_options = None
24
+ _globals['_LABELVISIBILITY']._serialized_start=42
25
+ _globals['_LABELVISIBILITY']._serialized_end=181
26
+ _globals['_LABELVISIBILITY_LABELVISIBILITYOPTIONS']._serialized_start=117
27
+ _globals['_LABELVISIBILITY_LABELVISIBILITYOPTIONS']._serialized_end=181
28
+ # @@protoc_insertion_point(module_scope)
@@ -32,38 +32,38 @@ else:
32
32
  DESCRIPTOR: _descriptor.FileDescriptor
33
33
 
34
34
  @_typing.final
35
- class LabelVisibilityMessage(_message.Message):
35
+ class LabelVisibility(_message.Message):
36
36
  DESCRIPTOR: _descriptor.Descriptor
37
37
 
38
38
  class _LabelVisibilityOptions:
39
39
  ValueType = _typing.NewType("ValueType", _builtins.int)
40
40
  V: _TypeAlias = ValueType # noqa: Y015
41
41
 
42
- class _LabelVisibilityOptionsEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[LabelVisibilityMessage._LabelVisibilityOptions.ValueType], _builtins.type):
42
+ class _LabelVisibilityOptionsEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[LabelVisibility._LabelVisibilityOptions.ValueType], _builtins.type):
43
43
  DESCRIPTOR: _descriptor.EnumDescriptor
44
- VISIBLE: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 0
45
- HIDDEN: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 1
46
- COLLAPSED: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 2
44
+ VISIBLE: LabelVisibility._LabelVisibilityOptions.ValueType # 0
45
+ HIDDEN: LabelVisibility._LabelVisibilityOptions.ValueType # 1
46
+ COLLAPSED: LabelVisibility._LabelVisibilityOptions.ValueType # 2
47
47
 
48
48
  class LabelVisibilityOptions(_LabelVisibilityOptions, metaclass=_LabelVisibilityOptionsEnumTypeWrapper):
49
- """We use separate LabelVisibilityMessage instead of just defining Enum and
50
- use it in other widgets proto files due to protobuf js error, when just
51
- enum defined and imported
49
+ """We use a separate LabelVisibility message instead of just defining an Enum
50
+ and using it in other widgets proto files due to a protobuf.js error when
51
+ just an enum is defined and imported.
52
52
  https://github.com/protobufjs/protobuf.js/issues/1414
53
53
  """
54
54
 
55
- VISIBLE: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 0
56
- HIDDEN: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 1
57
- COLLAPSED: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 2
55
+ VISIBLE: LabelVisibility.LabelVisibilityOptions.ValueType # 0
56
+ HIDDEN: LabelVisibility.LabelVisibilityOptions.ValueType # 1
57
+ COLLAPSED: LabelVisibility.LabelVisibilityOptions.ValueType # 2
58
58
 
59
59
  VALUE_FIELD_NUMBER: _builtins.int
60
- value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType
60
+ value: Global___LabelVisibility.LabelVisibilityOptions.ValueType
61
61
  def __init__(
62
62
  self,
63
63
  *,
64
- value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType = ...,
64
+ value: Global___LabelVisibility.LabelVisibilityOptions.ValueType = ...,
65
65
  ) -> None: ...
66
66
  _ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
67
67
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
68
68
 
69
- Global___LabelVisibilityMessage: _TypeAlias = LabelVisibilityMessage # noqa: Y015
69
+ Global___LabelVisibility: _TypeAlias = LabelVisibility # noqa: Y015
@@ -15,14 +15,13 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import ButtonLikeIconPosition_pb2 as streamlit_dot_proto_dot_ButtonLikeIconPosition__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/LinkButton.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\xd9\x01\n\nLinkButton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x06 \x01(\t\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x1b\n\x13use_container_width\x18\x08 \x01(\x08\x12\x0c\n\x04type\x18\t \x01(\t\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.ButtonLikeIconPositionB/\n\x1c\x63om.snowflake.apps.streamlitB\x0fLinkButtonProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/LinkButton.proto\x1a,streamlit/proto/ButtonLikeIconPosition.proto\"\xd9\x01\n\nLinkButton\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x06 \x01(\t\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x1b\n\x13use_container_width\x18\x08 \x01(\x08\x12\x0c\n\x04type\x18\t \x01(\t\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.ButtonLikeIconPositionb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.LinkButton_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\017LinkButtonProto'
24
+ DESCRIPTOR._loaded_options = None
26
25
  _globals['_LINKBUTTON']._serialized_start=83
27
26
  _globals['_LINKBUTTON']._serialized_end=300
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\x1astreamlit/proto/Logo.proto\"\xc1\x01\n\x04Logo\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\x12\x12\n\nicon_image\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\t\x12#\n\nimage_type\x18\x05 \x01(\x0e\x32\x0f.Logo.ImageType\x12(\n\x0ficon_image_type\x18\x06 \x01(\x0e\x32\x0f.Logo.ImageType\"+\n\tImageType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tLogoProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Logo.proto\"\xc1\x01\n\x04Logo\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0c\n\x04link\x18\x02 \x01(\t\x12\x12\n\nicon_image\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\t\x12#\n\nimage_type\x18\x05 \x01(\x0e\x32\x0f.Logo.ImageType\x12(\n\x0ficon_image_type\x18\x06 \x01(\x0e\x32\x0f.Logo.ImageType\"+\n\tImageType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Logo_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\tLogoProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_LOGO']._serialized_start=31
26
25
  _globals['_LOGO']._serialized_end=224
27
26
  _globals['_LOGO_IMAGETYPE']._serialized_start=181
@@ -14,16 +14,15 @@ _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Markdown.proto\"\xc8\x01\n\x08Markdown\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x12\n\nallow_html\x18\x02 \x01(\x08\x12\x12\n\nis_caption\x18\x03 \x01(\x08\x12$\n\x0c\x65lement_type\x18\x04 \x01(\x0e\x32\x0e.Markdown.Type\x12\x0c\n\x04help\x18\x05 \x01(\t\"R\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x0b\n\x07\x43\x41PTION\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\x12\t\n\x05LATEX\x10\x04\x12\x0b\n\x07\x44IVIDER\x10\x05\x42-\n\x1c\x63om.snowflake.apps.streamlitB\rMarkdownProtob\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Markdown.proto\"\xba\x01\n\x08Markdown\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12\x12\n\nallow_html\x18\x02 \x01(\x08\x12$\n\x0c\x65lement_type\x18\x04 \x01(\x0e\x32\x0e.Markdown.Type\x12\x0c\n\x04help\x18\x05 \x01(\t\"R\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06NATIVE\x10\x01\x12\x0b\n\x07\x43\x41PTION\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\x12\t\n\x05LATEX\x10\x04\x12\x0b\n\x07\x44IVIDER\x10\x05J\x04\x08\x03\x10\x04\x62\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Markdown_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\rMarkdownProto'
23
+ DESCRIPTOR._loaded_options = None
25
24
  _globals['_MARKDOWN']._serialized_start=35
26
- _globals['_MARKDOWN']._serialized_end=235
27
- _globals['_MARKDOWN_TYPE']._serialized_start=153
28
- _globals['_MARKDOWN_TYPE']._serialized_end=235
25
+ _globals['_MARKDOWN']._serialized_end=221
26
+ _globals['_MARKDOWN_TYPE']._serialized_start=133
27
+ _globals['_MARKDOWN_TYPE']._serialized_end=215
29
28
  # @@protoc_insertion_point(module_scope)
@@ -62,14 +62,11 @@ class Markdown(_message.Message):
62
62
 
63
63
  BODY_FIELD_NUMBER: _builtins.int
64
64
  ALLOW_HTML_FIELD_NUMBER: _builtins.int
65
- IS_CAPTION_FIELD_NUMBER: _builtins.int
66
65
  ELEMENT_TYPE_FIELD_NUMBER: _builtins.int
67
66
  HELP_FIELD_NUMBER: _builtins.int
68
67
  body: _builtins.str
69
68
  """Content to display."""
70
69
  allow_html: _builtins.bool
71
- is_caption: _builtins.bool
72
- """TODO [Karen]: Remove this field if favor of element_type"""
73
70
  element_type: Global___Markdown.Type.ValueType
74
71
  help: _builtins.str
75
72
  def __init__(
@@ -77,11 +74,10 @@ class Markdown(_message.Message):
77
74
  *,
78
75
  body: _builtins.str = ...,
79
76
  allow_html: _builtins.bool = ...,
80
- is_caption: _builtins.bool = ...,
81
77
  element_type: Global___Markdown.Type.ValueType = ...,
82
78
  help: _builtins.str = ...,
83
79
  ) -> None: ...
84
- _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help", "is_caption", b"is_caption"] # noqa: Y015
80
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help"] # noqa: Y015
85
81
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
86
82
 
87
83
  Global___Markdown: _TypeAlias = Markdown # noqa: Y015
@@ -12,23 +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\x1cstreamlit/proto/Metric.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xe6\x03\n\x06Metric\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x03 \x01(\t\x12*\n\tdirection\x18\x04 \x01(\x0e\x32\x17.Metric.MetricDirection\x12\"\n\x05\x63olor\x18\x05 \x01(\x0e\x32\x13.Metric.MetricColor\x12\x0c\n\x04help\x18\x06 \x01(\t\x12\x31\n\x10label_visibility\x18\x07 \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bshow_border\x18\x08 \x01(\x08\x12\x12\n\nchart_data\x18\t \x03(\x01\x12%\n\nchart_type\x18\n \x01(\x0e\x32\x11.Metric.ChartType\x12\x0e\n\x06\x66ormat\x18\x0b \x01(\t\"-\n\x0fMetricDirection\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04NONE\x10\x02\"f\n\x0bMetricColor\x12\x07\n\x03RED\x10\x00\x12\t\n\x05GREEN\x10\x01\x12\x08\n\x04GRAY\x10\x02\x12\n\n\x06ORANGE\x10\x03\x12\n\n\x06YELLOW\x10\x04\x12\x08\n\x04\x42LUE\x10\x05\x12\n\n\x06VIOLET\x10\x06\x12\x0b\n\x07PRIMARY\x10\x07\"(\n\tChartType\x12\x08\n\x04LINE\x10\x00\x12\x07\n\x03\x42\x41R\x10\x01\x12\x08\n\x04\x41REA\x10\x02\x42+\n\x1c\x63om.snowflake.apps.streamlitB\x0bMetricProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Metric.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xdf\x03\n\x06Metric\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x03 \x01(\t\x12*\n\tdirection\x18\x04 \x01(\x0e\x32\x17.Metric.MetricDirection\x12\"\n\x05\x63olor\x18\x05 \x01(\x0e\x32\x13.Metric.MetricColor\x12\x0c\n\x04help\x18\x06 \x01(\t\x12*\n\x10label_visibility\x18\x07 \x01(\x0b\x32\x10.LabelVisibility\x12\x13\n\x0bshow_border\x18\x08 \x01(\x08\x12\x12\n\nchart_data\x18\t \x03(\x01\x12%\n\nchart_type\x18\n \x01(\x0e\x32\x11.Metric.ChartType\x12\x0e\n\x06\x66ormat\x18\x0b \x01(\t\"-\n\x0fMetricDirection\x12\x08\n\x04\x44OWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04NONE\x10\x02\"f\n\x0bMetricColor\x12\x07\n\x03RED\x10\x00\x12\t\n\x05GREEN\x10\x01\x12\x08\n\x04GRAY\x10\x02\x12\n\n\x06ORANGE\x10\x03\x12\n\n\x06YELLOW\x10\x04\x12\x08\n\x04\x42LUE\x10\x05\x12\n\n\x06VIOLET\x10\x06\x12\x0b\n\x07PRIMARY\x10\x07\"(\n\tChartType\x12\x08\n\x04LINE\x10\x00\x12\x07\n\x03\x42\x41R\x10\x01\x12\x08\n\x04\x41REA\x10\x02\x62\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Metric_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\013MetricProto'
26
- _globals['_METRIC']._serialized_start=79
27
- _globals['_METRIC']._serialized_end=565
28
- _globals['_METRIC_METRICDIRECTION']._serialized_start=374
29
- _globals['_METRIC_METRICDIRECTION']._serialized_end=419
30
- _globals['_METRIC_METRICCOLOR']._serialized_start=421
31
- _globals['_METRIC_METRICCOLOR']._serialized_end=523
32
- _globals['_METRIC_CHARTTYPE']._serialized_start=525
33
- _globals['_METRIC_CHARTTYPE']._serialized_end=565
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_METRIC']._serialized_start=72
26
+ _globals['_METRIC']._serialized_end=551
27
+ _globals['_METRIC_METRICDIRECTION']._serialized_start=360
28
+ _globals['_METRIC_METRICDIRECTION']._serialized_end=405
29
+ _globals['_METRIC_METRICCOLOR']._serialized_start=407
30
+ _globals['_METRIC_METRICCOLOR']._serialized_end=509
31
+ _globals['_METRIC_CHARTTYPE']._serialized_start=511
32
+ _globals['_METRIC_CHARTTYPE']._serialized_end=551
34
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
@@ -115,7 +115,7 @@ class Metric(_message.Message):
115
115
  format: _builtins.str
116
116
  """Format string for the value and delta (applied only if they are numeric)."""
117
117
  @_builtins.property
118
- def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
118
+ def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
119
119
  @_builtins.property
120
120
  def chart_data(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ...
121
121
  def __init__(
@@ -127,7 +127,7 @@ class Metric(_message.Message):
127
127
  direction: Global___Metric.MetricDirection.ValueType = ...,
128
128
  color: Global___Metric.MetricColor.ValueType = ...,
129
129
  help: _builtins.str = ...,
130
- label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
130
+ label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
131
131
  show_border: _builtins.bool = ...,
132
132
  chart_data: _abc.Iterable[_builtins.float] | None = ...,
133
133
  chart_type: Global___Metric.ChartType.ValueType = ...,
@@ -15,14 +15,13 @@ _sym_db = _symbol_database.Default()
15
15
  from streamlit.proto import PageProfile_pb2 as streamlit_dot_proto_dot_PageProfile__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/MetricsEvent.proto\x1a!streamlit/proto/PageProfile.proto\"\xd4\x07\n\x0cMetricsEvent\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0c\x61nonymous_id\x18\x02 \x01(\t\x12\x15\n\rmachine_id_v3\x18\x03 \x01(\t\x12\x15\n\rmachine_id_v4\x18) \x01(\t\x12\x13\n\x0breport_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x64\x65v\x18\x05 \x01(\x08\x12\x0e\n\x06source\x18\x06 \x01(\t\x12\x19\n\x11streamlit_version\x18\x07 \x01(\t\x12\x10\n\x08is_hello\x18\x08 \x01(\x08\x12\x0e\n\x06\x61pp_id\x18! \x01(\t\x12\x12\n\nsession_id\x18# \x01(\t\x12\x16\n\x0epython_version\x18$ \x01(\t\x12\x11\n\tserver_os\x18* \x01(\t\x12\x13\n\x0bhas_display\x18+ \x01(\x08\x12\x14\n\x0cis_webdriver\x18, \x01(\x08\x12\x11\n\thosted_at\x18\t \x01(\t\x12\r\n\x05owner\x18\n \x01(\t\x12\x0c\n\x04repo\x18\x0b \x01(\t\x12\x0e\n\x06\x62ranch\x18\x0c \x01(\t\x12\x13\n\x0bmain_module\x18\r \x01(\t\x12\x12\n\ncreator_id\x18\x0e \x01(\t\x12\x18\n\x10\x63ontext_page_url\x18\x0f \x01(\t\x12\x1a\n\x12\x63ontext_page_title\x18\x10 \x01(\t\x12\x19\n\x11\x63ontext_page_path\x18\x11 \x01(\t\x12\x1d\n\x15\x63ontext_page_referrer\x18\x12 \x01(\t\x12\x1b\n\x13\x63ontext_page_search\x18\x13 \x01(\t\x12\x16\n\x0e\x63ontext_locale\x18\x14 \x01(\t\x12\x1a\n\x12\x63ontext_user_agent\x18\x15 \x01(\t\x12\r\n\x05label\x18\x16 \x01(\t\x12\x1a\n\x08\x63ommands\x18\x17 \x03(\x0b\x32\x08.Command\x12\x11\n\texec_time\x18\x18 \x01(\x03\x12\x11\n\tprep_time\x18\x19 \x01(\x03\x12\x0e\n\x06\x63onfig\x18\x1a \x03(\t\x12\x1a\n\x12uncaught_exception\x18\x1b \x01(\t\x12\x14\n\x0c\x61ttributions\x18\x1c \x03(\t\x12\n\n\x02os\x18\x1d \x01(\t\x12\x10\n\x08timezone\x18\x1e \x01(\t\x12\x10\n\x08headless\x18\x1f \x01(\x08\x12\x17\n\x0fis_fragment_run\x18 \x01(\x08\x12\x10\n\x08numPages\x18\" \x01(\x03\x12\x18\n\x10page_script_hash\x18% \x01(\t\x12\x14\n\x0c\x61\x63tive_theme\x18& \x01(\t\x12\x17\n\x0ftotal_load_time\x18\' \x01(\x03\x12\"\n\x0c\x62rowser_info\x18( \x01(\x0b\x32\x0c.BrowserInfo\x12\x13\n\x0bserver_mode\x18- \x01(\t\"]\n\x0b\x42rowserInfo\x12\x14\n\x0c\x62rowser_name\x18\x01 \x01(\t\x12\x17\n\x0f\x62rowser_version\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x03 \x01(\t\x12\n\n\x02os\x18\x04 \x01(\tB1\n\x1c\x63om.snowflake.apps.streamlitB\x11MetricsEventProtob\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/MetricsEvent.proto\x1a!streamlit/proto/PageProfile.proto\"\xd4\x07\n\x0cMetricsEvent\x12\r\n\x05\x65vent\x18\x01 \x01(\t\x12\x14\n\x0c\x61nonymous_id\x18\x02 \x01(\t\x12\x15\n\rmachine_id_v3\x18\x03 \x01(\t\x12\x15\n\rmachine_id_v4\x18) \x01(\t\x12\x13\n\x0breport_hash\x18\x04 \x01(\t\x12\x0b\n\x03\x64\x65v\x18\x05 \x01(\x08\x12\x0e\n\x06source\x18\x06 \x01(\t\x12\x19\n\x11streamlit_version\x18\x07 \x01(\t\x12\x10\n\x08is_hello\x18\x08 \x01(\x08\x12\x0e\n\x06\x61pp_id\x18! \x01(\t\x12\x12\n\nsession_id\x18# \x01(\t\x12\x16\n\x0epython_version\x18$ \x01(\t\x12\x11\n\tserver_os\x18* \x01(\t\x12\x13\n\x0bhas_display\x18+ \x01(\x08\x12\x14\n\x0cis_webdriver\x18, \x01(\x08\x12\x11\n\thosted_at\x18\t \x01(\t\x12\r\n\x05owner\x18\n \x01(\t\x12\x0c\n\x04repo\x18\x0b \x01(\t\x12\x0e\n\x06\x62ranch\x18\x0c \x01(\t\x12\x13\n\x0bmain_module\x18\r \x01(\t\x12\x12\n\ncreator_id\x18\x0e \x01(\t\x12\x18\n\x10\x63ontext_page_url\x18\x0f \x01(\t\x12\x1a\n\x12\x63ontext_page_title\x18\x10 \x01(\t\x12\x19\n\x11\x63ontext_page_path\x18\x11 \x01(\t\x12\x1d\n\x15\x63ontext_page_referrer\x18\x12 \x01(\t\x12\x1b\n\x13\x63ontext_page_search\x18\x13 \x01(\t\x12\x16\n\x0e\x63ontext_locale\x18\x14 \x01(\t\x12\x1a\n\x12\x63ontext_user_agent\x18\x15 \x01(\t\x12\r\n\x05label\x18\x16 \x01(\t\x12\x1a\n\x08\x63ommands\x18\x17 \x03(\x0b\x32\x08.Command\x12\x11\n\texec_time\x18\x18 \x01(\x03\x12\x11\n\tprep_time\x18\x19 \x01(\x03\x12\x0e\n\x06\x63onfig\x18\x1a \x03(\t\x12\x1a\n\x12uncaught_exception\x18\x1b \x01(\t\x12\x14\n\x0c\x61ttributions\x18\x1c \x03(\t\x12\n\n\x02os\x18\x1d \x01(\t\x12\x10\n\x08timezone\x18\x1e \x01(\t\x12\x10\n\x08headless\x18\x1f \x01(\x08\x12\x17\n\x0fis_fragment_run\x18 \x01(\x08\x12\x10\n\x08numPages\x18\" \x01(\x03\x12\x18\n\x10page_script_hash\x18% \x01(\t\x12\x14\n\x0c\x61\x63tive_theme\x18& \x01(\t\x12\x17\n\x0ftotal_load_time\x18\' \x01(\x03\x12\"\n\x0c\x62rowser_info\x18( \x01(\x0b\x32\x0c.BrowserInfo\x12\x13\n\x0bserver_mode\x18- \x01(\t\"]\n\x0b\x42rowserInfo\x12\x14\n\x0c\x62rowser_name\x18\x01 \x01(\t\x12\x17\n\x0f\x62rowser_version\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x03 \x01(\t\x12\n\n\x02os\x18\x04 \x01(\tb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.MetricsEvent_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\021MetricsEventProto'
24
+ DESCRIPTOR._loaded_options = None
26
25
  _globals['_METRICSEVENT']._serialized_start=74
27
26
  _globals['_METRICSEVENT']._serialized_end=1054
28
27
  _globals['_BROWSERINFO']._serialized_start=1056