streamlit-nightly 1.52.3.dev20260112__py3-none-any.whl → 1.53.1.dev20260114__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 (225) hide show
  1. streamlit/__init__.py +1 -1
  2. streamlit/auth_util.py +1 -1
  3. streamlit/cli_util.py +1 -1
  4. streamlit/commands/logo.py +2 -0
  5. streamlit/commands/page_config.py +16 -16
  6. streamlit/components/v2/__init__.py +2 -2
  7. streamlit/components/v2/bidi_component/main.py +2 -2
  8. streamlit/connections/base_connection.py +16 -4
  9. streamlit/connections/snowflake_connection.py +255 -206
  10. streamlit/dataframe_util.py +1 -3
  11. streamlit/elements/arrow.py +5 -1
  12. streamlit/elements/form.py +2 -2
  13. streamlit/elements/lib/color_util.py +1 -1
  14. streamlit/elements/lib/image_utils.py +1 -1
  15. streamlit/elements/metric.py +49 -48
  16. streamlit/elements/vega_charts.py +4 -1
  17. streamlit/elements/widgets/button.py +9 -9
  18. streamlit/elements/widgets/chat.py +5 -9
  19. streamlit/elements/widgets/data_editor.py +3 -3
  20. streamlit/elements/widgets/file_uploader.py +10 -11
  21. streamlit/elements/widgets/multiselect.py +1 -1
  22. streamlit/elements/widgets/select_slider.py +4 -0
  23. streamlit/elements/widgets/time_widgets.py +1 -1
  24. streamlit/elements/write.py +1 -2
  25. streamlit/errors.py +2 -0
  26. streamlit/external/langchain/streamlit_callback_handler.py +1 -1
  27. streamlit/proto/Alert_pb2.pyi +31 -31
  28. streamlit/proto/AppPage_pb2.pyi +30 -30
  29. streamlit/proto/ArrowData_pb2.pyi +15 -15
  30. streamlit/proto/ArrowNamedDataSet_pb2.pyi +25 -25
  31. streamlit/proto/ArrowVegaLiteChart_pb2.pyi +45 -45
  32. streamlit/proto/Arrow_pb2.pyi +126 -97
  33. streamlit/proto/AudioInput_pb2.pyi +39 -39
  34. streamlit/proto/Audio_pb2.pyi +39 -39
  35. streamlit/proto/AuthRedirect_pb2.pyi +15 -15
  36. streamlit/proto/AutoRerun_pb2.pyi +18 -18
  37. streamlit/proto/BackMsg_pb2.pyi +64 -64
  38. streamlit/proto/Balloons_pb2.pyi +15 -15
  39. streamlit/proto/BidiComponent_pb2.pyi +100 -100
  40. streamlit/proto/Block_pb2.pyi +295 -264
  41. streamlit/proto/BokehChart_pb2.pyi +21 -21
  42. streamlit/proto/ButtonGroup_pb2.pyi +96 -96
  43. streamlit/proto/ButtonLikeIconPosition_pb2.pyi +12 -12
  44. streamlit/proto/Button_pb2.pyi +63 -50
  45. streamlit/proto/CameraInput_pb2.pyi +34 -34
  46. streamlit/proto/ChatInput_pb2.pyi +63 -63
  47. streamlit/proto/Checkbox_pb2.pyi +49 -49
  48. streamlit/proto/ClientState_pb2.pyi +85 -85
  49. streamlit/proto/Code_pb2.pyi +41 -28
  50. streamlit/proto/ColorPicker_pb2.pyi +43 -43
  51. streamlit/proto/Common_pb2.pyi +175 -175
  52. streamlit/proto/Components_pb2.pyi +110 -110
  53. streamlit/proto/DataFrame_pb2.pyi +209 -209
  54. streamlit/proto/DateInput_pb2.pyi +59 -59
  55. streamlit/proto/DateTimeInput_pb2.pyi +62 -62
  56. streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -56
  57. streamlit/proto/Delta_pb2.pyi +44 -44
  58. streamlit/proto/DocString_pb2.pyi +51 -51
  59. streamlit/proto/DownloadButton_pb2.pyi +59 -59
  60. streamlit/proto/Element_pb2.pyi +319 -319
  61. streamlit/proto/Empty_pb2.pyi +10 -10
  62. streamlit/proto/Exception_pb2.pyi +37 -37
  63. streamlit/proto/Favicon_pb2.pyi +15 -15
  64. streamlit/proto/FileUploader_pb2.pyi +49 -49
  65. streamlit/proto/ForwardMsg_pb2.pyi +176 -170
  66. streamlit/proto/GapSize_pb2.pyi +23 -23
  67. streamlit/proto/GitInfo_pb2.pyi +37 -37
  68. streamlit/proto/GraphVizChart_pb2.pyi +38 -25
  69. streamlit/proto/Heading_pb2.pyi +30 -30
  70. streamlit/proto/HeightConfig_pb2.pyi +31 -31
  71. streamlit/proto/Html_pb2.pyi +18 -18
  72. streamlit/proto/IFrame_pb2.pyi +76 -47
  73. streamlit/proto/Image_pb2.pyi +49 -36
  74. streamlit/proto/Json_pb2.pyi +25 -25
  75. streamlit/proto/LabelVisibilityMessage_pb2.pyi +18 -18
  76. streamlit/proto/LinkButton_pb2.pyi +43 -43
  77. streamlit/proto/Logo_pb2.pyi +24 -24
  78. streamlit/proto/Markdown_pb2.pyi +30 -30
  79. streamlit/proto/Metric_pb2.pyi +59 -59
  80. streamlit/proto/MetricsEvent_pb2.pyi +171 -171
  81. streamlit/proto/MultiSelect_pb2.pyi +72 -66
  82. streamlit/proto/NamedDataSet_pb2.pyi +25 -25
  83. streamlit/proto/Navigation_pb2.pyi +35 -35
  84. streamlit/proto/NewSession_pb2.pyi +511 -498
  85. streamlit/proto/NumberInput_pb2.pyi +79 -79
  86. streamlit/proto/PageConfig_pb2.pyi +71 -71
  87. streamlit/proto/PageInfo_pb2.pyi +15 -15
  88. streamlit/proto/PageLink_pb2.pyi +47 -47
  89. streamlit/proto/PageNotFound_pb2.pyi +15 -15
  90. streamlit/proto/PageProfile_pb2.pyi +85 -85
  91. streamlit/proto/PagesChanged_pb2.pyi +19 -19
  92. streamlit/proto/ParentMessage_pb2.pyi +15 -15
  93. streamlit/proto/PlotlyChart_pb2.pyi +79 -64
  94. streamlit/proto/Progress_pb2.pyi +18 -18
  95. streamlit/proto/Radio_pb2.pyi +62 -62
  96. streamlit/proto/RootContainer_pb2.pyi +12 -12
  97. streamlit/proto/Selectbox_pb2.pyi +80 -70
  98. streamlit/proto/SessionEvent_pb2.pyi +27 -27
  99. streamlit/proto/SessionStatus_pb2.pyi +18 -18
  100. streamlit/proto/Skeleton_pb2.pyi +25 -25
  101. streamlit/proto/Slider_pb2.pyi +74 -74
  102. streamlit/proto/Snow_pb2.pyi +15 -15
  103. streamlit/proto/Space_pb2.pyi +10 -10
  104. streamlit/proto/Spinner_pb2.pyi +21 -21
  105. streamlit/proto/TextAlignmentConfig_pb2.pyi +18 -18
  106. streamlit/proto/TextArea_pb2.pyi +72 -59
  107. streamlit/proto/TextInput_pb2.pyi +67 -67
  108. streamlit/proto/Text_pb2.pyi +18 -18
  109. streamlit/proto/TimeInput_pb2.pyi +52 -52
  110. streamlit/proto/Toast_pb2.pyi +25 -25
  111. streamlit/proto/Transient_pb2.pyi +19 -19
  112. streamlit/proto/VegaLiteChart_pb2.pyi +32 -32
  113. streamlit/proto/Video_pb2.pyi +65 -65
  114. streamlit/proto/WidgetStates_pb2.pyi +91 -85
  115. streamlit/proto/WidthConfig_pb2.pyi +31 -31
  116. streamlit/proto/openmetrics_data_model_pb2.pyi +269 -269
  117. streamlit/runtime/app_session.py +1 -1
  118. streamlit/runtime/caching/cache_data_api.py +25 -21
  119. streamlit/runtime/caching/cache_resource_api.py +69 -41
  120. streamlit/runtime/connection_factory.py +67 -41
  121. streamlit/runtime/credentials.py +2 -2
  122. streamlit/runtime/metrics_util.py +3 -3
  123. streamlit/runtime/secrets.py +1 -1
  124. streamlit/runtime/stats.py +1 -3
  125. streamlit/static/index.html +1 -1
  126. streamlit/static/manifest.json +304 -304
  127. streamlit/static/static/js/{ErrorOutline.esm.BjVqd_6R.js → ErrorOutline.esm.BAZUU4id.js} +1 -1
  128. streamlit/static/static/js/{FileDownload.esm.DJCSsghl.js → FileDownload.esm.C6tTTniR.js} +1 -1
  129. streamlit/static/static/js/{FileHelper.C---TH7o.js → FileHelper.BOHlwlc9.js} +1 -1
  130. streamlit/static/static/js/{FormClearHelper.C-6BC487.js → FormClearHelper.D4lty7rT.js} +1 -1
  131. streamlit/static/static/js/{InputInstructions.sxc3InCI.js → InputInstructions.BWw9lhud.js} +1 -1
  132. streamlit/static/static/js/{Particles.S8yD7iW-.js → Particles.BDi7fIn-.js} +1 -1
  133. streamlit/static/static/js/{ProgressBar.BiYsyZCC.js → ProgressBar.DCHh4N3P.js} +1 -1
  134. streamlit/static/static/js/{StreamlitSyntaxHighlighter.9jZF8jX1.js → StreamlitSyntaxHighlighter.BRydQwEj.js} +1 -1
  135. streamlit/static/static/js/{TableChart.esm.BdA4Q1rZ.js → TableChart.esm.7KFX5I_G.js} +1 -1
  136. streamlit/static/static/js/{Toolbar.B9DaaDfN.js → Toolbar.guIuiwEF.js} +1 -1
  137. streamlit/static/static/js/{WidgetLabelHelpIconInline.DxODTLS2.js → WidgetLabelHelpIconInline.CzodezAH.js} +1 -1
  138. streamlit/static/static/js/{base-input.Gf1cKuQR.js → base-input.Cg7NpsfS.js} +1 -1
  139. streamlit/static/static/js/{checkbox.CnoNruf3.js → checkbox.Bs20OTna.js} +1 -1
  140. streamlit/static/static/js/{createDownloadLinkElement.B48AepiL.js → createDownloadLinkElement.DSqCyu38.js} +1 -1
  141. streamlit/static/static/js/{data-grid-overlay-editor.Cmdq9aqU.js → data-grid-overlay-editor.Ch4SqNfY.js} +1 -1
  142. streamlit/static/static/js/{downloader.CQLoQdMX.js → downloader.Oj5CTGJA.js} +1 -1
  143. streamlit/static/static/js/{embed.oKwocwU8.js → embed.CqzzUq73.js} +1 -1
  144. streamlit/static/static/js/{es6.BRxlY_y5.js → es6.CYrlw0Vn.js} +2 -2
  145. streamlit/static/static/js/{formatNumber.DaagZyZe.js → formatNumber.CT_v8e75.js} +1 -1
  146. streamlit/static/static/js/{iconPosition.Q3hNvmK4.js → iconPosition.DPAvXTmd.js} +1 -1
  147. streamlit/static/static/js/{iframeResizer.contentWindow.B6EBvI9L.js → iframeResizer.contentWindow.T4DvQsIf.js} +1 -1
  148. streamlit/static/static/js/{index.BoX8d5rK.js → index.AGYZDQZm.js} +1 -1
  149. streamlit/static/static/js/{index.KtjGDGY5.js → index.B3HdcUdo.js} +1 -1
  150. streamlit/static/static/js/{index.B9kZB0o1.js → index.B8ZZdPqF.js} +1 -1
  151. streamlit/static/static/js/{index.CFCBhOfx.js → index.B9Oowxt8.js} +1 -1
  152. streamlit/static/static/js/{index.CCQ5p_WC.js → index.BEzgNZOm.js} +1 -1
  153. streamlit/static/static/js/{index.D1pK_Vw2.js → index.BJnWg9Jq.js} +1 -1
  154. streamlit/static/static/js/{index.na9UBuse.js → index.BPxuKK0S.js} +1 -1
  155. streamlit/static/static/js/{index.QTaWooav.js → index.BTA0d5oq.js} +1 -1
  156. streamlit/static/static/js/{index.pU9mQeVC.js → index.BTqav7_K.js} +1 -1
  157. streamlit/static/static/js/{index.BXEC4cf3.js → index.BZ8xp-w9.js} +1 -1
  158. streamlit/static/static/js/{index.BF23fbfs.js → index.BoWBzl6h.js} +1 -1
  159. streamlit/static/static/js/index.Bqgt60FU.js +1 -0
  160. streamlit/static/static/js/{index.Dh5SAThV.js → index.BsYYrijt.js} +1 -1
  161. streamlit/static/static/js/{index.19_qtO6t.js → index.CGRIbGGV.js} +1 -1
  162. streamlit/static/static/js/{index.CSfsEKCF.js → index.CJQq5LcR.js} +1 -1
  163. streamlit/static/static/js/{index.Fu73QtkD.js → index.CPYB1awG.js} +1 -1
  164. streamlit/static/static/js/{index.BzwlrgZO.js → index.CVKk1nkB.js} +1 -1
  165. streamlit/static/static/js/{index.B03eQZoH.js → index.CVXiBeDI.js} +1 -1
  166. streamlit/static/static/js/{index.BRfGUOQ-.js → index.CXVpBAvU.js} +4 -4
  167. streamlit/static/static/js/{index.slgxPafU.js → index.Cfe-tCQJ.js} +1 -1
  168. streamlit/static/static/js/{index.D6X2coHR.js → index.ClFk8x0U.js} +1 -1
  169. streamlit/static/static/js/{index.WXybx2Xq.js → index.CnXxoVEM.js} +1 -1
  170. streamlit/static/static/js/{index.j4fnjyHo.js → index.Cw4eSvJ7.js} +1 -1
  171. streamlit/static/static/js/{index.KN1VmyYN.js → index.D6HCANv6.js} +1 -1
  172. streamlit/static/static/js/{index.CP-hoxJM.js → index.D7KbBAWb.js} +1 -1
  173. streamlit/static/static/js/{index.CCFwVy90.js → index.D84XHt50.js} +1 -1
  174. streamlit/static/static/js/{index.BkSwGJoh.js → index.DL_Ooizi.js} +1 -1
  175. streamlit/static/static/js/{index.QHnxuesF.js → index.DNyw7S7Z.js} +1 -1
  176. streamlit/static/static/js/{index.BAI9aHCq.js → index.DPlPEuq6.js} +1 -1
  177. streamlit/static/static/js/{index.CJ4oJe0V.js → index.DQzRwgrT.js} +1 -1
  178. streamlit/static/static/js/{index.CVlg41MB.js → index.DXRGd--0.js} +1 -1
  179. streamlit/static/static/js/{index.CIbgt5wY.js → index.DZDt5hYD.js} +1 -1
  180. streamlit/static/static/js/{index.BVT89mQw.js → index.DesNeXSA.js} +1 -1
  181. streamlit/static/static/js/{index.Boa0Egng.js → index.Dg9k4R8B.js} +1 -1
  182. streamlit/static/static/js/{index.43b777iP.js → index.Do9A7QCt.js} +1 -1
  183. streamlit/static/static/js/{index.DJ7P09eb.js → index.DrSH3pK3.js} +1 -1
  184. streamlit/static/static/js/{index.OpATzEaW.js → index.Dtd5z2rM.js} +1 -1
  185. streamlit/static/static/js/{index.BnfTPrHb.js → index.DzldU3Hy.js} +1 -1
  186. streamlit/static/static/js/{index.C0fSEz-3.js → index.GZi6GTJa.js} +1 -1
  187. streamlit/static/static/js/{index.CYE7b5Du.js → index.LOA31DFn.js} +1 -1
  188. streamlit/static/static/js/{index.Ca7MUNWJ.js → index.MtwRNvlS.js} +1 -1
  189. streamlit/static/static/js/{index.BbSFVZ3p.js → index.XHtvnZ0-.js} +1 -1
  190. streamlit/static/static/js/{index.CvIqsWy1.js → index.Yj6vcyFD.js} +1 -1
  191. streamlit/static/static/js/{index.BGBTkulf.js → index.b-MrPulo.js} +1 -1
  192. streamlit/static/static/js/{index.DGYHxruh.js → index.hcUYvTqs.js} +1 -1
  193. streamlit/static/static/js/{index.CvB9JBqS.js → index.tLZuZM89.js} +6 -6
  194. streamlit/static/static/js/{index.Xg-Qttib.js → index.wngeYhKj.js} +1 -1
  195. streamlit/static/static/js/{index.whRT3Vm3.js → index.xCV2qwtw.js} +1 -1
  196. streamlit/static/static/js/{input.CPzINTl-.js → input.CYXuTqoa.js} +1 -1
  197. streamlit/static/static/js/{main.DSPn8dUe.js → main.BE-siVKv.js} +1 -1
  198. streamlit/static/static/js/{memory.CfD8IGoU.js → memory.V554ztRg.js} +1 -1
  199. streamlit/static/static/js/{number-overlay-editor.4Ae0qegV.js → number-overlay-editor.BiUTOXIl.js} +1 -1
  200. streamlit/static/static/js/{pandasStylerUtils.D2EjZ7k6.js → pandasStylerUtils.Dej3Tstq.js} +1 -1
  201. streamlit/static/static/js/{sandbox.C6vcPIm0.js → sandbox.gpd7KGMo.js} +1 -1
  202. streamlit/static/static/js/{styled-components.BBmp8buj.js → styled-components.Coj4dr6D.js} +1 -1
  203. streamlit/static/static/js/{throttle.BPcPpy-S.js → throttle.gZUdtYp7.js} +1 -1
  204. streamlit/static/static/js/{timepicker.ryzkTs2C.js → timepicker.B-Y4aU15.js} +1 -1
  205. streamlit/static/static/js/{toConsumableArray.Dg1nDaB_.js → toConsumableArray.CcKcKvEd.js} +1 -1
  206. streamlit/static/static/js/uniqueId.PRn3V1WU.js +1 -0
  207. streamlit/static/static/js/{useBasicWidgetState.A4U5lzAm.js → useBasicWidgetState.D-fc_aIL.js} +1 -1
  208. streamlit/static/static/js/{useIntlLocale.DWJgLlNz.js → useIntlLocale.CY32IeNt.js} +1 -1
  209. streamlit/static/static/js/{useTextInputAutoExpand.BrBonw8t.js → useTextInputAutoExpand.C0jK7TwF.js} +1 -1
  210. streamlit/static/static/js/{useUpdateUiValue.BkOWyNVX.js → useUpdateUiValue.CDQloDgB.js} +1 -1
  211. streamlit/static/static/js/{useWaveformController.CBlvXlgZ.js → useWaveformController.BLEIAIDo.js} +1 -1
  212. streamlit/static/static/js/{withCalculatedWidth.D4cpOyNe.js → withCalculatedWidth.B3oSlRC0.js} +1 -1
  213. streamlit/static/static/js/{withFullScreenWrapper.BMim3w94.js → withFullScreenWrapper.Cw_ebNmr.js} +1 -1
  214. streamlit/testing/v1/app_test.py +1 -1
  215. streamlit/user_info.py +225 -166
  216. streamlit/web/server/starlette/starlette_routes.py +1 -3
  217. streamlit/web/server/stats_request_handler.py +1 -3
  218. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/METADATA +1 -1
  219. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/RECORD +223 -223
  220. streamlit/static/static/js/index.CrPjcPY1.js +0 -1
  221. streamlit/static/static/js/uniqueId.BFHzT5KQ.js +0 -1
  222. {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.53.1.dev20260114.data}/scripts/streamlit.cmd +0 -0
  223. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/WHEEL +0 -0
  224. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/entry_points.txt +0 -0
  225. {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/top_level.txt +0 -0
@@ -17,31 +17,31 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import google.protobuf.descriptor
22
- import google.protobuf.internal.enum_type_wrapper
23
- import google.protobuf.message
24
- import streamlit.proto.LabelVisibilityMessage_pb2
20
+ from google.protobuf import descriptor as _descriptor
21
+ from google.protobuf import message as _message
22
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
23
+ from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
24
+ import builtins as _builtins
25
25
  import sys
26
- import typing
26
+ import typing as _typing
27
27
 
28
28
  if sys.version_info >= (3, 10):
29
- import typing as typing_extensions
29
+ from typing import TypeAlias as _TypeAlias
30
30
  else:
31
- import typing_extensions
31
+ from typing_extensions import TypeAlias as _TypeAlias
32
32
 
33
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
33
+ DESCRIPTOR: _descriptor.FileDescriptor
34
34
 
35
- @typing.final
36
- class TextInput(google.protobuf.message.Message):
37
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
35
+ @_typing.final
36
+ class TextInput(_message.Message):
37
+ DESCRIPTOR: _descriptor.Descriptor
38
38
 
39
39
  class _Type:
40
- ValueType = typing.NewType("ValueType", builtins.int)
41
- V: typing_extensions.TypeAlias = ValueType
40
+ ValueType = _typing.NewType("ValueType", _builtins.int)
41
+ V: _TypeAlias = ValueType # noqa: Y015
42
42
 
43
- class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TextInput._Type.ValueType], builtins.type):
44
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
43
+ class _TypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[TextInput._Type.ValueType], _builtins.type):
44
+ DESCRIPTOR: _descriptor.EnumDescriptor
45
45
  DEFAULT: TextInput._Type.ValueType # 0
