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,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 collections.abc
|
21
22
|
import google.protobuf.descriptor
|
@@ -32,6 +33,7 @@ else:
|
|
32
33
|
|
33
34
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
34
35
|
|
36
|
+
@typing.final
|
35
37
|
class PlotlyChart(google.protobuf.message.Message):
|
36
38
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
37
39
|
|
@@ -39,7 +41,7 @@ class PlotlyChart(google.protobuf.message.Message):
|
|
39
41
|
ValueType = typing.NewType("ValueType", builtins.int)
|
40
42
|
V: typing_extensions.TypeAlias = ValueType
|
41
43
|
|
42
|
-
class _SelectionModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PlotlyChart._SelectionMode.ValueType], builtins.type):
|
44
|
+
class _SelectionModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PlotlyChart._SelectionMode.ValueType], builtins.type):
|
43
45
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
44
46
|
POINTS: PlotlyChart._SelectionMode.ValueType # 0
|
45
47
|
"""Point selection mode"""
|
@@ -73,9 +75,6 @@ class PlotlyChart(google.protobuf.message.Message):
|
|
73
75
|
"""override the properties with a theme. Currently, only "streamlit" or None are accepted."""
|
74
76
|
id: builtins.str
|
75
77
|
"""The unique element ID of this chart."""
|
76
|
-
@property
|
77
|
-
def selection_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PlotlyChart.SelectionMode.ValueType]:
|
78
|
-
"""Activate selections types on the chart."""
|
79
78
|
form_id: builtins.str
|
80
79
|
"""Form ID, filled if selections are activated."""
|
81
80
|
spec: builtins.str
|
@@ -84,9 +83,14 @@ class PlotlyChart(google.protobuf.message.Message):
|
|
84
83
|
"""JSON-serialized dict with Plotly's config object."""
|
85
84
|
url: builtins.str
|
86
85
|
"""DEPRECATED and unused."""
|
86
|
+
@property
|
87
|
+
def selection_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PlotlyChart.SelectionMode.ValueType]:
|
88
|
+
"""Activate selections types on the chart."""
|
89
|
+
|
87
90
|
@property
|
88
91
|
def figure(self) -> global___Figure:
|
89
92
|
"""DEPRECATED and unused."""
|
93
|
+
|
90
94
|
def __init__(
|
91
95
|
self,
|
92
96
|
*,
|
@@ -100,12 +104,13 @@ class PlotlyChart(google.protobuf.message.Message):
|
|
100
104
|
url: builtins.str = ...,
|
101
105
|
figure: global___Figure | None = ...,
|
102
106
|
) -> None: ...
|
103
|
-
def HasField(self, field_name:
|
104
|
-
def ClearField(self, field_name:
|
105
|
-
def WhichOneof(self, oneof_group:
|
107
|
+
def HasField(self, field_name: typing.Literal["chart", b"chart", "figure", b"figure", "url", b"url"]) -> builtins.bool: ...
|
108
|
+
def ClearField(self, field_name: typing.Literal["chart", b"chart", "config", b"config", "figure", b"figure", "form_id", b"form_id", "id", b"id", "selection_mode", b"selection_mode", "spec", b"spec", "theme", b"theme", "url", b"url", "use_container_width", b"use_container_width"]) -> None: ...
|
109
|
+
def WhichOneof(self, oneof_group: typing.Literal["chart", b"chart"]) -> typing.Literal["url", "figure"] | None: ...
|
106
110
|
|
107
111
|
global___PlotlyChart = PlotlyChart
|
108
112
|
|
113
|
+
@typing.final
|
109
114
|
class Figure(google.protobuf.message.Message):
|
110
115
|
"""DEPRECATED and unused."""
|
111
116
|
|
@@ -121,6 +126,6 @@ class Figure(google.protobuf.message.Message):
|
|
121
126
|
spec: builtins.str = ...,
|
122
127
|
config: builtins.str = ...,
|
123
128
|
) -> None: ...
|
124
|
-
def ClearField(self, field_name:
|
129
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "spec", b"spec"]) -> None: ...
|
125
130
|
|
126
131
|
global___Figure = Figure
|
streamlit/proto/Progress_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/Progress.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\x1estreamlit/proto/Progress.proto\"\'\n\x08Progress\x12\r\n\x05value\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\tB-\n\x1c\x63om.snowflake.apps.streamlitB\rProgressProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rProgressProto'
|
24
|
-
_PROGRESS._serialized_start=34
|
25
|
-
_PROGRESS._serialized_end=73
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Progress_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\rProgressProto'
|
25
|
+
_globals['_PROGRESS']._serialized_start=34
|
26
|
+
_globals['_PROGRESS']._serialized_end=73
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Progress_pb2.pyi
CHANGED
@@ -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 Progress(google.protobuf.message.Message):
|
32
29
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
33
30
|
|
@@ -41,6 +38,6 @@ class Progress(google.protobuf.message.Message):
|
|
41
38
|
value: builtins.int = ...,
|
42
39
|
text: builtins.str = ...,
|
43
40
|
) -> None: ...
|
44
|
-
def ClearField(self, field_name:
|
41
|
+
def ClearField(self, field_name: typing.Literal["text", b"text", "value", b"value"]) -> None: ...
|
45
42
|
|
46
43
|
global___Progress = Progress
|
streamlit/proto/Radio_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/Radio.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\x1bstreamlit/proto/Radio.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x90\x02\n\x05Radio\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07options\x18\x04 \x03(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x12\n\x05value\x18\x07 \x01(\x05H\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x12\n\nhorizontal\x18\n \x01(\x08\x12\x31\n\x10label_visibility\x18\x0b \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x10\n\x08\x63\x61ptions\x18\x0c \x03(\tB\n\n\x08_defaultB\x08\n\x06_valueB*\n\x1c\x63om.snowflake.apps.streamlitB\nRadioProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\nRadioProto'
|
25
|
-
_RADIO._serialized_start=78
|
26
|
-
_RADIO._serialized_end=350
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Radio_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\nRadioProto'
|
26
|
+
_globals['_RADIO']._serialized_start=78
|
27
|
+
_globals['_RADIO']._serialized_end=350
|
27
28
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Radio_pb2.pyi
CHANGED
@@ -16,22 +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 sys
|
26
26
|
import typing
|
27
27
|
|
28
|
-
if sys.version_info >= (3, 8):
|
29
|
-
import typing as typing_extensions
|
30
|
-
else:
|
31
|
-
import typing_extensions
|
32
|
-
|
33
28
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
34
29
|
|
30
|
+
@typing.final
|
35
31
|
class Radio(google.protobuf.message.Message):
|
36
32
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
37
33
|
|
@@ -50,8 +46,6 @@ class Radio(google.protobuf.message.Message):
|
|
50
46
|
id: builtins.str
|
51
47
|
label: builtins.str
|
52
48
|
default: builtins.int
|
53
|
-
@property
|
54
|
-
def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
55
49
|
help: builtins.str
|
56
50
|
form_id: builtins.str
|
57
51
|
value: builtins.int
|
@@ -59,6 +53,8 @@ class Radio(google.protobuf.message.Message):
|
|
59
53
|
disabled: builtins.bool
|
60
54
|
horizontal: builtins.bool
|
61
55
|
@property
|
56
|
+
def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
57
|
+
@property
|
62
58
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
63
59
|
@property
|
64
60
|
def captions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
@@ -78,11 +74,11 @@ class Radio(google.protobuf.message.Message):
|
|
78
74
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
79
75
|
captions: collections.abc.Iterable[builtins.str] | None = ...,
|
80
76
|
) -> None: ...
|
81
|
-
def HasField(self, field_name:
|
82
|
-
def ClearField(self, field_name:
|
77
|
+
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
|
78
|
+
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "captions", b"captions", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "horizontal", b"horizontal", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
83
79
|
@typing.overload
|
84
|
-
def WhichOneof(self, oneof_group:
|
80
|
+
def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
|
85
81
|
@typing.overload
|
86
|
-
def WhichOneof(self, oneof_group:
|
82
|
+
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
87
83
|
|
88
84
|
global___Radio = Radio
|
@@ -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/RootContainer.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/RootContainer.proto*=\n\rRootContainer\x12\x08\n\x04MAIN\x10\x00\x12\x0b\n\x07SIDEBAR\x10\x01\x12\t\n\x05\x45VENT\x10\x02\x12\n\n\x06\x42OTTOM\x10\x03\x42\x32\n\x1c\x63om.snowflake.apps.streamlitB\x12RootContainerProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022RootContainerProto'
|
24
|
-
_ROOTCONTAINER._serialized_start=39
|
25
|
-
_ROOTCONTAINER._serialized_end=100
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.RootContainer_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\022RootContainerProto'
|
25
|
+
_globals['_ROOTCONTAINER']._serialized_start=39
|
26
|
+
_globals['_ROOTCONTAINER']._serialized_end=100
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
@@ -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.internal.enum_type_wrapper
|
@@ -33,7 +34,7 @@ class _RootContainer:
|
|
33
34
|
ValueType = typing.NewType("ValueType", builtins.int)
|
34
35
|
V: typing_extensions.TypeAlias = ValueType
|
35
36
|
|
36
|
-
class _RootContainerEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RootContainer.ValueType], builtins.type):
|
37
|
+
class _RootContainerEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RootContainer.ValueType], builtins.type):
|
37
38
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
38
39
|
MAIN: _RootContainer.ValueType # 0
|
39
40
|
SIDEBAR: _RootContainer.ValueType # 1
|
streamlit/proto/Selectbox_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/Selectbox.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/Selectbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x83\x02\n\tSelectbox\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x14\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x0f\n\x07options\x18\x04 \x03(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x06 \x01(\t\x12\x12\n\x05value\x18\x07 \x01(\x05H\x01\x88\x01\x01\x12\x11\n\tset_value\x18\x08 \x01(\x08\x12\x10\n\x08\x64isabled\x18\t \x01(\x08\x12\x31\n\x10label_visibility\x18\n \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x13\n\x0bplaceholder\x18\x0b \x01(\tB\n\n\x08_defaultB\x08\n\x06_valueB.\n\x1c\x63om.snowflake.apps.streamlitB\x0eSelectboxProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016SelectboxProto'
|
25
|
-
_SELECTBOX._serialized_start=82
|
26
|
-
_SELECTBOX._serialized_end=341
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Selectbox_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\016SelectboxProto'
|
26
|
+
_globals['_SELECTBOX']._serialized_start=82
|
27
|
+
_globals['_SELECTBOX']._serialized_end=341
|
27
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -16,22 +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 sys
|
26
26
|
import typing
|
27
27
|
|
28
|
-
if sys.version_info >= (3, 8):
|
29
|
-
import typing as typing_extensions
|
30
|
-
else:
|
31
|
-
import typing_extensions
|
32
|
-
|
33
28
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
34
29
|
|
30
|
+
@typing.final
|
35
31
|
class Selectbox(google.protobuf.message.Message):
|
36
32
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
37
33
|
|
@@ -49,16 +45,16 @@ class Selectbox(google.protobuf.message.Message):
|
|
49
45
|
id: builtins.str
|
50
46
|
label: builtins.str
|
51
47
|
default: builtins.int
|
52
|
-
@property
|
53
|
-
def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
54
48
|
help: builtins.str
|
55
49
|
form_id: builtins.str
|
56
50
|
value: builtins.int
|
57
51
|
set_value: builtins.bool
|
58
52
|
disabled: builtins.bool
|
53
|
+
placeholder: builtins.str
|
54
|
+
@property
|
55
|
+
def options(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
59
56
|
@property
|
60
57
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
61
|
-
placeholder: builtins.str
|
62
58
|
def __init__(
|
63
59
|
self,
|
64
60
|
*,
|
@@ -74,11 +70,11 @@ class Selectbox(google.protobuf.message.Message):
|
|
74
70
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
75
71
|
placeholder: builtins.str = ...,
|
76
72
|
) -> None: ...
|
77
|
-
def HasField(self, field_name:
|
78
|
-
def ClearField(self, field_name:
|
73
|
+
def HasField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "label_visibility", b"label_visibility", "value", b"value"]) -> builtins.bool: ...
|
74
|
+
def ClearField(self, field_name: typing.Literal["_default", b"_default", "_value", b"_value", "default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "options", b"options", "placeholder", b"placeholder", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
79
75
|
@typing.overload
|
80
|
-
def WhichOneof(self, oneof_group:
|
76
|
+
def WhichOneof(self, oneof_group: typing.Literal["_default", b"_default"]) -> typing.Literal["default"] | None: ...
|
81
77
|
@typing.overload
|
82
|
-
def WhichOneof(self, oneof_group:
|
78
|
+
def WhichOneof(self, oneof_group: typing.Literal["_value", b"_value"]) -> typing.Literal["value"] | None: ...
|
83
79
|
|
84
80
|
global___Selectbox = Selectbox
|
@@ -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/SessionEvent.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 Exception_pb2 as streamlit_dot_proto_dot_Exception__
|
|
16
17
|
|
17
18
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/SessionEvent.proto\x1a\x1fstreamlit/proto/Exception.proto\"\x93\x01\n\x0cSessionEvent\x12 \n\x16script_changed_on_disk\x18\x01 \x01(\x08H\x00\x12%\n\x1bscript_was_manually_stopped\x18\x02 \x01(\x08H\x00\x12\x32\n\x1cscript_compilation_exception\x18\x03 \x01(\x0b\x32\n.ExceptionH\x00\x42\x06\n\x04typeB1\n\x1c\x63om.snowflake.apps.streamlitB\x11SessionEventProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\021SessionEventProto'
|
25
|
-
_SESSIONEVENT._serialized_start=72
|
26
|
-
_SESSIONEVENT._serialized_end=219
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.SessionEvent_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\021SessionEventProto'
|
26
|
+
_globals['_SESSIONEVENT']._serialized_start=72
|
27
|
+
_globals['_SESSIONEVENT']._serialized_end=219
|
27
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -16,19 +16,16 @@ 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
23
|
import streamlit.proto.Exception_pb2
|
23
|
-
import
|
24
|
-
|
25
|
-
if sys.version_info >= (3, 8):
|
26
|
-
import typing as typing_extensions
|
27
|
-
else:
|
28
|
-
import typing_extensions
|
24
|
+
import typing
|
29
25
|
|
30
26
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
31
27
|
|
28
|
+
@typing.final
|
32
29
|
class SessionEvent(google.protobuf.message.Message):
|
33
30
|
"""A transient event sent to all browsers connected to an associated app."""
|
34
31
|
|
@@ -50,6 +47,7 @@ class SessionEvent(google.protobuf.message.Message):
|
|
50
47
|
"""Script compilation failed with an exception.
|
51
48
|
We can't start running the script.
|
52
49
|
"""
|
50
|
+
|
53
51
|
def __init__(
|
54
52
|
self,
|
55
53
|
*,
|
@@ -57,8 +55,8 @@ class SessionEvent(google.protobuf.message.Message):
|
|
57
55
|
script_was_manually_stopped: builtins.bool = ...,
|
58
56
|
script_compilation_exception: streamlit.proto.Exception_pb2.Exception | None = ...,
|
59
57
|
) -> None: ...
|
60
|
-
def HasField(self, field_name:
|
61
|
-
def ClearField(self, field_name:
|
62
|
-
def WhichOneof(self, oneof_group:
|
58
|
+
def HasField(self, field_name: typing.Literal["script_changed_on_disk", b"script_changed_on_disk", "script_compilation_exception", b"script_compilation_exception", "script_was_manually_stopped", b"script_was_manually_stopped", "type", b"type"]) -> builtins.bool: ...
|
59
|
+
def ClearField(self, field_name: typing.Literal["script_changed_on_disk", b"script_changed_on_disk", "script_compilation_exception", b"script_compilation_exception", "script_was_manually_stopped", b"script_was_manually_stopped", "type", b"type"]) -> None: ...
|
60
|
+
def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["script_changed_on_disk", "script_was_manually_stopped", "script_compilation_exception"] | None: ...
|
63
61
|
|
64
62
|
global___SessionEvent = SessionEvent
|
@@ -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/SessionStatus.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/SessionStatus.proto\"?\n\rSessionStatus\x12\x13\n\x0brun_on_save\x18\x01 \x01(\x08\x12\x19\n\x11script_is_running\x18\x02 \x01(\x08\x42\x32\n\x1c\x63om.snowflake.apps.streamlitB\x12SessionStatusProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022SessionStatusProto'
|
24
|
-
_SESSIONSTATUS._serialized_start=39
|
25
|
-
_SESSIONSTATUS._serialized_end=102
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.SessionStatus_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\022SessionStatusProto'
|
25
|
+
_globals['_SESSIONSTATUS']._serialized_start=39
|
26
|
+
_globals['_SESSIONSTATUS']._serialized_end=102
|
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 SessionStatus(google.protobuf.message.Message):
|
32
29
|
"""Status for a session. Sent as part of the Initialize message, and also
|
33
30
|
on AppSession status change events.
|
@@ -55,6 +52,6 @@ class SessionStatus(google.protobuf.message.Message):
|
|
55
52
|
run_on_save: builtins.bool = ...,
|
56
53
|
script_is_running: builtins.bool = ...,
|
57
54
|
) -> None: ...
|
58
|
-
def ClearField(self, field_name:
|
55
|
+
def ClearField(self, field_name: typing.Literal["run_on_save", b"run_on_save", "script_is_running", b"script_is_running"]) -> None: ...
|
59
56
|
|
60
57
|
global___SessionStatus = SessionStatus
|
streamlit/proto/Skeleton_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/Skeleton.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\x1estreamlit/proto/Skeleton.proto\"y\n\x08Skeleton\x12&\n\x05style\x18\x01 \x01(\x0e\x32\x17.Skeleton.SkeletonStyle\x12\x13\n\x06height\x18\x02 \x01(\x05H\x00\x88\x01\x01\"%\n\rSkeletonStyle\x12\x0b\n\x07\x45LEMENT\x10\x00\x12\x07\n\x03\x41PP\x10\x01\x42\t\n\x07_heightB-\n\x1c\x63om.snowflake.apps.streamlitB\rSkeletonProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rSkeletonProto'
|
24
|
-
_SKELETON._serialized_start=34
|
25
|
-
_SKELETON._serialized_end=155
|
26
|
-
_SKELETON_SKELETONSTYLE._serialized_start=107
|
27
|
-
_SKELETON_SKELETONSTYLE._serialized_end=144
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Skeleton_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\rSkeletonProto'
|
25
|
+
_globals['_SKELETON']._serialized_start=34
|
26
|
+
_globals['_SKELETON']._serialized_end=155
|
27
|
+
_globals['_SKELETON_SKELETONSTYLE']._serialized_start=107
|
28
|
+
_globals['_SKELETON_SKELETONSTYLE']._serialized_end=144
|
28
29
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Skeleton_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.internal.enum_type_wrapper
|
@@ -30,6 +31,7 @@ else:
|
|
30
31
|
|
31
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
32
33
|
|
34
|
+
@typing.final
|
33
35
|
class Skeleton(google.protobuf.message.Message):
|
34
36
|
"""An empty-like element that displays an app skeleton."""
|
35
37
|
|
@@ -39,7 +41,7 @@ class Skeleton(google.protobuf.message.Message):
|
|
39
41
|
ValueType = typing.NewType("ValueType", builtins.int)
|
40
42
|
V: typing_extensions.TypeAlias = ValueType
|
41
43
|
|
42
|
-
class _SkeletonStyleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Skeleton._SkeletonStyle.ValueType], builtins.type):
|
44
|
+
class _SkeletonStyleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Skeleton._SkeletonStyle.ValueType], builtins.type):
|
43
45
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
44
46
|
ELEMENT: Skeleton._SkeletonStyle.ValueType # 0
|
45
47
|
APP: Skeleton._SkeletonStyle.ValueType # 1
|
@@ -62,8 +64,8 @@ class Skeleton(google.protobuf.message.Message):
|
|
62
64
|
style: global___Skeleton.SkeletonStyle.ValueType = ...,
|
63
65
|
height: builtins.int | None = ...,
|
64
66
|
) -> None: ...
|
65
|
-
def HasField(self, field_name:
|
66
|
-
def ClearField(self, field_name:
|
67
|
-
def WhichOneof(self, oneof_group:
|
67
|
+
def HasField(self, field_name: typing.Literal["_height", b"_height", "height", b"height"]) -> builtins.bool: ...
|
68
|
+
def ClearField(self, field_name: typing.Literal["_height", b"_height", "height", b"height", "style", b"style"]) -> None: ...
|
69
|
+
def WhichOneof(self, oneof_group: typing.Literal["_height", b"_height"]) -> typing.Literal["height"] | None: ...
|
68
70
|
|
69
71
|
global___Skeleton = Skeleton
|