streamlit-nightly 1.35.1.dev20240602__py2.py3-none-any.whl → 1.35.1.dev20240604__py2.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/commands/navigation.py +8 -5
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/form.py +8 -3
- streamlit/elements/layouts.py +11 -3
- streamlit/elements/lib/policies.py +28 -2
- streamlit/elements/map.py +6 -6
- streamlit/elements/plotly_chart.py +3 -0
- streamlit/elements/pyplot.py +6 -5
- streamlit/elements/vega_charts.py +26 -16
- streamlit/elements/widgets/button.py +28 -11
- streamlit/elements/widgets/camera_input.py +2 -0
- streamlit/elements/widgets/chat.py +7 -6
- streamlit/elements/widgets/checkbox.py +2 -0
- streamlit/elements/widgets/color_picker.py +2 -0
- streamlit/elements/widgets/data_editor.py +2 -2
- streamlit/elements/widgets/file_uploader.py +2 -0
- streamlit/elements/widgets/multiselect.py +2 -0
- streamlit/elements/widgets/number_input.py +2 -0
- streamlit/elements/widgets/radio.py +2 -0
- streamlit/elements/widgets/selectbox.py +2 -0
- streamlit/elements/widgets/slider.py +2 -0
- streamlit/elements/widgets/text_widgets.py +4 -0
- streamlit/elements/widgets/time_widgets.py +4 -0
- streamlit/elements/write.py +3 -0
- streamlit/hello/Hello.py +22 -28
- streamlit/hello/streamlit_app.py +37 -0
- streamlit/proto/Alert_pb2.py +12 -11
- streamlit/proto/Alert_pb2.pyi +4 -2
- streamlit/proto/AppPage_pb2.py +10 -9
- streamlit/proto/AppPage_pb2.pyi +4 -7
- streamlit/proto/ArrowNamedDataSet_pb2.py +10 -9
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +6 -8
- streamlit/proto/ArrowVegaLiteChart_pb2.py +10 -9
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +16 -16
- streamlit/proto/Arrow_pb2.py +16 -15
- streamlit/proto/Arrow_pb2.pyi +14 -8
- streamlit/proto/Audio_pb2.py +10 -9
- streamlit/proto/Audio_pb2.pyi +4 -7
- streamlit/proto/AutoRerun_pb2.py +9 -8
- streamlit/proto/AutoRerun_pb2.pyi +4 -7
- streamlit/proto/BackMsg_pb2.py +10 -9
- streamlit/proto/BackMsg_pb2.pyi +18 -19
- streamlit/proto/Balloons_pb2.py +10 -9
- streamlit/proto/Balloons_pb2.pyi +4 -7
- streamlit/proto/Block_pb2.py +34 -33
- streamlit/proto/Block_pb2.pyi +31 -19
- streamlit/proto/BokehChart_pb2.py +10 -9
- streamlit/proto/BokehChart_pb2.pyi +4 -7
- streamlit/proto/Button_pb2.py +10 -9
- streamlit/proto/Button_pb2.pyi +4 -7
- streamlit/proto/CameraInput_pb2.py +10 -9
- streamlit/proto/CameraInput_pb2.pyi +5 -8
- streamlit/proto/ChatInput_pb2.py +12 -11
- streamlit/proto/ChatInput_pb2.pyi +4 -2
- streamlit/proto/Checkbox_pb2.py +12 -11
- streamlit/proto/Checkbox_pb2.pyi +6 -4
- streamlit/proto/ClientState_pb2.py +10 -9
- streamlit/proto/ClientState_pb2.pyi +7 -10
- streamlit/proto/Code_pb2.py +10 -9
- streamlit/proto/Code_pb2.pyi +4 -7
- streamlit/proto/ColorPicker_pb2.py +10 -9
- streamlit/proto/ColorPicker_pb2.pyi +5 -8
- streamlit/proto/Common_pb2.py +32 -31
- streamlit/proto/Common_pb2.pyi +32 -23
- streamlit/proto/Components_pb2.py +18 -17
- streamlit/proto/Components_pb2.pyi +25 -23
- streamlit/proto/DataFrame_pb2.py +38 -37
- streamlit/proto/DataFrame_pb2.pyi +52 -33
- streamlit/proto/DateInput_pb2.py +10 -9
- streamlit/proto/DateInput_pb2.pyi +10 -13
- streamlit/proto/DeckGlJsonChart_pb2.py +10 -9
- streamlit/proto/DeckGlJsonChart_pb2.pyi +4 -7
- streamlit/proto/Delta_pb2.py +10 -9
- streamlit/proto/Delta_pb2.pyi +10 -10
- streamlit/proto/DocString_pb2.py +12 -11
- streamlit/proto/DocString_pb2.pyi +9 -10
- streamlit/proto/DownloadButton_pb2.py +10 -9
- streamlit/proto/DownloadButton_pb2.pyi +4 -7
- streamlit/proto/Element_pb2.py +10 -9
- streamlit/proto/Element_pb2.pyi +10 -9
- streamlit/proto/Empty_pb2.py +10 -9
- streamlit/proto/Empty_pb2.pyi +3 -0
- streamlit/proto/Exception_pb2.py +10 -9
- streamlit/proto/Exception_pb2.pyi +8 -10
- streamlit/proto/Favicon_pb2.py +10 -9
- streamlit/proto/Favicon_pb2.pyi +4 -7
- streamlit/proto/FileUploader_pb2.py +10 -9
- streamlit/proto/FileUploader_pb2.pyi +9 -11
- streamlit/proto/ForwardMsg_pb2.py +16 -15
- streamlit/proto/ForwardMsg_pb2.pyi +36 -24
- streamlit/proto/GitInfo_pb2.py +12 -11
- streamlit/proto/GitInfo_pb2.pyi +5 -3
- streamlit/proto/GraphVizChart_pb2.py +10 -9
- streamlit/proto/GraphVizChart_pb2.pyi +4 -7
- streamlit/proto/Heading_pb2.py +10 -9
- streamlit/proto/Heading_pb2.pyi +4 -7
- streamlit/proto/Html_pb2.py +10 -9
- streamlit/proto/Html_pb2.pyi +4 -7
- streamlit/proto/IFrame_pb2.py +10 -9
- streamlit/proto/IFrame_pb2.pyi +6 -9
- streamlit/proto/Image_pb2.py +12 -11
- streamlit/proto/Image_pb2.pyi +8 -10
- streamlit/proto/Json_pb2.py +10 -9
- streamlit/proto/Json_pb2.pyi +4 -7
- streamlit/proto/LabelVisibilityMessage_pb2.py +12 -11
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +4 -2
- streamlit/proto/LinkButton_pb2.py +10 -9
- streamlit/proto/LinkButton_pb2.pyi +4 -7
- streamlit/proto/Logo_pb2.py +10 -9
- streamlit/proto/Logo_pb2.pyi +4 -7
- streamlit/proto/Markdown_pb2.py +12 -11
- streamlit/proto/Markdown_pb2.pyi +4 -2
- streamlit/proto/Metric_pb2.py +14 -13
- streamlit/proto/Metric_pb2.pyi +6 -4
- streamlit/proto/MultiSelect_pb2.py +10 -9
- streamlit/proto/MultiSelect_pb2.pyi +11 -14
- streamlit/proto/NamedDataSet_pb2.py +10 -9
- streamlit/proto/NamedDataSet_pb2.pyi +6 -8
- streamlit/proto/Navigation_pb2.py +12 -11
- streamlit/proto/Navigation_pb2.pyi +7 -5
- streamlit/proto/NewSession_pb2.py +32 -31
- streamlit/proto/NewSession_pb2.pyi +52 -36
- streamlit/proto/NumberInput_pb2.py +12 -11
- streamlit/proto/NumberInput_pb2.pyi +8 -6
- streamlit/proto/PageConfig_pb2.py +16 -15
- streamlit/proto/PageConfig_pb2.pyi +8 -5
- streamlit/proto/PageInfo_pb2.py +10 -9
- streamlit/proto/PageInfo_pb2.pyi +4 -7
- streamlit/proto/PageLink_pb2.py +10 -9
- streamlit/proto/PageLink_pb2.pyi +6 -9
- streamlit/proto/PageNotFound_pb2.py +10 -9
- streamlit/proto/PageNotFound_pb2.pyi +4 -7
- streamlit/proto/PageProfile_pb2.py +14 -13
- streamlit/proto/PageProfile_pb2.pyi +15 -16
- streamlit/proto/PagesChanged_pb2.py +10 -9
- streamlit/proto/PagesChanged_pb2.pyi +4 -7
- streamlit/proto/ParentMessage_pb2.py +10 -9
- streamlit/proto/ParentMessage_pb2.pyi +4 -7
- streamlit/proto/PlotlyChart_pb2.py +14 -13
- streamlit/proto/PlotlyChart_pb2.pyi +13 -8
- streamlit/proto/Progress_pb2.py +10 -9
- streamlit/proto/Progress_pb2.pyi +4 -7
- streamlit/proto/Radio_pb2.py +10 -9
- streamlit/proto/Radio_pb2.pyi +8 -12
- streamlit/proto/RootContainer_pb2.py +10 -9
- streamlit/proto/RootContainer_pb2.pyi +2 -1
- streamlit/proto/Selectbox_pb2.py +10 -9
- streamlit/proto/Selectbox_pb2.pyi +9 -13
- streamlit/proto/SessionEvent_pb2.py +10 -9
- streamlit/proto/SessionEvent_pb2.pyi +7 -9
- streamlit/proto/SessionStatus_pb2.py +10 -9
- streamlit/proto/SessionStatus_pb2.pyi +4 -7
- streamlit/proto/Skeleton_pb2.py +12 -11
- streamlit/proto/Skeleton_pb2.pyi +6 -4
- streamlit/proto/Slider_pb2.py +14 -13
- streamlit/proto/Slider_pb2.pyi +12 -10
- streamlit/proto/Snow_pb2.py +10 -9
- streamlit/proto/Snow_pb2.pyi +4 -7
- streamlit/proto/Spinner_pb2.py +10 -9
- streamlit/proto/Spinner_pb2.pyi +4 -7
- streamlit/proto/TextArea_pb2.py +10 -9
- streamlit/proto/TextArea_pb2.pyi +6 -10
- streamlit/proto/TextInput_pb2.py +12 -11
- streamlit/proto/TextInput_pb2.pyi +7 -5
- streamlit/proto/Text_pb2.py +10 -9
- streamlit/proto/Text_pb2.pyi +4 -7
- streamlit/proto/TimeInput_pb2.py +10 -9
- streamlit/proto/TimeInput_pb2.pyi +7 -11
- streamlit/proto/Toast_pb2.py +10 -9
- streamlit/proto/Toast_pb2.pyi +4 -7
- streamlit/proto/VegaLiteChart_pb2.py +10 -9
- streamlit/proto/VegaLiteChart_pb2.pyi +9 -10
- streamlit/proto/Video_pb2.py +14 -13
- streamlit/proto/Video_pb2.pyi +10 -6
- streamlit/proto/WidgetStates_pb2.py +12 -11
- streamlit/proto/WidgetStates_pb2.pyi +11 -12
- streamlit/proto/openmetrics_data_model_pb2.py +42 -41
- streamlit/proto/openmetrics_data_model_pb2.pyi +64 -31
- streamlit/runtime/caching/cached_message_replay.py +14 -29
- streamlit/runtime/fragment.py +3 -0
- streamlit/runtime/scriptrunner/script_run_context.py +1 -0
- streamlit/runtime/secrets.py +14 -0
- streamlit/static/asset-manifest.json +19 -19
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{1074.73973756.chunk.js → 1074.a92bc15f.chunk.js} +1 -1
- streamlit/static/static/js/1307.36b77087.chunk.js +1 -0
- streamlit/static/static/js/1451.229b62c4.chunk.js +1 -0
- streamlit/static/static/js/2469.5a75ba8e.chunk.js +1 -0
- streamlit/static/static/js/3599.565b1eba.chunk.js +1 -0
- streamlit/static/static/js/{4477.1bd49702.chunk.js → 4477.87935ac8.chunk.js} +1 -1
- streamlit/static/static/js/4500.be0eb305.chunk.js +1 -0
- streamlit/static/static/js/4666.a9344a3a.chunk.js +1 -0
- streamlit/static/static/js/5441.87f335e6.chunk.js +1 -0
- streamlit/static/static/js/6013.f6083314.chunk.js +1 -0
- streamlit/static/static/js/{6718.802da17e.chunk.js → 6718.2e6586ef.chunk.js} +1 -1
- streamlit/static/static/js/7175.8f4014ec.chunk.js +1 -0
- streamlit/static/static/js/7602.a20a999b.chunk.js +1 -0
- streamlit/static/static/js/8148.1b2c085e.chunk.js +1 -0
- streamlit/static/static/js/8427.59805a7f.chunk.js +1 -0
- streamlit/static/static/js/{8492.0d93bd08.chunk.js → 8492.8ad745d1.chunk.js} +1 -1
- streamlit/static/static/js/8691.cb9c04cf.chunk.js +1 -0
- streamlit/static/static/js/main.ea823277.js +2 -0
- streamlit/type_util.py +7 -0
- streamlit/web/cli.py +2 -2
- streamlit/web/server/server.py +2 -2
- {streamlit_nightly-1.35.1.dev20240602.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/METADATA +5 -5
- {streamlit_nightly-1.35.1.dev20240602.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/RECORD +216 -215
- streamlit/static/static/js/1307.0f0cca93.chunk.js +0 -1
- streamlit/static/static/js/1451.3b0a3e31.chunk.js +0 -1
- streamlit/static/static/js/2469.09ea79bb.chunk.js +0 -1
- streamlit/static/static/js/4500.b6f348d1.chunk.js +0 -1
- streamlit/static/static/js/4666.c4b22a63.chunk.js +0 -1
- streamlit/static/static/js/5379.f08eddd1.chunk.js +0 -1
- streamlit/static/static/js/5441.1b94928f.chunk.js +0 -1
- streamlit/static/static/js/6013.4ba2d616.chunk.js +0 -1
- streamlit/static/static/js/7175.583ff733.chunk.js +0 -1
- streamlit/static/static/js/7602.e8abc06b.chunk.js +0 -1
- streamlit/static/static/js/8148.293984e0.chunk.js +0 -1
- streamlit/static/static/js/8427.bd0a7cf3.chunk.js +0 -1
- streamlit/static/static/js/8691.4211c305.chunk.js +0 -1
- streamlit/static/static/js/main.707da454.js +0 -2
- /streamlit/hello/{pages/0_Animation_Demo.py → Animation_Demo.py} +0 -0
- /streamlit/hello/{pages/3_DataFrame_Demo.py → Dataframe_Demo.py} +0 -0
- /streamlit/hello/{pages/2_Mapping_Demo.py → Mapping_Demo.py} +0 -0
- /streamlit/hello/{pages/1_Plotting_Demo.py → Plotting_Demo.py} +0 -0
- /streamlit/static/static/js/{main.707da454.js.LICENSE.txt → main.ea823277.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.35.1.dev20240602.data → streamlit_nightly-1.35.1.dev20240604.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.35.1.dev20240602.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.35.1.dev20240602.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.35.1.dev20240602.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/top_level.txt +0 -0
@@ -16,21 +16,18 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
See the License for the specific language governing permissions and
|
17
17
|
limitations under the License.
|
18
18
|
"""
|
19
|
+
|
19
20
|
import builtins
|
20
21
|
import collections.abc
|
21
22
|
import google.protobuf.descriptor
|
22
23
|
import google.protobuf.internal.containers
|
23
24
|
import google.protobuf.message
|
24
25
|
import streamlit.proto.Common_pb2
|
25
|
-
import
|
26
|
-
|
27
|
-
if sys.version_info >= (3, 8):
|
28
|
-
import typing as typing_extensions
|
29
|
-
else:
|
30
|
-
import typing_extensions
|
26
|
+
import typing
|
31
27
|
|
32
28
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
33
29
|
|
30
|
+
@typing.final
|
34
31
|
class DataFrame(google.protobuf.message.Message):
|
35
32
|
"""DEPRECATED: This proto message is deprecated and unsused. Use Arrow.proto instead.
|
36
33
|
Represents a pandas DataFrame.
|
@@ -45,15 +42,19 @@ class DataFrame(google.protobuf.message.Message):
|
|
45
42
|
@property
|
46
43
|
def data(self) -> global___Table:
|
47
44
|
"""The data in the array."""
|
45
|
+
|
48
46
|
@property
|
49
47
|
def index(self) -> global___Index:
|
50
48
|
"""List of row names. (Multiple implies a multi-index.)"""
|
49
|
+
|
51
50
|
@property
|
52
51
|
def columns(self) -> global___Index:
|
53
52
|
"""List of column names. (Multiple implies a multi-index.)"""
|
53
|
+
|
54
54
|
@property
|
55
55
|
def style(self) -> global___TableStyle:
|
56
56
|
"""Cell style and formatting data. Optional."""
|
57
|
+
|
57
58
|
def __init__(
|
58
59
|
self,
|
59
60
|
*,
|
@@ -62,11 +63,12 @@ class DataFrame(google.protobuf.message.Message):
|
|
62
63
|
columns: global___Index | None = ...,
|
63
64
|
style: global___TableStyle | None = ...,
|
64
65
|
) -> None: ...
|
65
|
-
def HasField(self, field_name:
|
66
|
-
def ClearField(self, field_name:
|
66
|
+
def HasField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "index", b"index", "style", b"style"]) -> builtins.bool: ...
|
67
|
+
def ClearField(self, field_name: typing.Literal["columns", b"columns", "data", b"data", "index", b"index", "style", b"style"]) -> None: ...
|
67
68
|
|
68
69
|
global___DataFrame = DataFrame
|
69
70
|
|
71
|
+
@typing.final
|
70
72
|
class Index(google.protobuf.message.Message):
|
71
73
|
"""An index in the dataFrame"""
|
72
74
|
|
@@ -86,17 +88,21 @@ class Index(google.protobuf.message.Message):
|
|
86
88
|
@property
|
87
89
|
def multi_index(self) -> global___MultiIndex:
|
88
90
|
"""CategoricalIndex categorical_index = 3;"""
|
91
|
+
|
89
92
|
@property
|
90
93
|
def datetime_index(self) -> global___DatetimeIndex:
|
91
94
|
"""IntervalIndex interval_index = 5;"""
|
95
|
+
|
92
96
|
@property
|
93
97
|
def timedelta_index(self) -> global___TimedeltaIndex: ...
|
94
98
|
@property
|
95
99
|
def int_64_index(self) -> global___Int64Index:
|
96
100
|
"""PeriodIndex period_index = 8;"""
|
101
|
+
|
97
102
|
@property
|
98
103
|
def float_64_index(self) -> global___Float64Index:
|
99
104
|
"""UInt64Index uint_64_index = 10;"""
|
105
|
+
|
100
106
|
def __init__(
|
101
107
|
self,
|
102
108
|
*,
|
@@ -108,12 +114,13 @@ class Index(google.protobuf.message.Message):
|
|
108
114
|
int_64_index: global___Int64Index | None = ...,
|
109
115
|
float_64_index: global___Float64Index | None = ...,
|
110
116
|
) -> None: ...
|
111
|
-
def HasField(self, field_name:
|
112
|
-
def ClearField(self, field_name:
|
113
|
-
def WhichOneof(self, oneof_group:
|
117
|
+
def HasField(self, field_name: typing.Literal["datetime_index", b"datetime_index", "float_64_index", b"float_64_index", "int_64_index", b"int_64_index", "multi_index", b"multi_index", "plain_index", b"plain_index", "range_index", b"range_index", "timedelta_index", b"timedelta_index", "type", b"type"]) -> builtins.bool: ...
|
118
|
+
def ClearField(self, field_name: typing.Literal["datetime_index", b"datetime_index", "float_64_index", b"float_64_index", "int_64_index", b"int_64_index", "multi_index", b"multi_index", "plain_index", b"plain_index", "range_index", b"range_index", "timedelta_index", b"timedelta_index", "type", b"type"]) -> None: ...
|
119
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["plain_index", "range_index", "multi_index", "datetime_index", "timedelta_index", "int_64_index", "float_64_index"] | None: ...
|
114
120
|
|
115
121
|
global___Index = Index
|
116
122
|
|
123
|
+
@typing.final
|
117
124
|
class PlainIndex(google.protobuf.message.Message):
|
118
125
|
"""Basic, 1D index."""
|
119
126
|
|
@@ -127,11 +134,12 @@ class PlainIndex(google.protobuf.message.Message):
|
|
127
134
|
*,
|
128
135
|
data: global___AnyArray | None = ...,
|
129
136
|
) -> None: ...
|
130
|
-
def HasField(self, field_name:
|
131
|
-
def ClearField(self, field_name:
|
137
|
+
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
138
|
+
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
132
139
|
|
133
140
|
global___PlainIndex = PlainIndex
|
134
141
|
|
142
|
+
@typing.final
|
135
143
|
class RangeIndex(google.protobuf.message.Message):
|
136
144
|
"""Range index. See:
|
137
145
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.RangeIndex.html
|
@@ -149,10 +157,11 @@ class RangeIndex(google.protobuf.message.Message):
|
|
149
157
|
start: builtins.int = ...,
|
150
158
|
stop: builtins.int = ...,
|
151
159
|
) -> None: ...
|
152
|
-
def ClearField(self, field_name:
|
160
|
+
def ClearField(self, field_name: typing.Literal["start", b"start", "stop", b"stop"]) -> None: ...
|
153
161
|
|
154
162
|
global___RangeIndex = RangeIndex
|
155
163
|
|
164
|
+
@typing.final
|
156
165
|
class MultiIndex(google.protobuf.message.Message):
|
157
166
|
"""A multi-level, or hierarchical, Index. See:
|
158
167
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.MultiIndex.html
|
@@ -172,10 +181,11 @@ class MultiIndex(google.protobuf.message.Message):
|
|
172
181
|
levels: collections.abc.Iterable[global___Index] | None = ...,
|
173
182
|
labels: collections.abc.Iterable[streamlit.proto.Common_pb2.Int32Array] | None = ...,
|
174
183
|
) -> None: ...
|
175
|
-
def ClearField(self, field_name:
|
184
|
+
def ClearField(self, field_name: typing.Literal["labels", b"labels", "levels", b"levels"]) -> None: ...
|
176
185
|
|
177
186
|
global___MultiIndex = MultiIndex
|
178
187
|
|
188
|
+
@typing.final
|
179
189
|
class DatetimeIndex(google.protobuf.message.Message):
|
180
190
|
"""A date represented internally as nano second epoch int64. See:
|
181
191
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DatetimeIndex.html
|
@@ -191,11 +201,12 @@ class DatetimeIndex(google.protobuf.message.Message):
|
|
191
201
|
*,
|
192
202
|
data: streamlit.proto.Common_pb2.StringArray | None = ...,
|
193
203
|
) -> None: ...
|
194
|
-
def HasField(self, field_name:
|
195
|
-
def ClearField(self, field_name:
|
204
|
+
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
205
|
+
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
196
206
|
|
197
207
|
global___DatetimeIndex = DatetimeIndex
|
198
208
|
|
209
|
+
@typing.final
|
199
210
|
class TimedeltaIndex(google.protobuf.message.Message):
|
200
211
|
"""A time interval represented internally as nano second epoch int64. See:
|
201
212
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.TimedeltaIndex.html
|
@@ -211,11 +222,12 @@ class TimedeltaIndex(google.protobuf.message.Message):
|
|
211
222
|
*,
|
212
223
|
data: streamlit.proto.Common_pb2.Int64Array | None = ...,
|
213
224
|
) -> None: ...
|
214
|
-
def HasField(self, field_name:
|
215
|
-
def ClearField(self, field_name:
|
225
|
+
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
226
|
+
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
216
227
|
|
217
228
|
global___TimedeltaIndex = TimedeltaIndex
|
218
229
|
|
230
|
+
@typing.final
|
219
231
|
class Int64Index(google.protobuf.message.Message):
|
220
232
|
"""See:
|
221
233
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.Int64Index.html
|
@@ -231,11 +243,12 @@ class Int64Index(google.protobuf.message.Message):
|
|
231
243
|
*,
|
232
244
|
data: streamlit.proto.Common_pb2.Int64Array | None = ...,
|
233
245
|
) -> None: ...
|
234
|
-
def HasField(self, field_name:
|
235
|
-
def ClearField(self, field_name:
|
246
|
+
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
247
|
+
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
236
248
|
|
237
249
|
global___Int64Index = Int64Index
|
238
250
|
|
251
|
+
@typing.final
|
239
252
|
class Float64Index(google.protobuf.message.Message):
|
240
253
|
"""See:
|
241
254
|
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.Int64Index.html
|
@@ -251,11 +264,12 @@ class Float64Index(google.protobuf.message.Message):
|
|
251
264
|
*,
|
252
265
|
data: streamlit.proto.Common_pb2.DoubleArray | None = ...,
|
253
266
|
) -> None: ...
|
254
|
-
def HasField(self, field_name:
|
255
|
-
def ClearField(self, field_name:
|
267
|
+
def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
|
268
|
+
def ClearField(self, field_name: typing.Literal["data", b"data"]) -> None: ...
|
256
269
|
|
257
270
|
global___Float64Index = Float64Index
|
258
271
|
|
272
|
+
@typing.final
|
259
273
|
class CSSStyle(google.protobuf.message.Message):
|
260
274
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
261
275
|
|
@@ -269,18 +283,17 @@ class CSSStyle(google.protobuf.message.Message):
|
|
269
283
|
property: builtins.str = ...,
|
270
284
|
value: builtins.str = ...,
|
271
285
|
) -> None: ...
|
272
|
-
def ClearField(self, field_name:
|
286
|
+
def ClearField(self, field_name: typing.Literal["property", b"property", "value", b"value"]) -> None: ...
|
273
287
|
|
274
288
|
global___CSSStyle = CSSStyle
|
275
289
|
|
290
|
+
@typing.final
|
276
291
|
class CellStyle(google.protobuf.message.Message):
|
277
292
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
278
293
|
|
279
294
|
CSS_FIELD_NUMBER: builtins.int
|
280
295
|
DISPLAY_VALUE_FIELD_NUMBER: builtins.int
|
281
296
|
HAS_DISPLAY_VALUE_FIELD_NUMBER: builtins.int
|
282
|
-
@property
|
283
|
-
def css(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CSSStyle]: ...
|
284
297
|
display_value: builtins.str
|
285
298
|
"""e.g. '21.96%'"""
|
286
299
|
has_display_value: builtins.bool
|
@@ -288,6 +301,8 @@ class CellStyle(google.protobuf.message.Message):
|
|
288
301
|
this extra bool to indicate the presence of a user-specified
|
289
302
|
display_value, which itself could be ''.
|
290
303
|
"""
|
304
|
+
@property
|
305
|
+
def css(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CSSStyle]: ...
|
291
306
|
def __init__(
|
292
307
|
self,
|
293
308
|
*,
|
@@ -295,10 +310,11 @@ class CellStyle(google.protobuf.message.Message):
|
|
295
310
|
display_value: builtins.str = ...,
|
296
311
|
has_display_value: builtins.bool = ...,
|
297
312
|
) -> None: ...
|
298
|
-
def ClearField(self, field_name:
|
313
|
+
def ClearField(self, field_name: typing.Literal["css", b"css", "display_value", b"display_value", "has_display_value", b"has_display_value"]) -> None: ...
|
299
314
|
|
300
315
|
global___CellStyle = CellStyle
|
301
316
|
|
317
|
+
@typing.final
|
302
318
|
class CellStyleArray(google.protobuf.message.Message):
|
303
319
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
304
320
|
|
@@ -310,10 +326,11 @@ class CellStyleArray(google.protobuf.message.Message):
|
|
310
326
|
*,
|
311
327
|
styles: collections.abc.Iterable[global___CellStyle] | None = ...,
|
312
328
|
) -> None: ...
|
313
|
-
def ClearField(self, field_name:
|
329
|
+
def ClearField(self, field_name: typing.Literal["styles", b"styles"]) -> None: ...
|
314
330
|
|
315
331
|
global___CellStyleArray = CellStyleArray
|
316
332
|
|
333
|
+
@typing.final
|
317
334
|
class AnyArray(google.protobuf.message.Message):
|
318
335
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
319
336
|
|
@@ -341,12 +358,13 @@ class AnyArray(google.protobuf.message.Message):
|
|
341
358
|
datetimes: streamlit.proto.Common_pb2.StringArray | None = ...,
|
342
359
|
timedeltas: streamlit.proto.Common_pb2.Int64Array | None = ...,
|
343
360
|
) -> None: ...
|
344
|
-
def HasField(self, field_name:
|
345
|
-
def ClearField(self, field_name:
|
346
|
-
def WhichOneof(self, oneof_group:
|
361
|
+
def HasField(self, field_name: typing.Literal["datetimes", b"datetimes", "doubles", b"doubles", "int64s", b"int64s", "strings", b"strings", "timedeltas", b"timedeltas", "type", b"type"]) -> builtins.bool: ...
|
362
|
+
def ClearField(self, field_name: typing.Literal["datetimes", b"datetimes", "doubles", b"doubles", "int64s", b"int64s", "strings", b"strings", "timedeltas", b"timedeltas", "type", b"type"]) -> None: ...
|
363
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["strings", "doubles", "int64s", "datetimes", "timedeltas"] | None: ...
|
347
364
|
|
348
365
|
global___AnyArray = AnyArray
|
349
366
|
|
367
|
+
@typing.final
|
350
368
|
class Table(google.protobuf.message.Message):
|
351
369
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
352
370
|
|
@@ -358,10 +376,11 @@ class Table(google.protobuf.message.Message):
|
|
358
376
|
*,
|
359
377
|
cols: collections.abc.Iterable[global___AnyArray] | None = ...,
|
360
378
|
) -> None: ...
|
361
|
-
def ClearField(self, field_name:
|
379
|
+
def ClearField(self, field_name: typing.Literal["cols", b"cols"]) -> None: ...
|
362
380
|
|
363
381
|
global___Table = Table
|
364
382
|
|
383
|
+
@typing.final
|
365
384
|
class TableStyle(google.protobuf.message.Message):
|
366
385
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
367
386
|
|
@@ -373,6 +392,6 @@ class TableStyle(google.protobuf.message.Message):
|
|
373
392
|
*,
|
374
393
|
cols: collections.abc.Iterable[global___CellStyleArray] | None = ...,
|
375
394
|
) -> None: ...
|
376
|
-
def ClearField(self, field_name:
|
395
|
+
def ClearField(self, field_name: typing.Literal["cols", b"cols"]) -> None: ...
|
377
396
|
|
378
397
|
global___TableStyle = TableStyle
|
streamlit/proto/DateInput_pb2.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: streamlit/proto/DateInput.proto
|
4
|
+
# Protobuf Python Version: 5.26.1
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -16,12 +17,12 @@ from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_do
|
|
16
17
|
|
17
18
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DateInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xf9\x01\n\tDateInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\t\x12\x0b\n\x03min\x18\x04 \x01(\t\x12\x0b\n\x03max\x18\x05 \x01(\t\x12\x10\n\x08is_range\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\r\n\x05value\x18\t \x03(\t\x12\x11\n\tset_value\x18\n \x01(\x08\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0e\n\x06\x66ormat\x18\r \x01(\tB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44\x61teInputProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DateInputProto'
|
25
|
-
_DATEINPUT._serialized_start=82
|
26
|
-
_DATEINPUT._serialized_end=331
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DateInput_pb2', _globals)
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
24
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DateInputProto'
|
26
|
+
_globals['_DATEINPUT']._serialized_start=82
|
27
|
+
_globals['_DATEINPUT']._serialized_end=331
|
27
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -16,21 +16,18 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
See the License for the specific language governing permissions and
|
17
17
|
limitations under the License.
|
18
18
|
"""
|
19
|
+
|
19
20
|
import builtins
|
20
21
|
import collections.abc
|
21
22
|
import google.protobuf.descriptor
|
22
23
|
import google.protobuf.internal.containers
|
23
24
|
import google.protobuf.message
|
24
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
25
|
-
import
|
26
|
-
|
27
|
-
if sys.version_info >= (3, 8):
|
28
|
-
import typing as typing_extensions
|
29
|
-
else:
|
30
|
-
import typing_extensions
|
26
|
+
import typing
|
31
27
|
|
32
28
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
33
29
|
|
30
|
+
@typing.final
|
34
31
|
class DateInput(google.protobuf.message.Message):
|
35
32
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
36
33
|
|
@@ -49,20 +46,20 @@ class DateInput(google.protobuf.message.Message):
|
|
49
46
|
FORMAT_FIELD_NUMBER: builtins.int
|
50
47
|
id: builtins.str
|
51
48
|
label: builtins.str
|
52
|
-
@property
|
53
|
-
def default(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
54
49
|
min: builtins.str
|
55
50
|
max: builtins.str
|
56
51
|
is_range: builtins.bool
|
57
52
|
help: builtins.str
|
58
53
|
form_id: builtins.str
|
59
|
-
@property
|
60
|
-
def value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
61
54
|
set_value: builtins.bool
|
62
55
|
disabled: builtins.bool
|
56
|
+
format: builtins.str
|
57
|
+
@property
|
58
|
+
def default(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
59
|
+
@property
|
60
|
+
def value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
63
61
|
@property
|
64
62
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
65
|
-
format: builtins.str
|
66
63
|
def __init__(
|
67
64
|
self,
|
68
65
|
*,
|
@@ -80,7 +77,7 @@ class DateInput(google.protobuf.message.Message):
|
|
80
77
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
81
78
|
format: builtins.str = ...,
|
82
79
|
) -> None: ...
|
83
|
-
def HasField(self, field_name:
|
84
|
-
def ClearField(self, field_name:
|
80
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
81
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
85
82
|
|
86
83
|
global___DateInput = DateInput
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: streamlit/proto/DeckGlJsonChart.proto
|
4
|
+
# Protobuf Python Version: 5.26.1
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -15,12 +16,12 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%streamlit/proto/DeckGlJsonChart.proto\"o\n\x0f\x44\x65\x63kGlJsonChart\x12\x0c\n\x04json\x18\x01 \x01(\t\x12\x0f\n\x07tooltip\x18\x02 \x01(\t\x12\x1b\n\x13use_container_width\x18\x04 \x01(\x08\x12\n\n\x02id\x18\x05 \x01(\t\x12\x14\n\x0cmapbox_token\x18\x06 \x01(\tB4\n\x1c\x63om.snowflake.apps.streamlitB\x14\x44\x65\x63kGlJsonChartProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\024DeckGlJsonChartProto'
|
24
|
-
_DECKGLJSONCHART._serialized_start=41
|
25
|
-
_DECKGLJSONCHART._serialized_end=152
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DeckGlJsonChart_pb2', _globals)
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
23
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\024DeckGlJsonChartProto'
|
25
|
+
_globals['_DECKGLJSONCHART']._serialized_start=41
|
26
|
+
_globals['_DECKGLJSONCHART']._serialized_end=152
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
@@ -16,18 +16,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
See the License for the specific language governing permissions and
|
17
17
|
limitations under the License.
|
18
18
|
"""
|
19
|
+
|
19
20
|
import builtins
|
20
21
|
import google.protobuf.descriptor
|
21
22
|
import google.protobuf.message
|
22
|
-
import
|
23
|
-
|
24
|
-
if sys.version_info >= (3, 8):
|
25
|
-
import typing as typing_extensions
|
26
|
-
else:
|
27
|
-
import typing_extensions
|
23
|
+
import typing
|
28
24
|
|
29
25
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
30
26
|
|
27
|
+
@typing.final
|
31
28
|
class DeckGlJsonChart(google.protobuf.message.Message):
|
32
29
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
33
30
|
|
@@ -54,6 +51,6 @@ class DeckGlJsonChart(google.protobuf.message.Message):
|
|
54
51
|
id: builtins.str = ...,
|
55
52
|
mapbox_token: builtins.str = ...,
|
56
53
|
) -> None: ...
|
57
|
-
def ClearField(self, field_name:
|
54
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "json", b"json", "mapbox_token", b"mapbox_token", "tooltip", b"tooltip", "use_container_width", b"use_container_width"]) -> None: ...
|
58
55
|
|
59
56
|
global___DeckGlJsonChart = DeckGlJsonChart
|
streamlit/proto/Delta_pb2.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: streamlit/proto/Delta.proto
|
4
|
+
# Protobuf Python Version: 5.26.1
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -19,12 +20,12 @@ from streamlit.proto import ArrowNamedDataSet_pb2 as streamlit_dot_proto_dot_Arr
|
|
19
20
|
|
20
21
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Delta.proto\x1a\x1bstreamlit/proto/Block.proto\x1a\x1dstreamlit/proto/Element.proto\x1a\"streamlit/proto/NamedDataSet.proto\x1a\'streamlit/proto/ArrowNamedDataSet.proto\"\xb3\x01\n\x05\x44\x65lta\x12\x1f\n\x0bnew_element\x18\x03 \x01(\x0b\x32\x08.ElementH\x00\x12\x1b\n\tadd_block\x18\x06 \x01(\x0b\x32\x06.BlockH\x00\x12!\n\x08\x61\x64\x64_rows\x18\x05 \x01(\x0b\x32\r.NamedDataSetH\x00\x12,\n\x0e\x61rrow_add_rows\x18\x07 \x01(\x0b\x32\x12.ArrowNamedDataSetH\x00\x12\x13\n\x0b\x66ragment_id\x18\x08 \x01(\tB\x06\n\x04typeB*\n\x1c\x63om.snowflake.apps.streamlitB\nDeltaProtob\x06proto3')
|
21
22
|
|
22
|
-
|
23
|
-
_builder.
|
24
|
-
|
25
|
-
|
26
|
-
DESCRIPTOR.
|
27
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nDeltaProto'
|
28
|
-
_DELTA._serialized_start=169
|
29
|
-
_DELTA._serialized_end=348
|
23
|
+
_globals = globals()
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Delta_pb2', _globals)
|
26
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
27
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nDeltaProto'
|
29
|
+
_globals['_DELTA']._serialized_start=169
|
30
|
+
_globals['_DELTA']._serialized_end=348
|
30
31
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Delta_pb2.pyi
CHANGED
@@ -16,6 +16,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
See the License for the specific language governing permissions and
|
17
17
|
limitations under the License.
|
18
18
|
"""
|
19
|
+
|
19
20
|
import builtins
|
20
21
|
import google.protobuf.descriptor
|
21
22
|
import google.protobuf.message
|
@@ -23,15 +24,11 @@ import streamlit.proto.ArrowNamedDataSet_pb2
|
|
23
24
|
import streamlit.proto.Block_pb2
|
24
25
|
import streamlit.proto.Element_pb2
|
25
26
|
import streamlit.proto.NamedDataSet_pb2
|
26
|
-
import
|
27
|
-
|
28
|
-
if sys.version_info >= (3, 8):
|
29
|
-
import typing as typing_extensions
|
30
|
-
else:
|
31
|
-
import typing_extensions
|
27
|
+
import typing
|
32
28
|
|
33
29
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
34
30
|
|
31
|
+
@typing.final
|
35
32
|
class Delta(google.protobuf.message.Message):
|
36
33
|
"""A change to an element."""
|
37
34
|
|
@@ -42,12 +39,15 @@ class Delta(google.protobuf.message.Message):
|
|
42
39
|
ADD_ROWS_FIELD_NUMBER: builtins.int
|
43
40
|
ARROW_ADD_ROWS_FIELD_NUMBER: builtins.int
|
44
41
|
FRAGMENT_ID_FIELD_NUMBER: builtins.int
|
42
|
+
fragment_id: builtins.str
|
45
43
|
@property
|
46
44
|
def new_element(self) -> streamlit.proto.Element_pb2.Element:
|
47
45
|
"""Append a new element to the frontend."""
|
46
|
+
|
48
47
|
@property
|
49
48
|
def add_block(self) -> streamlit.proto.Block_pb2.Block:
|
50
49
|
"""Append a new block to the frontend."""
|
50
|
+
|
51
51
|
@property
|
52
52
|
def add_rows(self) -> streamlit.proto.NamedDataSet_pb2.NamedDataSet:
|
53
53
|
"""Append data to a DataFrame in for current element. The element to add to
|
@@ -55,9 +55,9 @@ class Delta(google.protobuf.message.Message):
|
|
55
55
|
by NamedDataSet.name or by setting NamedDataSet.has_name to false.
|
56
56
|
All elements that contain a DataFrame should support add_rows.
|
57
57
|
"""
|
58
|
+
|
58
59
|
@property
|
59
60
|
def arrow_add_rows(self) -> streamlit.proto.ArrowNamedDataSet_pb2.ArrowNamedDataSet: ...
|
60
|
-
fragment_id: builtins.str
|
61
61
|
def __init__(
|
62
62
|
self,
|
63
63
|
*,
|
@@ -67,8 +67,8 @@ class Delta(google.protobuf.message.Message):
|
|
67
67
|
arrow_add_rows: streamlit.proto.ArrowNamedDataSet_pb2.ArrowNamedDataSet | None = ...,
|
68
68
|
fragment_id: builtins.str = ...,
|
69
69
|
) -> None: ...
|
70
|
-
def HasField(self, field_name:
|
71
|
-
def ClearField(self, field_name:
|
72
|
-
def WhichOneof(self, oneof_group:
|
70
|
+
def HasField(self, field_name: typing.Literal["add_block", b"add_block", "add_rows", b"add_rows", "arrow_add_rows", b"arrow_add_rows", "new_element", b"new_element", "type", b"type"]) -> builtins.bool: ...
|
71
|
+
def ClearField(self, field_name: typing.Literal["add_block", b"add_block", "add_rows", b"add_rows", "arrow_add_rows", b"arrow_add_rows", "fragment_id", b"fragment_id", "new_element", b"new_element", "type", b"type"]) -> None: ...
|
72
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["new_element", "add_block", "add_rows", "arrow_add_rows"] | None: ...
|
73
73
|
|
74
74
|
global___Delta = Delta
|
streamlit/proto/DocString_pb2.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: streamlit/proto/DocString.proto
|
4
|
+
# Protobuf Python Version: 5.26.1
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -15,14 +16,14 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DocString.proto\"v\n\tDocString\x12\x12\n\ndoc_string\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x01(\t\x12\x18\n\x07members\x18\x08 \x03(\x0b\x32\x07.MemberJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"W\n\x06Member\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12\x14\n\ndoc_string\x18\x04 \x01(\tH\x00\x42\n\n\x08\x63ontentsB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44ocStringProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DocStringProto'
|
24
|
-
_DOCSTRING._serialized_start=35
|
25
|
-
_DOCSTRING._serialized_end=153
|
26
|
-
_MEMBER._serialized_start=155
|
27
|
-
_MEMBER._serialized_end=242
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DocString_pb2', _globals)
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
23
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DocStringProto'
|
25
|
+
_globals['_DOCSTRING']._serialized_start=35
|
26
|
+
_globals['_DOCSTRING']._serialized_end=153
|
27
|
+
_globals['_MEMBER']._serialized_start=155
|
28
|
+
_globals['_MEMBER']._serialized_end=242
|
28
29
|
# @@protoc_insertion_point(module_scope)
|