46
46
  """A normal text input."""
47
47
  PASSWORD: TextInput._Type.ValueType # 1
@@ -53,64 +53,64 @@ class TextInput(google.protobuf.message.Message):
53
53
  PASSWORD: TextInput.Type.ValueType # 1
54
54
  """A password text input. Typed values are obscured by default."""
55
55
 
56
- ID_FIELD_NUMBER: builtins.int
57
- LABEL_FIELD_NUMBER: builtins.int
58
- DEFAULT_FIELD_NUMBER: builtins.int
59
- TYPE_FIELD_NUMBER: builtins.int
60
- MAX_CHARS_FIELD_NUMBER: builtins.int
61
- HELP_FIELD_NUMBER: builtins.int
62
- FORM_ID_FIELD_NUMBER: builtins.int
63
- VALUE_FIELD_NUMBER: builtins.int
64
- SET_VALUE_FIELD_NUMBER: builtins.int
65
- AUTOCOMPLETE_FIELD_NUMBER: builtins.int
66
- PLACEHOLDER_FIELD_NUMBER: builtins.int
67
- DISABLED_FIELD_NUMBER: builtins.int
68
- LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
69
- ICON_FIELD_NUMBER: builtins.int
70
- id: builtins.str
71
- label: builtins.str
72
- default: builtins.str
56
+ ID_FIELD_NUMBER: _builtins.int
57
+ LABEL_FIELD_NUMBER: _builtins.int
58
+ DEFAULT_FIELD_NUMBER: _builtins.int
59
+ TYPE_FIELD_NUMBER: _builtins.int
60
+ MAX_CHARS_FIELD_NUMBER: _builtins.int
61
+ HELP_FIELD_NUMBER: _builtins.int
62
+ FORM_ID_FIELD_NUMBER: _builtins.int
63
+ VALUE_FIELD_NUMBER: _builtins.int
64
+ SET_VALUE_FIELD_NUMBER: _builtins.int
65
+ AUTOCOMPLETE_FIELD_NUMBER: _builtins.int
66
+ PLACEHOLDER_FIELD_NUMBER: _builtins.int
67
+ DISABLED_FIELD_NUMBER: _builtins.int
68
+ LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
69
+ ICON_FIELD_NUMBER: _builtins.int
70
+ id: _builtins.str
71
+ label: _builtins.str
72
+ default: _builtins.str
73
73
  type: Global___TextInput.Type.ValueType
