streamlit-nightly 1.53.2.dev20260203__py3-none-any.whl → 1.54.1.dev20260204__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit/elements/arrow.py +66 -26
- streamlit/elements/lib/built_in_chart_utils.py +1 -1
- streamlit/elements/lib/column_config_utils.py +4 -4
- streamlit/elements/lib/options_selector_utils.py +4 -0
- streamlit/elements/lib/pandas_styler_utils.py +22 -22
- streamlit/elements/widgets/button_group.py +221 -86
- streamlit/elements/widgets/data_editor.py +9 -9
- streamlit/elements/widgets/radio.py +8 -4
- streamlit/hello/dataframe_demo.py +1 -1
- streamlit/proto/ArrowData_pb2.py +5 -3
- streamlit/proto/ArrowData_pb2.pyi +44 -4
- streamlit/proto/ArrowNamedDataSet_pb2.py +4 -4
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +3 -3
- streamlit/proto/ArrowVegaLiteChart_pb2.py +4 -4
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +3 -3
- streamlit/proto/ButtonGroup_pb2.py +8 -8
- streamlit/proto/ButtonGroup_pb2.pyi +9 -7
- streamlit/proto/Dataframe_pb2.py +31 -0
- streamlit/proto/{Arrow_pb2.pyi → Dataframe_pb2.pyi} +39 -102
- streamlit/proto/Element_pb2.py +5 -4
- streamlit/proto/Element_pb2.pyi +11 -10
- streamlit/proto/Table_pb2.py +29 -0
- streamlit/proto/Table_pb2.pyi +83 -0
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +308 -308
- streamlit/static/static/js/{ErrorOutline.esm.C9uHPmIj.js → ErrorOutline.esm.DWBqsdHn.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.D-YPxF3t.js → FileDownload.esm.D5koxJhf.js} +1 -1
- streamlit/static/static/js/{FileHelper.DQSH0zYW.js → FileHelper.kJKftfu4.js} +5 -5
- streamlit/static/static/js/{FormClearHelper.DQoXcOWo.js → FormClearHelper.CyGGPn10.js} +1 -1
- streamlit/static/static/js/{InputInstructions.C7VMyGT7.js → InputInstructions.oezYb8Lm.js} +1 -1
- streamlit/static/static/js/{Particles.BdQSRZde.js → Particles.BIpBmEwi.js} +1 -1
- streamlit/static/static/js/{ProgressBar.DNF_pWKr.js → ProgressBar.BRAS_FJc.js} +1 -1
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.Cys9Bt18.js → StreamlitSyntaxHighlighter.c2qcx-xG.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.B9SMgSK4.js → TableChart.esm.BuemQLVW.js} +1 -1
- streamlit/static/static/js/{Toolbar.BXfC9Z-W.js → Toolbar.mUe2Nmta.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.gkreC55g.js → WidgetLabelHelpIconInline.if89y2mu.js} +1 -1
- streamlit/static/static/js/{base-input.iB32RS3w.js → base-input.AJ4KxBTh.js} +1 -1
- streamlit/static/static/js/{checkbox.Bqz68SYq.js → checkbox.GY4JoJkM.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.YxVC9Qur.js → createDownloadLinkElement.BWJh90jh.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.sBsdk5Xg.js → data-grid-overlay-editor.C9AINtRf.js} +1 -1
- streamlit/static/static/js/{downloader.Bzxqt3AW.js → downloader.BZY8OE4f.js} +1 -1
- streamlit/static/static/js/{embed.CDzakah3.js → embed.BjO7Ez0y.js} +1 -1
- streamlit/static/static/js/{es6.CxCc4bfn.js → es6.eb5oR8iN.js} +2 -2
- streamlit/static/static/js/{formatNumber.L8T7D36k.js → formatNumber.CCeQsvJQ.js} +1 -1
- streamlit/static/static/js/{iconPosition.C47DkA-1.js → iconPosition.D6eEnKvO.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.uEFLXEg3.js → iframeResizer.contentWindow.DTsWJRTo.js} +1 -1
- streamlit/static/static/js/{index.C6dhwBSe.js → index.B6l4FdUv.js} +1 -1
- streamlit/static/static/js/{index.BV_YgIHe.js → index.B7H2q9vo.js} +2 -2
- streamlit/static/static/js/{index.DjgdCvlK.js → index.BDdmrM58.js} +1 -1
- streamlit/static/static/js/{index.CAbQaUvi.js → index.BMbQnwRD.js} +1 -1
- streamlit/static/static/js/{index.CCLteRW6.js → index.BQ5MOzHu.js} +1 -1
- streamlit/static/static/js/{index.CzwJzgQs.js → index.BSgo_bkv.js} +1 -1
- streamlit/static/static/js/{index.B60AZFRh.js → index.BU5M9DsN.js} +1 -1
- streamlit/static/static/js/{index.BVTW_o-a.js → index.BYIxnU34.js} +1 -1
- streamlit/static/static/js/{index.DqhZqWYB.js → index.BZL2hIBz.js} +1 -1
- streamlit/static/static/js/{index.CAbafj7s.js → index.BZVrJlnq.js} +1 -1
- streamlit/static/static/js/{index.Ck0ZkOfK.js → index.Bd7QK46M.js} +1 -1
- streamlit/static/static/js/{index.BzdcdLDK.js → index.BfHA_i34.js} +1 -1
- streamlit/static/static/js/{index.kBgXO7Vv.js → index.Bgry-Ek_.js} +1 -1
- streamlit/static/static/js/{index.aZRhdEuX.js → index.Bi25zaXA.js} +1 -1
- streamlit/static/static/js/{index.QXukCzoh.js → index.Bj3M1xBC.js} +1 -1
- streamlit/static/static/js/{index.Bnwh8oZr.js → index.Bjrvlqx5.js} +6 -6
- streamlit/static/static/js/{index.h2N-W51I.js → index.BnOSeM5K.js} +1 -1
- streamlit/static/static/js/index.BoL6J1jK.js +2 -0
- streamlit/static/static/js/{index.BwvxzVOo.js → index.BoORyxOa.js} +1 -1
- streamlit/static/static/js/{index.Ba8L-ulI.js → index.Bpd7GPeH.js} +1 -1
- streamlit/static/static/js/{index.BG4RxMOI.js → index.BpeJX018.js} +1 -1
- streamlit/static/static/js/index.BriH7JVk.js +2 -0
- streamlit/static/static/js/{index.DO55kRo5.js → index.BwkeObMo.js} +1 -1
- streamlit/static/static/js/{index.C1d2QjTR.js → index.C0o85qmd.js} +1 -1
- streamlit/static/static/js/{index.D7L9gHlE.js → index.C7_wNJTH.js} +1 -1
- streamlit/static/static/js/{index.BwTkGOAy.js → index.CGZP_w9b.js} +1 -1
- streamlit/static/static/js/{index.CjBDVb1a.js → index.CGw52-0-.js} +1 -1
- streamlit/static/static/js/{index.D_cvtSlg.js → index.CUvtJj0a.js} +1 -1
- streamlit/static/static/js/{index.Dtbj_oyb.js → index.Cfx1ZHWt.js} +1 -1
- streamlit/static/static/js/{index.BvHsyiyy.js → index.Chl2kALe.js} +1 -1
- streamlit/static/static/js/index.Crlx_wdE.js +1 -0
- streamlit/static/static/js/{index.B_LfkwqU.js → index.D9A-8ebQ.js} +1 -1
- streamlit/static/static/js/{index.BHyzKS4e.js → index.DBIoNOen.js} +7 -7
- streamlit/static/static/js/{index.DgqmsDCJ.js → index.DMKTAe4F.js} +1 -1
- streamlit/static/static/js/{index.DEKnCsY-.js → index.DNrpqKVt.js} +1 -1
- streamlit/static/static/js/{index.BsrhCS7f.js → index.DSRvF_8e.js} +1 -1
- streamlit/static/static/js/{index.DN_oudQl.js → index.DhB1m_xG.js} +1 -1
- streamlit/static/static/js/{index.XJY9qZ6a.js → index.DiES30vM.js} +1 -1
- streamlit/static/static/js/{index.DHrByikW.js → index.DlJ4Y1xc.js} +1 -1
- streamlit/static/static/js/{index.C5-TpWis.js → index.J61yByUR.js} +1 -1
- streamlit/static/static/js/{index.iUHLeAvv.js → index.JxDTXE8N.js} +1 -1
- streamlit/static/static/js/{index.C1uZrWog.js → index.KGr28TP8.js} +1 -1
- streamlit/static/static/js/{index.BuJPJSD7.js → index.Pgm3rRpH.js} +1 -1
- streamlit/static/static/js/{index.fUsWkW8E.js → index.XzcYOc9I.js} +1 -1
- streamlit/static/static/js/{index.CQ713nQM.js → index.Z_u7ZS4h.js} +1 -1
- streamlit/static/static/js/{index.D-9VyyiA.js → index.hDg7x0Tp.js} +1 -1
- streamlit/static/static/js/{index.D2R3Co5f.js → index.k7p0hmaU.js} +1 -1
- streamlit/static/static/js/{index.Bh5BZaHG.js → index.syoxWolF.js} +1 -1
- streamlit/static/static/js/{index.kEL0HsUR.js → index.xZ651bTg.js} +1 -1
- streamlit/static/static/js/{input.BCHJn1Cw.js → input.C-PwAMG6.js} +1 -1
- streamlit/static/static/js/{main.23ZP6f1E.js → main.fMmyxXOf.js} +1 -1
- streamlit/static/static/js/{memory.D8f8Q4mO.js → memory.BG__eDEj.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.ZWvSpjJ5.js → number-overlay-editor.C0n-91sR.js} +1 -1
- streamlit/static/static/js/{pandasStylerUtils.DlZ2GBs_.js → pandasStylerUtils.BqWaUzvh.js} +1 -1
- streamlit/static/static/js/{sandbox.BH6D3KL9.js → sandbox.CHhc-txg.js} +1 -1
- streamlit/static/static/js/{sprintfjs.CtrdaGLQ.js → sprintfjs.BlFBKfMf.js} +1 -1
- streamlit/static/static/js/{styled-components.iD1HRMLc.js → styled-components.D5uOQqN2.js} +1 -1
- streamlit/static/static/js/{throttle.DR7d9vp_.js → throttle.DlZC3xNA.js} +1 -1
- streamlit/static/static/js/{timepicker.Bd34xjcG.js → timepicker._TfRUaDL.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.BDTTq1c5.js → toConsumableArray.CZW4AmuW.js} +1 -1
- streamlit/static/static/js/uniqueId.CTTDAAaF.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.BXKaD8DQ.js → useBasicWidgetState.Bx27912z.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.CysOvegI.js → useIntlLocale.DsOvysl7.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.CVd5Hf2S.js → useTextInputAutoExpand.C9g8px1W.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.CIUgfO8X.js → useUpdateUiValue.fF-Cntkp.js} +1 -1
- streamlit/static/static/js/{useWaveformController.CDLqlnLv.js → useWaveformController.C5EtFoJE.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.Ce1Zblb2.js → withCalculatedWidth.CcvaXQb0.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.DBm7N75M.js → withFullScreenWrapper.DP61hzLF.js} +1 -1
- streamlit/testing/v1/element_tree.py +20 -15
- streamlit/web/server/routes.py +14 -0
- streamlit/web/server/server.py +4 -0
- {streamlit_nightly-1.53.2.dev20260203.dist-info → streamlit_nightly-1.54.1.dev20260204.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.53.2.dev20260203.dist-info → streamlit_nightly-1.54.1.dev20260204.dist-info}/RECORD +122 -120
- streamlit/proto/Arrow_pb2.py +0 -34
- streamlit/static/static/js/index.B3zULhHv.js +0 -1
- streamlit/static/static/js/index.BrZtYm2A.js +0 -2
- streamlit/static/static/js/index.CcBYyLfq.js +0 -2
- streamlit/static/static/js/uniqueId.Bd_Iuzvc.js +0 -1
- {streamlit_nightly-1.53.2.dev20260203.dist-info → streamlit_nightly-1.54.1.dev20260204.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.53.2.dev20260203.dist-info → streamlit_nightly-1.54.1.dev20260204.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.53.2.dev20260203.dist-info → streamlit_nightly-1.54.1.dev20260204.dist-info}/top_level.txt +0 -0
|
@@ -12,17 +12,17 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
from streamlit.proto import
|
|
15
|
+
from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
|
|
16
16
|
from streamlit.proto import ArrowNamedDataSet_pb2 as streamlit_dot_proto_dot_ArrowNamedDataSet__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(streamlit/proto/ArrowVegaLiteChart.proto\x1a\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(streamlit/proto/ArrowVegaLiteChart.proto\x1a\x1fstreamlit/proto/ArrowData.proto\x1a\'streamlit/proto/ArrowNamedDataSet.proto\"\xc9\x01\n\x12\x41rrowVegaLiteChart\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x18\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\n.ArrowData\x12$\n\x08\x64\x61tasets\x18\x04 \x03(\x0b\x32\x12.ArrowNamedDataSet\x12\x1b\n\x13use_container_width\x18\x05 \x01(\x08\x12\r\n\x05theme\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\x12\x16\n\x0eselection_mode\x18\x08 \x03(\t\x12\x0f\n\x07\x66orm_id\x18\t \x01(\tJ\x04\x08\x03\x10\x04\x62\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
23
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ArrowVegaLiteChart_pb2', _globals)
|
|
24
24
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
25
25
|
DESCRIPTOR._loaded_options = None
|
|
26
|
-
_globals['_ARROWVEGALITECHART']._serialized_start=
|
|
27
|
-
_globals['_ARROWVEGALITECHART']._serialized_end=
|
|
26
|
+
_globals['_ARROWVEGALITECHART']._serialized_start=119
|
|
27
|
+
_globals['_ARROWVEGALITECHART']._serialized_end=320
|
|
28
28
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -21,8 +21,8 @@ from collections import abc as _abc
|
|
|
21
21
|
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
|
+
from streamlit.proto import ArrowData_pb2 as _ArrowData_pb2
|
|
24
25
|
from streamlit.proto import ArrowNamedDataSet_pb2 as _ArrowNamedDataSet_pb2
|
|
25
|
-
from streamlit.proto import Arrow_pb2 as _Arrow_pb2
|
|
26
26
|
import builtins as _builtins
|
|
27
27
|
import sys
|
|
28
28
|
import typing as _typing
|
|
@@ -57,7 +57,7 @@ class ArrowVegaLiteChart(_message.Message):
|
|
|
57
57
|
form_id: _builtins.str
|
|
58
58
|
"""The form ID of the widget, this is required if selections are activated on the chart."""
|
|
59
59
|
@_builtins.property
|
|
60
|
-
def data(self) ->
|
|
60
|
+
def data(self) -> _ArrowData_pb2.ArrowData:
|
|
61
61
|
"""The dataframe that will be used as the chart's main data source, if
|
|
62
62
|
specified using Vega-Lite's inline API.
|
|
63
63
|
"""
|
|
@@ -76,7 +76,7 @@ class ArrowVegaLiteChart(_message.Message):
|
|
|
76
76
|
self,
|
|
77
77
|
*,
|
|
78
78
|
spec: _builtins.str = ...,
|
|
79
|
-
data:
|
|
79
|
+
data: _ArrowData_pb2.ArrowData | None = ...,
|
|
80
80
|
datasets: _abc.Iterable[_ArrowNamedDataSet_pb2.ArrowNamedDataSet] | None = ...,
|
|
81
81
|
use_container_width: _builtins.bool = ...,
|
|
82
82
|
theme: _builtins.str = ...,
|
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from streamlit.proto import LabelVisibility_pb2 as streamlit_dot_proto_dot_LabelVisibility__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ButtonGroup.proto\x1a%streamlit/proto/LabelVisibility.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ButtonGroup.proto\x1a%streamlit/proto/LabelVisibility.proto\"\xa5\x04\n\x0b\x42uttonGroup\x12\n\n\x02id\x18\x01 \x01(\t\x12$\n\x07options\x18\x02 \x03(\x0b\x32\x13.ButtonGroup.Option\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12*\n\nclick_mode\x18\x05 \x01(\x0e\x32\x16.ButtonGroup.ClickMode\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12!\n\x05style\x18\n \x01(\x0e\x32\x12.ButtonGroup.Style\x12\r\n\x05label\x18\x0b \x01(\t\x12*\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x10.LabelVisibility\x12\x11\n\x04help\x18\r \x01(\tH\x00\x88\x01\x01\x12\x12\n\nraw_values\x18\x0e \x03(\t\x1az\n\x06Option\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x19\n\x0c\x63ontent_icon\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_content_iconJ\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05R\x10selected_contentR\x15selected_content_icon\"0\n\tClickMode\x12\x11\n\rSINGLE_SELECT\x10\x00\x12\x10\n\x0cMULTI_SELECT\x10\x01\")\n\x05Style\x12\x15\n\x11SEGMENTED_CONTROL\x10\x00\x12\t\n\x05PILLS\x10\x01\x42\x07\n\x05_helpJ\x04\x08\x07\x10\x08J\x04\x08\t\x10\nb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,11 +23,11 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ButtonGroup
|
|
|
23
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
24
|
DESCRIPTOR._loaded_options = None
|
|
25
25
|
_globals['_BUTTONGROUP']._serialized_start=77
|
|
26
|
-
_globals['_BUTTONGROUP']._serialized_end=
|
|
27
|
-
_globals['_BUTTONGROUP_OPTION']._serialized_start=
|
|
28
|
-
_globals['_BUTTONGROUP_OPTION']._serialized_end=
|
|
29
|
-
_globals['_BUTTONGROUP_CLICKMODE']._serialized_start=
|
|
30
|
-
_globals['_BUTTONGROUP_CLICKMODE']._serialized_end=
|
|
31
|
-
_globals['_BUTTONGROUP_STYLE']._serialized_start=
|
|
32
|
-
_globals['_BUTTONGROUP_STYLE']._serialized_end=
|
|
26
|
+
_globals['_BUTTONGROUP']._serialized_end=626
|
|
27
|
+
_globals['_BUTTONGROUP_OPTION']._serialized_start=390
|
|
28
|
+
_globals['_BUTTONGROUP_OPTION']._serialized_end=512
|
|
29
|
+
_globals['_BUTTONGROUP_CLICKMODE']._serialized_start=514
|
|
30
|
+
_globals['_BUTTONGROUP_CLICKMODE']._serialized_end=562
|
|
31
|
+
_globals['_BUTTONGROUP_STYLE']._serialized_start=564
|
|
32
|
+
_globals['_BUTTONGROUP_STYLE']._serialized_end=605
|
|
33
33
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -93,12 +93,12 @@ class ButtonGroup(_message.Message):
|
|
|
93
93
|
DISABLED_FIELD_NUMBER: _builtins.int
|
|
94
94
|
CLICK_MODE_FIELD_NUMBER: _builtins.int
|
|
95
95
|
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
96
|
-
VALUE_FIELD_NUMBER: _builtins.int
|
|
97
96
|
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
98
97
|
STYLE_FIELD_NUMBER: _builtins.int
|
|
99
98
|
LABEL_FIELD_NUMBER: _builtins.int
|
|
100
99
|
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
101
100
|
HELP_FIELD_NUMBER: _builtins.int
|
|
101
|
+
RAW_VALUES_FIELD_NUMBER: _builtins.int
|
|
102
102
|
id: _builtins.str
|
|
103
103
|
disabled: _builtins.bool
|
|
104
104
|
click_mode: Global___ButtonGroup.ClickMode.ValueType
|
|
@@ -113,12 +113,14 @@ class ButtonGroup(_message.Message):
|
|
|
113
113
|
def default(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]:
|
|
114
114
|
"""default is an array of indexes that are selected by default"""
|
|
115
115
|
|
|
116
|
-
@_builtins.property
|
|
117
|
-
def value(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]:
|
|
118
|
-
"""value passed by the backend"""
|
|
119
|
-
|
|
120
116
|
@_builtins.property
|
|
121
117
|
def label_visibility(self) -> _LabelVisibility_pb2.LabelVisibility: ...
|
|
118
|
+
@_builtins.property
|
|
119
|
+
def raw_values(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
120
|
+
"""For multi-select mode, this contains all selected option strings.
|
|
121
|
+
For single-select mode, this contains at most one selected option string.
|
|
122
|
+
"""
|
|
123
|
+
|
|
122
124
|
def __init__(
|
|
123
125
|
self,
|
|
124
126
|
*,
|
|
@@ -128,16 +130,16 @@ class ButtonGroup(_message.Message):
|
|
|
128
130
|
disabled: _builtins.bool = ...,
|
|
129
131
|
click_mode: Global___ButtonGroup.ClickMode.ValueType = ...,
|
|
130
132
|
form_id: _builtins.str = ...,
|
|
131
|
-
value: _abc.Iterable[_builtins.int] | None = ...,
|
|
132
133
|
set_value: _builtins.bool = ...,
|
|
133
134
|
style: Global___ButtonGroup.Style.ValueType = ...,
|
|
134
135
|
label: _builtins.str = ...,
|
|
135
136
|
label_visibility: _LabelVisibility_pb2.LabelVisibility | None = ...,
|
|
136
137
|
help: _builtins.str | None = ...,
|
|
138
|
+
raw_values: _abc.Iterable[_builtins.str] | None = ...,
|
|
137
139
|
) -> None: ...
|
|
138
140
|
_HasFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "help", b"help", "label_visibility", b"label_visibility"] # noqa: Y015
|
|
139
141
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
140
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "
|
|
142
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_help", b"_help", "click_mode", b"click_mode", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "raw_values", b"raw_values", "set_value", b"set_value", "style", b"style"] # noqa: Y015
|
|
141
143
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
142
144
|
_WhichOneofReturnType__help: _TypeAlias = _typing.Literal["help"] # noqa: Y015
|
|
143
145
|
_WhichOneofArgType__help: _TypeAlias = _typing.Literal["_help", b"_help"] # noqa: Y015
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/Dataframe.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
|
+
from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/Dataframe.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\xfe\x03\n\tDataframe\x12\x1e\n\narrow_data\x18\x01 \x01(\x0b\x32\n.ArrowData\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0f\n\x07\x63olumns\x18\x03 \x01(\t\x12,\n\x0c\x65\x64iting_mode\x18\x04 \x01(\x0e\x32\x16.Dataframe.EditingMode\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x14\n\x0c\x63olumn_order\x18\x07 \x03(\t\x12\x30\n\x0eselection_mode\x18\x08 \x03(\x0e\x32\x18.Dataframe.SelectionMode\x12\x17\n\nrow_height\x18\t \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0bplaceholder\x18\n \x01(\tH\x01\x88\x01\x01\"S\n\x0b\x45\x64itingMode\x12\r\n\tREAD_ONLY\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02\x12\x0c\n\x08\x41\x44\x44_ONLY\x10\x03\x12\x0f\n\x0b\x44\x45LETE_ONLY\x10\x04\"t\n\rSelectionMode\x12\x0e\n\nSINGLE_ROW\x10\x00\x12\r\n\tMULTI_ROW\x10\x01\x12\x11\n\rSINGLE_COLUMN\x10\x02\x12\x10\n\x0cMULTI_COLUMN\x10\x03\x12\x0f\n\x0bSINGLE_CELL\x10\x04\x12\x0e\n\nMULTI_CELL\x10\x05\x42\r\n\x0b_row_heightB\x0e\n\x0c_placeholderb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Dataframe_pb2', _globals)
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_DATAFRAME']._serialized_start=69
|
|
26
|
+
_globals['_DATAFRAME']._serialized_end=579
|
|
27
|
+
_globals['_DATAFRAME_EDITINGMODE']._serialized_start=347
|
|
28
|
+
_globals['_DATAFRAME_EDITINGMODE']._serialized_end=430
|
|
29
|
+
_globals['_DATAFRAME_SELECTIONMODE']._serialized_start=432
|
|
30
|
+
_globals['_DATAFRAME_SELECTIONMODE']._serialized_end=548
|
|
31
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,6 +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 ArrowData_pb2 as _ArrowData_pb2
|
|
25
26
|
import builtins as _builtins
|
|
26
27
|
import sys
|
|
27
28
|
import typing as _typing
|
|
@@ -34,100 +35,78 @@ else:
|
|
|
34
35
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
35
36
|
|
|
36
37
|
@_typing.final
|
|
37
|
-
class
|
|
38
|
+
class Dataframe(_message.Message):
|
|
39
|
+
"""Proto message for st.dataframe and st.data_editor elements."""
|
|
40
|
+
|
|
38
41
|
DESCRIPTOR: _descriptor.Descriptor
|
|
39
42
|
|
|
40
43
|
class _EditingMode:
|
|
41
44
|
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
42
45
|
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
46
|
|
|
44
|
-
class _EditingModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[
|
|
47
|
+
class _EditingModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Dataframe._EditingMode.ValueType], _builtins.type):
|
|
45
48
|
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
|
-
READ_ONLY:
|
|
49
|
+
READ_ONLY: Dataframe._EditingMode.ValueType # 0
|
|
47
50
|
"""Read-only table."""
|
|
48
|
-
FIXED:
|
|
51
|
+
FIXED: Dataframe._EditingMode.ValueType # 1
|
|
49
52
|
"""Activates editing but only allow editing of existing cells."""
|
|
50
|
-
DYNAMIC:
|
|
53
|
+
DYNAMIC: Dataframe._EditingMode.ValueType # 2
|
|
51
54
|
"""Activates editing and allow adding & deleting rows."""
|
|
52
|
-
ADD_ONLY:
|
|
55
|
+
ADD_ONLY: Dataframe._EditingMode.ValueType # 3
|
|
53
56
|
"""Activates editing and allow adding rows (no deleting)."""
|
|
54
|
-
DELETE_ONLY:
|
|
57
|
+
DELETE_ONLY: Dataframe._EditingMode.ValueType # 4
|
|
55
58
|
"""Activates editing and allow deleting rows (no adding)."""
|
|
56
59
|
|
|
57
60
|
class EditingMode(_EditingMode, metaclass=_EditingModeEnumTypeWrapper):
|
|
58
61
|
"""Available editing modes:"""
|
|
59
62
|
|
|
60
|
-
READ_ONLY:
|
|
63
|
+
READ_ONLY: Dataframe.EditingMode.ValueType # 0
|
|
61
64
|
"""Read-only table."""
|
|
62
|
-
FIXED:
|
|
65
|
+
FIXED: Dataframe.EditingMode.ValueType # 1
|
|
63
66
|
"""Activates editing but only allow editing of existing cells."""
|
|
64
|
-
DYNAMIC:
|
|
67
|
+
DYNAMIC: Dataframe.EditingMode.ValueType # 2
|
|
65
68
|
"""Activates editing and allow adding & deleting rows."""
|
|
66
|
-
ADD_ONLY:
|
|
69
|
+
ADD_ONLY: Dataframe.EditingMode.ValueType # 3
|
|
67
70
|
"""Activates editing and allow adding rows (no deleting)."""
|
|
68
|
-
DELETE_ONLY:
|
|
71
|
+
DELETE_ONLY: Dataframe.EditingMode.ValueType # 4
|
|
69
72
|
"""Activates editing and allow deleting rows (no adding)."""
|
|
70
73
|
|
|
71
74
|
class _SelectionMode:
|
|
72
75
|
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
73
76
|
V: _TypeAlias = ValueType # noqa: Y015
|
|
74
77
|
|
|
75
|
-
class _SelectionModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[
|
|
78
|
+
class _SelectionModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Dataframe._SelectionMode.ValueType], _builtins.type):
|
|
76
79
|
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
77
|
-
SINGLE_ROW:
|
|
80
|
+
SINGLE_ROW: Dataframe._SelectionMode.ValueType # 0
|
|
78
81
|
"""Only one row can be selected at a time."""
|
|
79
|
-
MULTI_ROW:
|
|
82
|
+
MULTI_ROW: Dataframe._SelectionMode.ValueType # 1
|
|
80
83
|
"""Multiple rows can be selected at a time."""
|
|
81
|
-
SINGLE_COLUMN:
|
|
84
|
+
SINGLE_COLUMN: Dataframe._SelectionMode.ValueType # 2
|
|
82
85
|
"""Only one column can be selected at a time."""
|
|
83
|
-
MULTI_COLUMN:
|
|
86
|
+
MULTI_COLUMN: Dataframe._SelectionMode.ValueType # 3
|
|
84
87
|
"""Multiple columns can be selected at a time."""
|
|
85
|
-
SINGLE_CELL:
|
|
88
|
+
SINGLE_CELL: Dataframe._SelectionMode.ValueType # 4
|
|
86
89
|
"""Only one cell can be selected at a time."""
|
|
87
|
-
MULTI_CELL:
|
|
90
|
+
MULTI_CELL: Dataframe._SelectionMode.ValueType # 5
|
|
88
91
|
"""Multiple cells (continuous range) can be selected."""
|
|
89
92
|
|
|
90
93
|
class SelectionMode(_SelectionMode, metaclass=_SelectionModeEnumTypeWrapper):
|
|
91
94
|
"""Available selection modes:"""
|
|
92
95
|
|
|
93
|
-
SINGLE_ROW:
|
|
96
|
+
SINGLE_ROW: Dataframe.SelectionMode.ValueType # 0
|
|
94
97
|
"""Only one row can be selected at a time."""
|
|
95
|
-
MULTI_ROW:
|
|
98
|
+
MULTI_ROW: Dataframe.SelectionMode.ValueType # 1
|
|
96
99
|
"""Multiple rows can be selected at a time."""
|
|
97
|
-
SINGLE_COLUMN:
|
|
100
|
+
SINGLE_COLUMN: Dataframe.SelectionMode.ValueType # 2
|
|
98
101
|
"""Only one column can be selected at a time."""
|
|
99
|
-
MULTI_COLUMN:
|
|
102
|
+
MULTI_COLUMN: Dataframe.SelectionMode.ValueType # 3
|
|
100
103
|
"""Multiple columns can be selected at a time."""
|
|
101
|
-
SINGLE_CELL:
|
|
104
|
+
SINGLE_CELL: Dataframe.SelectionMode.ValueType # 4
|
|
102
105
|
"""Only one cell can be selected at a time."""
|
|
103
|
-
MULTI_CELL:
|
|
106
|
+
MULTI_CELL: Dataframe.SelectionMode.ValueType # 5
|
|
104
107
|
"""Multiple cells (continuous range) can be selected."""
|
|
105
108
|
|
|
106
|
-
|
|
107
|
-
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
108
|
-
V: _TypeAlias = ValueType # noqa: Y015
|
|
109
|
-
|
|
110
|
-
class _BorderModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Arrow._BorderMode.ValueType], _builtins.type):
|
|
111
|
-
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
112
|
-
ALL: Arrow._BorderMode.ValueType # 0
|
|
113
|
-
"""Show borders around the table and between cells."""
|
|
114
|
-
NONE: Arrow._BorderMode.ValueType # 1
|
|
115
|
-
"""Show no borders."""
|
|
116
|
-
HORIZONTAL: Arrow._BorderMode.ValueType # 2
|
|
117
|
-
"""Show only horizontal borders between rows."""
|
|
118
|
-
|
|
119
|
-
class BorderMode(_BorderMode, metaclass=_BorderModeEnumTypeWrapper):
|
|
120
|
-
"""Available border modes:"""
|
|
121
|
-
|
|
122
|
-
ALL: Arrow.BorderMode.ValueType # 0
|
|
123
|
-
"""Show borders around the table and between cells."""
|
|
124
|
-
NONE: Arrow.BorderMode.ValueType # 1
|
|
125
|
-
"""Show no borders."""
|
|
126
|
-
HORIZONTAL: Arrow.BorderMode.ValueType # 2
|
|
127
|
-
"""Show only horizontal borders between rows."""
|
|
128
|
-
|
|
129
|
-
DATA_FIELD_NUMBER: _builtins.int
|
|
130
|
-
STYLER_FIELD_NUMBER: _builtins.int
|
|
109
|
+
ARROW_DATA_FIELD_NUMBER: _builtins.int
|
|
131
110
|
ID_FIELD_NUMBER: _builtins.int
|
|
132
111
|
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
133
112
|
EDITING_MODE_FIELD_NUMBER: _builtins.int
|
|
@@ -136,15 +115,12 @@ class Arrow(_message.Message):
|
|
|
136
115
|
COLUMN_ORDER_FIELD_NUMBER: _builtins.int
|
|
137
116
|
SELECTION_MODE_FIELD_NUMBER: _builtins.int
|
|
138
117
|
ROW_HEIGHT_FIELD_NUMBER: _builtins.int
|
|
139
|
-
BORDER_MODE_FIELD_NUMBER: _builtins.int
|
|
140
118
|
PLACEHOLDER_FIELD_NUMBER: _builtins.int
|
|
141
|
-
data: _builtins.bytes
|
|
142
|
-
"""The serialized arrow dataframe"""
|
|
143
119
|
id: _builtins.str
|
|
144
120
|
"""The id of the widget, this is required if the dataframe is editable"""
|
|
145
121
|
columns: _builtins.str
|
|
146
122
|
"""Column configuration as JSON"""
|
|
147
|
-
editing_mode:
|
|
123
|
+
editing_mode: Global___Dataframe.EditingMode.ValueType
|
|
148
124
|
"""Activate table editing"""
|
|
149
125
|
disabled: _builtins.bool
|
|
150
126
|
"""Deactivates editing"""
|
|
@@ -152,43 +128,37 @@ class Arrow(_message.Message):
|
|
|
152
128
|
"""The form ID of the widget, this is required if the dataframe is editable"""
|
|
153
129
|
row_height: _builtins.int
|
|
154
130
|
"""Row height in pixels"""
|
|
155
|
-
border_mode: Global___Arrow.BorderMode.ValueType
|
|
156
|
-
"""How to show borders around the table and between cells. Note that this property
|
|
157
|
-
is only used for `st.table` at the moment.
|
|
158
|
-
"""
|
|
159
131
|
placeholder: _builtins.str
|
|
160
132
|
"""Placeholder string used when rendering missing values (e.g. nulls, NaNs)."""
|
|
161
133
|
@_builtins.property
|
|
162
|
-
def
|
|
163
|
-
"""
|
|
134
|
+
def arrow_data(self) -> _ArrowData_pb2.ArrowData:
|
|
135
|
+
"""The Arrow data to display"""
|
|
164
136
|
|
|
165
137
|
@_builtins.property
|
|
166
138
|
def column_order(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
167
139
|
"""Defines the order in which columns are displayed"""
|
|
168
140
|
|
|
169
141
|
@_builtins.property
|
|
170
|
-
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[
|
|
142
|
+
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[Global___Dataframe.SelectionMode.ValueType]:
|
|
171
143
|
"""Activated dataframe selections events"""
|
|
172
144
|
|
|
173
145
|
def __init__(
|
|
174
146
|
self,
|
|
175
147
|
*,
|
|
176
|
-
|
|
177
|
-
styler: Global___Styler | None = ...,
|
|
148
|
+
arrow_data: _ArrowData_pb2.ArrowData | None = ...,
|
|
178
149
|
id: _builtins.str = ...,
|
|
179
150
|
columns: _builtins.str = ...,
|
|
180
|
-
editing_mode:
|
|
151
|
+
editing_mode: Global___Dataframe.EditingMode.ValueType = ...,
|
|
181
152
|
disabled: _builtins.bool = ...,
|
|
182
153
|
form_id: _builtins.str = ...,
|
|
183
154
|
column_order: _abc.Iterable[_builtins.str] | None = ...,
|
|
184
|
-
selection_mode: _abc.Iterable[
|
|
155
|
+
selection_mode: _abc.Iterable[Global___Dataframe.SelectionMode.ValueType] | None = ...,
|
|
185
156
|
row_height: _builtins.int | None = ...,
|
|
186
|
-
border_mode: Global___Arrow.BorderMode.ValueType = ...,
|
|
187
157
|
placeholder: _builtins.str | None = ...,
|
|
188
158
|
) -> None: ...
|
|
189
|
-
_HasFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "
|
|
159
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "arrow_data", b"arrow_data", "placeholder", b"placeholder", "row_height", b"row_height"] # noqa: Y015
|
|
190
160
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
191
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "
|
|
161
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "arrow_data", b"arrow_data", "column_order", b"column_order", "columns", b"columns", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "id", b"id", "placeholder", b"placeholder", "row_height", b"row_height", "selection_mode", b"selection_mode"] # noqa: Y015
|
|
192
162
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
193
163
|
_WhichOneofReturnType__placeholder: _TypeAlias = _typing.Literal["placeholder"] # noqa: Y015
|
|
194
164
|
_WhichOneofArgType__placeholder: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder"] # noqa: Y015
|
|
@@ -199,37 +169,4 @@ class Arrow(_message.Message):
|
|
|
199
169
|
@_typing.overload
|
|
200
170
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__row_height) -> _WhichOneofReturnType__row_height | None: ...
|
|
201
171
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
@_typing.final
|
|
205
|
-
class Styler(_message.Message):
|
|
206
|
-
DESCRIPTOR: _descriptor.Descriptor
|
|
207
|
-
|
|
208
|
-
UUID_FIELD_NUMBER: _builtins.int
|
|
209
|
-
CAPTION_FIELD_NUMBER: _builtins.int
|
|
210
|
-
STYLES_FIELD_NUMBER: _builtins.int
|
|
211
|
-
DISPLAY_VALUES_FIELD_NUMBER: _builtins.int
|
|
212
|
-
uuid: _builtins.str
|
|
213
|
-
"""The Styler's source UUID (if the user provided one), or the path-based
|
|
214
|
-
hash that we generate (if no source UUID was provided).
|
|
215
|
-
"""
|
|
216
|
-
caption: _builtins.str
|
|
217
|
-
"""The table's caption."""
|
|
218
|
-
styles: _builtins.str
|
|
219
|
-
"""`styles` contains the CSS for the entire source table."""
|
|
220
|
-
display_values: _builtins.bytes
|
|
221
|
-
"""display_values is another ArrowTable: a copy of the source table, but
|
|
222
|
-
with all the display values formatted to the user-specified rules.
|
|
223
|
-
"""
|
|
224
|
-
def __init__(
|
|
225
|
-
self,
|
|
226
|
-
*,
|
|
227
|
-
uuid: _builtins.str = ...,
|
|
228
|
-
caption: _builtins.str = ...,
|
|
229
|
-
styles: _builtins.str = ...,
|
|
230
|
-
display_values: _builtins.bytes = ...,
|
|
231
|
-
) -> None: ...
|
|
232
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["caption", b"caption", "display_values", b"display_values", "styles", b"styles", "uuid", b"uuid"] # noqa: Y015
|
|
233
|
-
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
234
|
-
|
|
235
|
-
Global___Styler: _TypeAlias = Styler # noqa: Y015
|
|
172
|
+
Global___Dataframe: _TypeAlias = Dataframe # noqa: Y015
|
streamlit/proto/Element_pb2.py
CHANGED
|
@@ -13,8 +13,9 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
from streamlit.proto import Alert_pb2 as streamlit_dot_proto_dot_Alert__pb2
|
|
16
|
-
from streamlit.proto import
|
|
16
|
+
from streamlit.proto import Dataframe_pb2 as streamlit_dot_proto_dot_Dataframe__pb2
|
|
17
17
|
from streamlit.proto import Audio_pb2 as streamlit_dot_proto_dot_Audio__pb2
|
|
18
|
+
from streamlit.proto import Table_pb2 as streamlit_dot_proto_dot_Table__pb2
|
|
18
19
|
from streamlit.proto import AudioInput_pb2 as streamlit_dot_proto_dot_AudioInput__pb2
|
|
19
20
|
from streamlit.proto import Balloons_pb2 as streamlit_dot_proto_dot_Balloons__pb2
|
|
20
21
|
from streamlit.proto import ArrowVegaLiteChart_pb2 as streamlit_dot_proto_dot_ArrowVegaLiteChart__pb2
|
|
@@ -69,13 +70,13 @@ from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConf
|
|
|
69
70
|
from streamlit.proto import TextAlignmentConfig_pb2 as streamlit_dot_proto_dot_TextAlignmentConfig__pb2
|
|
70
71
|
|
|
71
72
|
|
|
72
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Element.proto\x1a\x1bstreamlit/proto/Alert.proto\x1a\
|
|
73
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/Element.proto\x1a\x1bstreamlit/proto/Alert.proto\x1a\x1fstreamlit/proto/Dataframe.proto\x1a\x1bstreamlit/proto/Audio.proto\x1a\x1bstreamlit/proto/Table.proto\x1a streamlit/proto/AudioInput.proto\x1a\x1estreamlit/proto/Balloons.proto\x1a(streamlit/proto/ArrowVegaLiteChart.proto\x1a\x1cstreamlit/proto/Button.proto\x1a!streamlit/proto/ButtonGroup.proto\x1a$streamlit/proto/DownloadButton.proto\x1a!streamlit/proto/CameraInput.proto\x1a\x1fstreamlit/proto/ChatInput.proto\x1a\x1estreamlit/proto/Checkbox.proto\x1a\x1astreamlit/proto/Code.proto\x1a!streamlit/proto/ColorPicker.proto\x1a\x1fstreamlit/proto/DateInput.proto\x1a#streamlit/proto/DateTimeInput.proto\x1a%streamlit/proto/DeckGlJsonChart.proto\x1a\x1fstreamlit/proto/DocString.proto\x1a\x1bstreamlit/proto/Empty.proto\x1a\x1fstreamlit/proto/Exception.proto\x1a\x1dstreamlit/proto/Favicon.proto\x1a\x1estreamlit/proto/Feedback.proto\x1a\"streamlit/proto/FileUploader.proto\x1a#streamlit/proto/GraphVizChart.proto\x1a\x1astreamlit/proto/Html.proto\x1a\x1cstreamlit/proto/IFrame.proto\x1a\x1bstreamlit/proto/Image.proto\x1a\x1astreamlit/proto/Json.proto\x1a streamlit/proto/LinkButton.proto\x1a!streamlit/proto/NumberInput.proto\x1a\x1estreamlit/proto/Markdown.proto\x1a\x1cstreamlit/proto/Metric.proto\x1a!streamlit/proto/MultiSelect.proto\x1a\x1estreamlit/proto/PageLink.proto\x1a!streamlit/proto/PlotlyChart.proto\x1a streamlit/proto/Components.proto\x1a\x1estreamlit/proto/Progress.proto\x1a\x1astreamlit/proto/Snow.proto\x1a\x1dstreamlit/proto/Spinner.proto\x1a\x1bstreamlit/proto/Radio.proto\x1a\x1fstreamlit/proto/Selectbox.proto\x1a\x1estreamlit/proto/Skeleton.proto\x1a\x1cstreamlit/proto/Slider.proto\x1a\x1bstreamlit/proto/Space.proto\x1a\x1astreamlit/proto/Text.proto\x1a\x1estreamlit/proto/TextArea.proto\x1a\x1fstreamlit/proto/TextInput.proto\x1a\x1fstreamlit/proto/TimeInput.proto\x1a\x1bstreamlit/proto/Toast.proto\x1a\x1bstreamlit/proto/Video.proto\x1a\x1dstreamlit/proto/Heading.proto\x1a#streamlit/proto/BidiComponent.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a!streamlit/proto/WidthConfig.proto\x1a)streamlit/proto/TextAlignmentConfig.proto\"\xcf\x0f\n\x07\x45lement\x12\x33\n\rheight_config\x18\x39 \x01(\x0b\x32\x17.streamlit.HeightConfigH\x01\x88\x01\x01\x12\x31\n\x0cwidth_config\x18: \x01(\x0b\x32\x16.streamlit.WidthConfigH\x02\x88\x01\x01\x12\x42\n\x15text_alignment_config\x18= \x01(\x0b\x32\x1e.streamlit.TextAlignmentConfigH\x03\x88\x01\x01\x12\x17\n\x05\x61lert\x18\x1e \x01(\x0b\x32\x06.AlertH\x00\x12\x1f\n\tdataframe\x18( \x01(\x0b\x32\n.DataframeH\x00\x12\x17\n\x05table\x18\' \x01(\x0b\x32\x06.TableH\x00\x12\x34\n\x15\x61rrow_vega_lite_chart\x18) \x01(\x0b\x32\x13.ArrowVegaLiteChartH\x00\x12\x17\n\x05\x61udio\x18\r \x01(\x0b\x32\x06.AudioH\x00\x12\"\n\x0b\x61udio_input\x18\x38 \x01(\x0b\x32\x0b.AudioInputH\x00\x12\x1d\n\x08\x62\x61lloons\x18\x0c \x01(\x0b\x32\t.BalloonsH\x00\x12(\n\x0e\x62idi_component\x18; \x01(\x0b\x32\x0e.BidiComponentH\x00\x12\x19\n\x06\x62utton\x18\x13 \x01(\x0b\x32\x07.ButtonH\x00\x12$\n\x0c\x62utton_group\x18\x37 \x01(\x0b\x32\x0c.ButtonGroupH\x00\x12*\n\x0f\x64ownload_button\x18+ \x01(\x0b\x32\x0f.DownloadButtonH\x00\x12$\n\x0c\x63\x61mera_input\x18- \x01(\x0b\x32\x0c.CameraInputH\x00\x12 \n\nchat_input\x18\x31 \x01(\x0b\x32\n.ChatInputH\x00\x12\x1d\n\x08\x63heckbox\x18\x14 \x01(\x0b\x32\t.CheckboxH\x00\x12$\n\x0c\x63olor_picker\x18# \x01(\x0b\x32\x0c.ColorPickerH\x00\x12\x30\n\x12\x63omponent_instance\x18% \x01(\x0b\x32\x12.ComponentInstanceH\x00\x12 \n\ndate_input\x18\x1b \x01(\x0b\x32\n.DateInputH\x00\x12.\n\x12\x64\x65\x63k_gl_json_chart\x18\" \x01(\x0b\x32\x10.DeckGlJsonChartH\x00\x12 \n\ndoc_string\x18\x07 \x01(\x0b\x32\n.DocStringH\x00\x12\x17\n\x05\x65mpty\x18\x02 \x01(\x0b\x32\x06.EmptyH\x00\x12\x1f\n\texception\x18\x08 \x01(\x0b\x32\n.ExceptionH\x00\x12\x1b\n\x07\x66\x61vicon\x18$ \x01(\x0b\x32\x08.FaviconH\x00\x12\x1d\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18? \x01(\x0b\x32\t.FeedbackH\x00\x12&\n\rfile_uploader\x18! \x01(\x0b\x32\r.FileUploaderH\x00\x12(\n\x0egraphviz_chart\x18\x12 \x01(\x0b\x32\x0e.GraphVizChartH\x00\x12\x15\n\x04html\x18\x36 \x01(\x0b\x32\x05.HtmlH\x00\x12\x19\n\x06iframe\x18& \x01(\x0b\x32\x07.IFrameH\x00\x12\x1a\n\x04imgs\x18\x06 \x01(\x0b\x32\n.ImageListH\x00\x12\x15\n\x04json\x18\x1f \x01(\x0b\x32\x05.JsonH\x00\x12\"\n\x0blink_button\x18\x33 \x01(\x0b\x32\x0b.LinkButtonH\x00\x12\x1d\n\x08markdown\x18\x1d \x01(\x0b\x32\t.MarkdownH\x00\x12\x19\n\x06metric\x18* \x01(\x0b\x32\x07.MetricH\x00\x12#\n\x0bmultiselect\x18\x1c \x01(\x0b\x32\x0c.MultiSelectH\x00\x12$\n\x0cnumber_input\x18 \x01(\x0b\x32\x0c.NumberInputH\x00\x12\x1e\n\tpage_link\x18\x35 \x01(\x0b\x32\t.PageLinkH\x00\x12$\n\x0cplotly_chart\x18\x10 \x01(\x0b\x32\x0c.PlotlyChartH\x00\x12\x1d\n\x08progress\x18\x05 \x01(\x0b\x32\t.ProgressH\x00\x12\x17\n\x05radio\x18\x17 \x01(\x0b\x32\x06.RadioH\x00\x12\x1f\n\tselectbox\x18\x19 \x01(\x0b\x32\n.SelectboxH\x00\x12\x1d\n\x08skeleton\x18\x34 \x01(\x0b\x32\t.SkeletonH\x00\x12\x19\n\x06slider\x18\x15 \x01(\x0b\x32\x07.SliderH\x00\x12\x15\n\x04snow\x18. \x01(\x0b\x32\x05.SnowH\x00\x12\x17\n\x05space\x18< \x01(\x0b\x32\x06.SpaceH\x00\x12\x1b\n\x07spinner\x18, \x01(\x0b\x32\x08.SpinnerH\x00\x12\x15\n\x04text\x18\x01 \x01(\x0b\x32\x05.TextH\x00\x12\x1e\n\ttext_area\x18\x16 \x01(\x0b\x32\t.TextAreaH\x00\x12 \n\ntext_input\x18\x18 \x01(\x0b\x32\n.TextInputH\x00\x12 \n\ntime_input\x18\x1a \x01(\x0b\x32\n.TimeInputH\x00\x12)\n\x0f\x64\x61te_time_input\x18> \x01(\x0b\x32\x0e.DateTimeInputH\x00\x12\x17\n\x05toast\x18\x32 \x01(\x0b\x32\x06.ToastH\x00\x12\x17\n\x05video\x18\x0e \x01(\x0b\x32\x06.VideoH\x00\x12\x1b\n\x07heading\x18/ \x01(\x0b\x32\x08.HeadingH\x00\x12\x15\n\x04\x63ode\x18\x30 \x01(\x0b\x32\x05.CodeH\x00\x42\x06\n\x04typeB\x10\n\x0e_height_configB\x0f\n\r_width_configB\x18\n\x16_text_alignment_configJ\x04\x08\x03\x10\x04J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x11\x10\x12\x62\x06proto3')
|
|
73
74
|
|
|
74
75
|
_globals = globals()
|
|
75
76
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
76
77
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Element_pb2', _globals)
|
|
77
78
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
78
79
|
DESCRIPTOR._loaded_options = None
|
|
79
|
-
_globals['_ELEMENT']._serialized_start=
|
|
80
|
-
_globals['_ELEMENT']._serialized_end=
|
|
80
|
+
_globals['_ELEMENT']._serialized_start=1860
|
|
81
|
+
_globals['_ELEMENT']._serialized_end=3859
|
|
81
82
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Element_pb2.pyi
CHANGED
|
@@ -21,7 +21,6 @@ from google.protobuf import descriptor as _descriptor
|
|
|
21
21
|
from google.protobuf import message as _message
|
|
22
22
|
from streamlit.proto import Alert_pb2 as _Alert_pb2
|
|
23
23
|
from streamlit.proto import ArrowVegaLiteChart_pb2 as _ArrowVegaLiteChart_pb2
|
|
24
|
-
from streamlit.proto import Arrow_pb2 as _Arrow_pb2
|
|
25
24
|
from streamlit.proto import AudioInput_pb2 as _AudioInput_pb2
|
|
26
25
|
from streamlit.proto import Audio_pb2 as _Audio_pb2
|
|
27
26
|
from streamlit.proto import Balloons_pb2 as _Balloons_pb2
|
|
@@ -34,6 +33,7 @@ from streamlit.proto import Checkbox_pb2 as _Checkbox_pb2
|
|
|
34
33
|
from streamlit.proto import Code_pb2 as _Code_pb2
|
|
35
34
|
from streamlit.proto import ColorPicker_pb2 as _ColorPicker_pb2
|
|
36
35
|
from streamlit.proto import Components_pb2 as _Components_pb2
|
|
36
|
+
from streamlit.proto import Dataframe_pb2 as _Dataframe_pb2
|
|
37
37
|
from streamlit.proto import DateInput_pb2 as _DateInput_pb2
|
|
38
38
|
from streamlit.proto import DateTimeInput_pb2 as _DateTimeInput_pb2
|
|
39
39
|
from streamlit.proto import DeckGlJsonChart_pb2 as _DeckGlJsonChart_pb2
|
|
@@ -66,6 +66,7 @@ from streamlit.proto import Slider_pb2 as _Slider_pb2
|
|
|
66
66
|
from streamlit.proto import Snow_pb2 as _Snow_pb2
|
|
67
67
|
from streamlit.proto import Space_pb2 as _Space_pb2
|
|
68
68
|
from streamlit.proto import Spinner_pb2 as _Spinner_pb2
|
|
69
|
+
from streamlit.proto import Table_pb2 as _Table_pb2
|
|
69
70
|
from streamlit.proto import TextAlignmentConfig_pb2 as _TextAlignmentConfig_pb2
|
|
70
71
|
from streamlit.proto import TextArea_pb2 as _TextArea_pb2
|
|
71
72
|
from streamlit.proto import TextInput_pb2 as _TextInput_pb2
|
|
@@ -95,8 +96,8 @@ class Element(_message.Message):
|
|
|
95
96
|
WIDTH_CONFIG_FIELD_NUMBER: _builtins.int
|
|
96
97
|
TEXT_ALIGNMENT_CONFIG_FIELD_NUMBER: _builtins.int
|
|
97
98
|
ALERT_FIELD_NUMBER: _builtins.int
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
DATAFRAME_FIELD_NUMBER: _builtins.int
|
|
100
|
+
TABLE_FIELD_NUMBER: _builtins.int
|
|
100
101
|
ARROW_VEGA_LITE_CHART_FIELD_NUMBER: _builtins.int
|
|
101
102
|
AUDIO_FIELD_NUMBER: _builtins.int
|
|
102
103
|
AUDIO_INPUT_FIELD_NUMBER: _builtins.int
|
|
@@ -158,9 +159,9 @@ class Element(_message.Message):
|
|
|
158
159
|
@_builtins.property
|
|
159
160
|
def alert(self) -> _Alert_pb2.Alert: ...
|
|
160
161
|
@_builtins.property
|
|
161
|
-
def
|
|
162
|
+
def dataframe(self) -> _Dataframe_pb2.Dataframe: ...
|
|
162
163
|
@_builtins.property
|
|
163
|
-
def
|
|
164
|
+
def table(self) -> _Table_pb2.Table: ...
|
|
164
165
|
@_builtins.property
|
|
165
166
|
def arrow_vega_lite_chart(self) -> _ArrowVegaLiteChart_pb2.ArrowVegaLiteChart: ...
|
|
166
167
|
@_builtins.property
|
|
@@ -270,8 +271,8 @@ class Element(_message.Message):
|
|
|
270
271
|
width_config: _WidthConfig_pb2.WidthConfig | None = ...,
|
|
271
272
|
text_alignment_config: _TextAlignmentConfig_pb2.TextAlignmentConfig | None = ...,
|
|
272
273
|
alert: _Alert_pb2.Alert | None = ...,
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
dataframe: _Dataframe_pb2.Dataframe | None = ...,
|
|
275
|
+
table: _Table_pb2.Table | None = ...,
|
|
275
276
|
arrow_vega_lite_chart: _ArrowVegaLiteChart_pb2.ArrowVegaLiteChart | None = ...,
|
|
276
277
|
audio: _Audio_pb2.Audio | None = ...,
|
|
277
278
|
audio_input: _AudioInput_pb2.AudioInput | None = ...,
|
|
@@ -323,9 +324,9 @@ class Element(_message.Message):
|
|
|
323
324
|
heading: _Heading_pb2.Heading | None = ...,
|
|
324
325
|
code: _Code_pb2.Code | None = ...,
|
|
325
326
|
) -> None: ...
|
|
326
|
-
_HasFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "
|
|
327
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bidi_component", b"bidi_component", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "dataframe", b"dataframe", "date_input", b"date_input", "date_time_input", b"date_time_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "feedback", b"feedback", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "space", b"space", "spinner", b"spinner", "table", b"table", "text", b"text", "text_alignment_config", b"text_alignment_config", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "video", b"video", "width_config", b"width_config"] # noqa: Y015
|
|
327
328
|
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
328
|
-
_ClearFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "
|
|
329
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_text_alignment_config", b"_text_alignment_config", "_width_config", b"_width_config", "alert", b"alert", "arrow_vega_lite_chart", b"arrow_vega_lite_chart", "audio", b"audio", "audio_input", b"audio_input", "balloons", b"balloons", "bidi_component", b"bidi_component", "button", b"button", "button_group", b"button_group", "camera_input", b"camera_input", "chat_input", b"chat_input", "checkbox", b"checkbox", "code", b"code", "color_picker", b"color_picker", "component_instance", b"component_instance", "dataframe", b"dataframe", "date_input", b"date_input", "date_time_input", b"date_time_input", "deck_gl_json_chart", b"deck_gl_json_chart", "doc_string", b"doc_string", "download_button", b"download_button", "empty", b"empty", "exception", b"exception", "favicon", b"favicon", "feedback", b"feedback", "file_uploader", b"file_uploader", "graphviz_chart", b"graphviz_chart", "heading", b"heading", "height_config", b"height_config", "html", b"html", "iframe", b"iframe", "imgs", b"imgs", "json", b"json", "link_button", b"link_button", "markdown", b"markdown", "metric", b"metric", "multiselect", b"multiselect", "number_input", b"number_input", "page_link", b"page_link", "plotly_chart", b"plotly_chart", "progress", b"progress", "radio", b"radio", "selectbox", b"selectbox", "skeleton", b"skeleton", "slider", b"slider", "snow", b"snow", "space", b"space", "spinner", b"spinner", "table", b"table", "text", b"text", "text_alignment_config", b"text_alignment_config", "text_area", b"text_area", "text_input", b"text_input", "time_input", b"time_input", "toast", b"toast", "type", b"type", "video", b"video", "width_config", b"width_config"] # noqa: Y015
|
|
329
330
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
330
331
|
_WhichOneofReturnType__height_config: _TypeAlias = _typing.Literal["height_config"] # noqa: Y015
|
|
331
332
|
_WhichOneofArgType__height_config: _TypeAlias = _typing.Literal["_height_config", b"_height_config"] # noqa: Y015
|
|
@@ -333,7 +334,7 @@ class Element(_message.Message):
|
|
|
333
334
|
_WhichOneofArgType__text_alignment_config: _TypeAlias = _typing.Literal["_text_alignment_config", b"_text_alignment_config"] # noqa: Y015
|
|
334
335
|
_WhichOneofReturnType__width_config: _TypeAlias = _typing.Literal["width_config"] # noqa: Y015
|
|
335
336
|
_WhichOneofArgType__width_config: _TypeAlias = _typing.Literal["_width_config", b"_width_config"] # noqa: Y015
|
|
336
|
-
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["alert", "
|
|
337
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["alert", "dataframe", "table", "arrow_vega_lite_chart", "audio", "audio_input", "balloons", "bidi_component", "button", "button_group", "download_button", "camera_input", "chat_input", "checkbox", "color_picker", "component_instance", "date_input", "deck_gl_json_chart", "doc_string", "empty", "exception", "favicon", "feedback", "file_uploader", "graphviz_chart", "html", "iframe", "imgs", "json", "link_button", "markdown", "metric", "multiselect", "number_input", "page_link", "plotly_chart", "progress", "radio", "selectbox", "skeleton", "slider", "snow", "space", "spinner", "text", "text_area", "text_input", "time_input", "date_time_input", "toast", "video", "heading", "code"] # noqa: Y015
|
|
337
338
|
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
338
339
|
@_typing.overload
|
|
339
340
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__height_config) -> _WhichOneofReturnType__height_config | None: ...
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/Table.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
|
+
from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Table.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\x80\x01\n\x05Table\x12\x1e\n\narrow_data\x18\x01 \x01(\x0b\x32\n.ArrowData\x12&\n\x0b\x62order_mode\x18\x02 \x01(\x0e\x32\x11.Table.BorderMode\"/\n\nBorderMode\x12\x07\n\x03\x41LL\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\x62\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Table_pb2', _globals)
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_TABLE']._serialized_start=65
|
|
26
|
+
_globals['_TABLE']._serialized_end=193
|
|
27
|
+
_globals['_TABLE_BORDERMODE']._serialized_start=146
|
|
28
|
+
_globals['_TABLE_BORDERMODE']._serialized_end=193
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|