74
- max_chars: builtins.int
75
- help: builtins.str
76
- form_id: builtins.str
77
- value: builtins.str
78
- set_value: builtins.bool
79
- autocomplete: builtins.str
80
- placeholder: builtins.str
81
- disabled: builtins.bool
82
- icon: builtins.str
83
- @property
84
- def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
74
+ max_chars: _builtins.int
75
+ help: _builtins.str
76
+ form_id: _builtins.str
77
+ value: _builtins.str
78
+ set_value: _builtins.bool
79
+ autocomplete: _builtins.str
80
+ placeholder: _builtins.str
81
+ disabled: _builtins.bool
82
+ icon: _builtins.str
83
+ @_builtins.property
84
+ def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
85
85
  def __init__(
86
86
  self,
87
87
  *,
88
- id: builtins.str = ...,
89
- label: builtins.str = ...,
90
- default: builtins.str | None = ...,
88
+ id: _builtins.str = ...,
89
+ label: _builtins.str = ...,
90
+ default: _builtins.str | None = ...,
91
91
  type: Global___TextInput.Type.ValueType = ...,
92
- max_chars: builtins.int = ...,
93
- help: builtins.str = ...,
94
- form_id: builtins.str = ...,
95
- value: builtins.str | None = ...,
96
- set_value: builtins.bool = ...,
97
- autocomplete: builtins.str = ...,
98
- placeholder: builtins.str = ...,
99
- disabled: builtins.bool = ...,
100
- label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
101
- icon: builtins.str = ...,
92
+ max_chars: _builtins.int = ...,
93
+ help: _builtins.str = ...,
94
+ form_id: _builtins.str = ...,
95
+ value: _builtins.str | None = ...,
96
+ set_value: _builtins.bool = ...,
97
+ autocomplete: _builtins.str = ...,
98
+ placeholder: _builtins.str = ...,
99
+ disabled: _builtins.bool = ...,
100
+ label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
101
+ icon: _builtins.str = ...,
102
102
  ) -> None: ...
103
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]
104
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
105
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["_default", b"_default", "_value", b"_value", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value"]
103
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"] # noqa: Y015
104
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
105
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_default", b"_default", "_value", b"_value", "autocomplete", b"autocomplete", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "icon", b"icon", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "max_chars", b"max_chars", "placeholder", b"placeholder", "set_value", b"set_value", "type", b"type", "value", b"value"] # noqa: Y015
106
106
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
107
- _WhichOneofReturnType__default: typing_extensions.TypeAlias = typing.Literal["default"]
108
- _WhichOneofArgType__default: typing_extensions.TypeAlias = typing.Literal["_default", b"_default"]
109
- _WhichOneofReturnType__value: typing_extensions.TypeAlias = typing.Literal["value"]
110
- _WhichOneofArgType__value: typing_extensions.TypeAlias = typing.Literal["_value", b"_value"]
111
- @typing.overload
107
+ _WhichOneofReturnType__default: _TypeAlias = _typing.Literal["default"] # noqa: Y015
108
+ _WhichOneofArgType__default: _TypeAlias = _typing.Literal["_default", b"_default"] # noqa: Y015
109
+ _WhichOneofReturnType__value: _TypeAlias = _typing.Literal["value"] # noqa: Y015
110
+ _WhichOneofArgType__value: _TypeAlias = _typing.Literal["_value", b"_value"] # noqa: Y015
111
+ @_typing.overload
112
112
  def WhichOneof(self, oneof_group: _WhichOneofArgType__default) -> _WhichOneofReturnType__default | None: ...
113
- @typing.overload
113
+ @_typing.overload
114
114
  def WhichOneof(self, oneof_group: _WhichOneofArgType__value) -> _WhichOneofReturnType__value | None: ...
115
115
 
116
- Global___TextInput: typing_extensions.TypeAlias = TextInput
116
+ Global___TextInput: _TypeAlias = TextInput # noqa: Y015
@@ -17,37 +17,37 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import google.protobuf.descriptor
22
- import google.protobuf.message
20
+ from google.protobuf import descriptor as _descriptor
21
+ from google.protobuf import message as _message
22
+ import builtins as _builtins
23
23
  import sys
24
- import typing
24
+ import typing as _typing
25
25
 
26
26
  if sys.version_info >= (3, 10):
27
- import typing as typing_extensions
27
+ from typing import TypeAlias as _TypeAlias
28
28
  else:
29
- import typing_extensions
29
+ from typing_extensions import TypeAlias as _TypeAlias
30
30
 
31
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
31
+ DESCRIPTOR: _descriptor.FileDescriptor
32
32
 
33
- @typing.final
34
- class Text(google.protobuf.message.Message):
33
+ @_typing.final
34
+ class Text(_message.Message):
35
35
  """Preformatted text"""
36
36
 
37
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
37
+ DESCRIPTOR: _descriptor.Descriptor
38
38
 
39
- BODY_FIELD_NUMBER: builtins.int
40
- HELP_FIELD_NUMBER: builtins.int
41
- body: builtins.str
39
+ BODY_FIELD_NUMBER: _builtins.int
40
+ HELP_FIELD_NUMBER: _builtins.int
41
+ body: _builtins.str
42
42
  """Content to display."""
43
- help: builtins.str
43
+ help: _builtins.str
44
44
  def __init__(
45
45
  self,
46
46
  *,
47
- body: builtins.str = ...,
48
- help: builtins.str = ...,
47
+ body: _builtins.str = ...,
48
+ help: _builtins.str = ...,
49
49
  ) -> None: ...
50
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["body", b"body", "help", b"help"]
50
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "help", b"help"] # noqa: Y015
51
51
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
52
52
 
53
- Global___Text: typing_extensions.TypeAlias = Text
53
+ Global___Text: _TypeAlias = Text # noqa: Y015
@@ -17,70 +17,70 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import google.protobuf.descriptor
22
- import google.protobuf.message
23
- import streamlit.proto.LabelVisibilityMessage_pb2
20
+ from google.protobuf import descriptor as _descriptor
21
+ from google.protobuf import message as _message
22
+ from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
23
+ import builtins as _builtins
24
24
  import sys
25
- import typing
25
+ import typing as _typing
26
26
 
27
27
  if sys.version_info >= (3, 10):
28
- import typing as typing_extensions
28
+ from typing import TypeAlias as _TypeAlias
29
29
  else:
30
- import typing_extensions
30
+ from typing_extensions import TypeAlias as _TypeAlias
31
31
 
32
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
32
+ DESCRIPTOR: _descriptor.FileDescriptor
33
33
 
34
- @typing.final
35
- class TimeInput(google.protobuf.message.Message):
36
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
34
+ @_typing.final
35
+ class TimeInput(_message.Message):
36
+ DESCRIPTOR: _descriptor.Descriptor
37
37
 
38
- ID_FIELD_NUMBER: builtins.int
39
- LABEL_FIELD_NUMBER: builtins.int
40
- DEFAULT_FIELD_NUMBER: builtins.int
41
- HELP_FIELD_NUMBER: builtins.int
42
- FORM_ID_FIELD_NUMBER: builtins.int
43
- VALUE_FIELD_NUMBER: builtins.int
44
- SET_VALUE_FIELD_NUMBER: builtins.int
45
- DISABLED_FIELD_NUMBER: builtins.int
46
- LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
47
- STEP_FIELD_NUMBER: builtins.int
48
- id: builtins.str
49
- label: builtins.str
50
- default: builtins.str
51
- help: builtins.str
52
- form_id: builtins.str
53
- value: builtins.str
54
- set_value: builtins.bool
55
- disabled: builtins.bool
56
- step: builtins.int
57
- @property
58
- def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
38
+ ID_FIELD_NUMBER: _builtins.int
39
+ LABEL_FIELD_NUMBER: _builtins.int
40
+ DEFAULT_FIELD_NUMBER: _builtins.int
41
+ HELP_FIELD_NUMBER: _builtins.int
42
+ FORM_ID_FIELD_NUMBER: _builtins.int
43
+ VALUE_FIELD_NUMBER: _builtins.int
44
+ SET_VALUE_FIELD_NUMBER: _builtins.int
45
+ DISABLED_FIELD_NUMBER: _builtins.int
46
+ LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
47
+ STEP_FIELD_NUMBER: _builtins.int
48
+ id: _builtins.str
49
+ label: _builtins.str
50
+ default: _builtins.str
51
+ help: _builtins.str
52
+ form_id: _builtins.str
53
+ value: _builtins.str
54
+ set_value: _builtins.bool
55
+ disabled: _builtins.bool
56
+ step: _builtins.int
57
+ @_builtins.property
58
+ def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
59
59
  def __init__(
60
60
  self,
61
61
  *,
62
- id: builtins.str = ...,
63
- label: builtins.str = ...,
64
- default: builtins.str | None = ...,
65
- help: builtins.str = ...,
66
- form_id: builtins.str = ...,
67
- value: builtins.str | None = ...,
68
- set_value: builtins.bool = ...,
69
- disabled: builtins.bool = ...,
70
- label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
71
- step: builtins.int = ...,
62
+ id: _builtins.str = ...,
63
+ label: _builtins.str = ...,
64
+ default: _builtins.str | None = ...,
65
+ help: _builtins.str = ...,
66
+ form_id: _builtins.str = ...,
67
+ value: _builtins.str | None = ...,
68
+ set_value: _builtins.bool = ...,
69
+ disabled: _builtins.bool = ...,
70
+ label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
71
+ step: _builtins.int = ...,
72
72
  ) -> None: ...
73
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]
74
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
75
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "set_value", b"set_value", "step", b"step", "value", b"value"]
73
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"] # noqa: Y015
74
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
75
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "set_value", b"set_value", "step", b"step", "value", b"value"] # noqa: Y015
76
76
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
77
- _WhichOneofReturnType__default: typing_extensions.TypeAlias = typing.Literal["default"]
78
- _WhichOneofArgType__default: typing_extensions.TypeAlias = typing.Literal["_default", b"_default"]
79
- _WhichOneofReturnType__value: typing_extensions.TypeAlias = typing.Literal["value"]
80
- _WhichOneofArgType__value: typing_extensions.TypeAlias = typing.Literal["_value", b"_value"]
81
- @typing.overload
77
+ _WhichOneofReturnType__default: _TypeAlias = _typing.Literal["default"] # noqa: Y015
78
+ _WhichOneofArgType__default: _TypeAlias = _typing.Literal["_default", b"_default"] # noqa: Y015
79
+ _WhichOneofReturnType__value: _TypeAlias = _typing.Literal["value"] # noqa: Y015
80
+ _WhichOneofArgType__value: _TypeAlias = _typing.Literal["_value", b"_value"] # noqa: Y015
81
+ @_typing.overload
82
82
  def WhichOneof(self, oneof_group: _WhichOneofArgType__default) -> _WhichOneofReturnType__default | None: ...
83
- @typing.overload
83
+ @_typing.overload
84
84
  def WhichOneof(self, oneof_group: _WhichOneofArgType__value) -> _WhichOneofReturnType__value | None: ...
85
85
 
86
- Global___TimeInput: typing_extensions.TypeAlias = TimeInput
86
+ Global___TimeInput: _TypeAlias = TimeInput # noqa: Y015
@@ -17,31 +17,31 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import google.protobuf.descriptor
22
- import google.protobuf.message
20
+ from google.protobuf import descriptor as _descriptor
21
+ from google.protobuf import message as _message
22
+ import builtins as _builtins
23
23
  import sys
24
- import typing
24
+ import typing as _typing
25
25
 
26
26
  if sys.version_info >= (3, 10):
27
- import typing as typing_extensions
27
+ from typing import TypeAlias as _TypeAlias
28
28
  else:
29
- import typing_extensions
29
+ from typing_extensions import TypeAlias as _TypeAlias
30
30
 
31
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
31
+ DESCRIPTOR: _descriptor.FileDescriptor
32
32
 
33
- @typing.final
34
- class Toast(google.protobuf.message.Message):
35
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
33
+ @_typing.final
34
+ class Toast(_message.Message):
35
+ DESCRIPTOR: _descriptor.Descriptor
36
36
 
37
- BODY_FIELD_NUMBER: builtins.int
38
- ICON_FIELD_NUMBER: builtins.int
39
- DURATION_FIELD_NUMBER: builtins.int
40
- body: builtins.str
37
+ BODY_FIELD_NUMBER: _builtins.int
38
+ ICON_FIELD_NUMBER: _builtins.int
39
+ DURATION_FIELD_NUMBER: _builtins.int
40
+ body: _builtins.str
41
41
  """Display message"""
42
- icon: builtins.str
42
+ icon: _builtins.str
43
43
  """Emoji"""
44
- duration: builtins.int
44
+ duration: _builtins.int
45
45
  """The time to display the toast message in seconds.
46
46
  If not set, the toast will be displayed for 4 seconds. A value of 0
47
47
  indicates that the toast should not be automatically dismissed.
@@ -49,16 +49,16 @@ class Toast(google.protobuf.message.Message):
49
49
  def __init__(
50
50
  self,
51
51
  *,
52
- body: builtins.str = ...,
53
- icon: builtins.str = ...,
54
- duration: builtins.int | None = ...,
52
+ body: _builtins.str = ...,
53
+ icon: _builtins.str = ...,
54
+ duration: _builtins.int | None = ...,
55
55
  ) -> None: ...
56
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["_duration", b"_duration", "duration", b"duration"]
57
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
58
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["_duration", b"_duration", "body", b"body", "duration", b"duration", "icon", b"icon"]
56
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_duration", b"_duration", "duration", b"duration"] # noqa: Y015
57
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
58
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_duration", b"_duration", "body", b"body", "duration", b"duration", "icon", b"icon"] # noqa: Y015
59
59
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
60
- _WhichOneofReturnType__duration: typing_extensions.TypeAlias = typing.Literal["duration"]
61
- _WhichOneofArgType__duration: typing_extensions.TypeAlias = typing.Literal["_duration", b"_duration"]
60
+ _WhichOneofReturnType__duration: _TypeAlias = _typing.Literal["duration"] # noqa: Y015
61
+ _WhichOneofArgType__duration: _TypeAlias = _typing.Literal["_duration", b"_duration"] # noqa: Y015
62
62
  def WhichOneof(self, oneof_group: _WhichOneofArgType__duration) -> _WhichOneofReturnType__duration | None: ...
63
63
 
64
- Global___Toast: typing_extensions.TypeAlias = Toast
64
+ Global___Toast: _TypeAlias = Toast # noqa: Y015
@@ -17,37 +17,37 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import collections.abc
22
- import google.protobuf.descriptor
23
- import google.protobuf.internal.containers
24
- import google.protobuf.message
25
- import streamlit.proto.Element_pb2
20
+ from collections import abc as _abc
21
+ from google.protobuf import descriptor as _descriptor
22
+ from google.protobuf import message as _message
23
+ from google.protobuf.internal import containers as _containers
24
+ from streamlit.proto import Element_pb2 as _Element_pb2
25
+ import builtins as _builtins
26
26
  import sys
27
- import typing
27
+ import typing as _typing
28
28
 
29
29
  if sys.version_info >= (3, 10):
30
- import typing as typing_extensions
30
+ from typing import TypeAlias as _TypeAlias
31
31
  else:
32
- import typing_extensions
32
+ from typing_extensions import TypeAlias as _TypeAlias
33
33
 
34
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
34
+ DESCRIPTOR: _descriptor.FileDescriptor
35
35
 
36
- @typing.final
37
- class Transient(google.protobuf.message.Message):
38
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
36
+ @_typing.final
37
+ class Transient(_message.Message):
38
+ DESCRIPTOR: _descriptor.Descriptor
39
39
 
40
- ELEMENTS_FIELD_NUMBER: builtins.int
41
- @property
42
- def elements(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[streamlit.proto.Element_pb2.Element]:
40
+ ELEMENTS_FIELD_NUMBER: _builtins.int
41
+ @_builtins.property
42
+ def elements(self) -> _containers.RepeatedCompositeFieldContainer[_Element_pb2.Element]:
43
43
  """The list of currently active transient elements (e.g. spinners) at one delta path position"""
44
44
 
45
45
  def __init__(
46
46
  self,
47
47
  *,
48
- elements: collections.abc.Iterable[streamlit.proto.Element_pb2.Element] | None = ...,
48
+ elements: _abc.Iterable[_Element_pb2.Element] | None = ...,
49
49
  ) -> None: ...
50
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["elements", b"elements"]
50
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["elements", b"elements"] # noqa: Y015
51
51
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
52
52
 
53
- Global___Transient: typing_extensions.TypeAlias = Transient
53
+ Global___Transient: _TypeAlias = Transient # noqa: Y015
@@ -17,48 +17,48 @@ See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  """
19
19
 
20
- import builtins
21
- import collections.abc
22
- import google.protobuf.descriptor
23
- import google.protobuf.internal.containers
24
- import google.protobuf.message
25
- import streamlit.proto.DataFrame_pb2
26
- import streamlit.proto.NamedDataSet_pb2
20
+ from collections import abc as _abc
21
+ from google.protobuf import descriptor as _descriptor
22
+ from google.protobuf import message as _message
23
+ from google.protobuf.internal import containers as _containers
24
+ from streamlit.proto import DataFrame_pb2 as _DataFrame_pb2
25
+ from streamlit.proto import NamedDataSet_pb2 as _NamedDataSet_pb2
26
+ import builtins as _builtins
27
27
  import sys
28
- import typing
28
+ import typing as _typing
29
29
 
30
30
  if sys.version_info >= (3, 10):
31
- import typing as typing_extensions
31
+ from typing import TypeAlias as _TypeAlias
32
32
  else:
33
- import typing_extensions
33
+ from typing_extensions import TypeAlias as _TypeAlias
34
34
 
35
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
35
+ DESCRIPTOR: _descriptor.FileDescriptor
36
36
 
37
- @typing.final
38
- class VegaLiteChart(google.protobuf.message.Message):
37
+ @_typing.final
38
+ class VegaLiteChart(_message.Message):
39
39
  """DEPRECATED: This proto message is deprecated and unused. The ArrowVegaLiteChart
40
40
  proto message should be used instead.
41
41
  """
42
42
 
43
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
43
+ DESCRIPTOR: _descriptor.Descriptor
44
44
 
45
- SPEC_FIELD_NUMBER: builtins.int
46
- DATA_FIELD_NUMBER: builtins.int
47
- DATASETS_FIELD_NUMBER: builtins.int
48
- USE_CONTAINER_WIDTH_FIELD_NUMBER: builtins.int
49
- spec: builtins.str
45
+ SPEC_FIELD_NUMBER: _builtins.int
46
+ DATA_FIELD_NUMBER: _builtins.int
47
+ DATASETS_FIELD_NUMBER: _builtins.int
48
+ USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
49
+ spec: _builtins.str
50
50
  """The a JSON-formatted string with the Vega-Lite spec."""
51
- use_container_width: builtins.bool
51
+ use_container_width: _builtins.bool
52
52
  """If True, will overwrite the chart width spec to fit to container."""
53
- @property
54
- def data(self) -> streamlit.proto.DataFrame_pb2.DataFrame:
53
+ @_builtins.property
54
+ def data(self) -> _DataFrame_pb2.DataFrame:
55
55
  """TODO Maybe remove
56
56
  The dataframe that will be used as the chart's main data source, if
57
57
  specified using Vega-Lite's inline API.
58
58
  """
59
59
 
60
- @property
61
- def datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[streamlit.proto.NamedDataSet_pb2.NamedDataSet]:
60
+ @_builtins.property
61
+ def datasets(self) -> _containers.RepeatedCompositeFieldContainer[_NamedDataSet_pb2.NamedDataSet]:
62
62
  """Dataframes associated with this chart using Vega-Lite's datasets API, if
63
63
  any.
64
64
  """
@@ -66,14 +66,14 @@ class VegaLiteChart(google.protobuf.message.Message):
66
66
  def __init__(
67
67
  self,
68
68
  *,
69
- spec: builtins.str = ...,
70
- data: streamlit.proto.DataFrame_pb2.DataFrame | None = ...,
71
- datasets: collections.abc.Iterable[streamlit.proto.NamedDataSet_pb2.NamedDataSet] | None = ...,
72
- use_container_width: builtins.bool = ...,
69
+ spec: _builtins.str = ...,
70
+ data: _DataFrame_pb2.DataFrame | None = ...,
71
+ datasets: _abc.Iterable[_NamedDataSet_pb2.NamedDataSet] | None = ...,
72
+ use_container_width: _builtins.bool = ...,
73
73
  ) -> None: ...
74
- _HasFieldArgType: typing_extensions.TypeAlias = typing.Literal["data", b"data"]
75
- def HasField(self, field_name: _HasFieldArgType) -> builtins.bool: ...
76
- _ClearFieldArgType: typing_extensions.TypeAlias = typing.Literal["data", b"data", "datasets", b"datasets", "spec", b"spec", "use_container_width", b"use_container_width"]
74
+ _HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
75
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
76
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "datasets", b"datasets", "spec", b"spec", "use_container_width", b"use_container_width"] # noqa: Y015
77
77
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
78
78
 
79
- Global___VegaLiteChart: typing_extensions.TypeAlias = VegaLiteChart
79
+ Global___VegaLiteChart: _TypeAlias = VegaLiteChart # noqa: Y015