streamlit-nightly 1.35.1.dev20240601__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.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/METADATA +5 -5
- {streamlit_nightly-1.35.1.dev20240601.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.dev20240601.data → streamlit_nightly-1.35.1.dev20240604.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.35.1.dev20240601.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 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 PageConfig(google.protobuf.message.Message):
|
34
36
|
"""Properties of the page that the app creator may configure."""
|
35
37
|
|
@@ -39,7 +41,7 @@ class PageConfig(google.protobuf.message.Message):
|
|
39
41
|
ValueType = typing.NewType("ValueType", builtins.int)
|
40
42
|
V: typing_extensions.TypeAlias = ValueType
|
41
43
|
|
42
|
-
class _LayoutEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PageConfig._Layout.ValueType], builtins.type):
|
44
|
+
class _LayoutEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PageConfig._Layout.ValueType], builtins.type):
|
43
45
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
44
46
|
CENTERED: PageConfig._Layout.ValueType # 0
|
45
47
|
"""Render page elements in a centered block, roughly 730px wide."""
|
@@ -56,7 +58,7 @@ class PageConfig(google.protobuf.message.Message):
|
|
56
58
|
ValueType = typing.NewType("ValueType", builtins.int)
|
57
59
|
V: typing_extensions.TypeAlias = ValueType
|
58
60
|
|
59
|
-
class _SidebarStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PageConfig._SidebarState.ValueType], builtins.type):
|
61
|
+
class _SidebarStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PageConfig._SidebarState.ValueType], builtins.type):
|
60
62
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
61
63
|
AUTO: PageConfig._SidebarState.ValueType # 0
|
62
64
|
"""Expand the sidebar if page width exceeds ~1000px; otherwise, collapse it"""
|
@@ -73,6 +75,7 @@ class PageConfig(google.protobuf.message.Message):
|
|
73
75
|
COLLAPSED: PageConfig.SidebarState.ValueType # 2
|
74
76
|
"""Force the sidebar to be hidden."""
|
75
77
|
|
78
|
+
@typing.final
|
76
79
|
class MenuItems(google.protobuf.message.Message):
|
77
80
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
78
81
|
|
@@ -95,7 +98,7 @@ class PageConfig(google.protobuf.message.Message):
|
|
95
98
|
hide_report_a_bug: builtins.bool = ...,
|
96
99
|
about_section_md: builtins.str = ...,
|
97
100
|
) -> None: ...
|
98
|
-
def ClearField(self, field_name:
|
101
|
+
def ClearField(self, field_name: typing.Literal["about_section_md", b"about_section_md", "get_help_url", b"get_help_url", "hide_get_help", b"hide_get_help", "hide_report_a_bug", b"hide_report_a_bug", "report_a_bug_url", b"report_a_bug_url"]) -> None: ...
|
99
102
|
|
100
103
|
TITLE_FIELD_NUMBER: builtins.int
|
101
104
|
FAVICON_FIELD_NUMBER: builtins.int
|
@@ -117,7 +120,7 @@ class PageConfig(google.protobuf.message.Message):
|
|
117
120
|
initial_sidebar_state: global___PageConfig.SidebarState.ValueType = ...,
|
118
121
|
menu_items: global___PageConfig.MenuItems | None = ...,
|
119
122
|
) -> None: ...
|
120
|
-
def HasField(self, field_name:
|
121
|
-
def ClearField(self, field_name:
|
123
|
+
def HasField(self, field_name: typing.Literal["menu_items", b"menu_items"]) -> builtins.bool: ...
|
124
|
+
def ClearField(self, field_name: typing.Literal["favicon", b"favicon", "initial_sidebar_state", b"initial_sidebar_state", "layout", b"layout", "menu_items", b"menu_items", "title", b"title"]) -> None: ...
|
122
125
|
|
123
126
|
global___PageConfig = PageConfig
|
streamlit/proto/PageInfo_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/PageInfo.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/PageInfo.proto\" \n\x08PageInfo\x12\x14\n\x0cquery_string\x18\x01 \x01(\tB-\n\x1c\x63om.snowflake.apps.streamlitB\rPageInfoProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rPageInfoProto'
|
24
|
-
_PAGEINFO._serialized_start=34
|
25
|
-
_PAGEINFO._serialized_end=66
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PageInfo_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\rPageInfoProto'
|
25
|
+
_globals['_PAGEINFO']._serialized_start=34
|
26
|
+
_globals['_PAGEINFO']._serialized_end=66
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/PageInfo_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 PageInfo(google.protobuf.message.Message):
|
32
29
|
"""Message used to update page metadata."""
|
33
30
|
|
@@ -41,6 +38,6 @@ class PageInfo(google.protobuf.message.Message):
|
|
41
38
|
*,
|
42
39
|
query_string: builtins.str = ...,
|
43
40
|
) -> None: ...
|
44
|
-
def ClearField(self, field_name:
|
41
|
+
def ClearField(self, field_name: typing.Literal["query_string", b"query_string"]) -> None: ...
|
45
42
|
|
46
43
|
global___PageInfo = PageInfo
|
streamlit/proto/PageLink_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/PageLink.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/PageLink.proto\"\xbb\x01\n\x08PageLink\x12\x0c\n\x04page\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04icon\x18\x03 \x01(\t\x12\x18\n\x10page_script_hash\x18\x04 \x01(\t\x12\x0c\n\x04help\x18\x05 \x01(\t\x12 \n\x13use_container_width\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x10\n\x08\x64isabled\x18\x07 \x01(\x08\x12\x10\n\x08\x65xternal\x18\x08 \x01(\x08\x42\x16\n\x14_use_container_widthB-\n\x1c\x63om.snowflake.apps.streamlitB\rPageLinkProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rPageLinkProto'
|
24
|
-
_PAGELINK._serialized_start=35
|
25
|
-
_PAGELINK._serialized_end=222
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PageLink_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\rPageLinkProto'
|
25
|
+
_globals['_PAGELINK']._serialized_start=35
|
26
|
+
_globals['_PAGELINK']._serialized_end=222
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/PageLink_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 PageLink(google.protobuf.message.Message):
|
32
29
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
33
30
|
|
@@ -59,8 +56,8 @@ class PageLink(google.protobuf.message.Message):
|
|
59
56
|
disabled: builtins.bool = ...,
|
60
57
|
external: builtins.bool = ...,
|
61
58
|
) -> None: ...
|
62
|
-
def HasField(self, field_name:
|
63
|
-
def ClearField(self, field_name:
|
64
|
-
def WhichOneof(self, oneof_group:
|
59
|
+
def HasField(self, field_name: typing.Literal["_use_container_width", b"_use_container_width", "use_container_width", b"use_container_width"]) -> builtins.bool: ...
|
60
|
+
def ClearField(self, field_name: typing.Literal["_use_container_width", b"_use_container_width", "disabled", b"disabled", "external", b"external", "help", b"help", "icon", b"icon", "label", b"label", "page", b"page", "page_script_hash", b"page_script_hash", "use_container_width", b"use_container_width"]) -> None: ...
|
61
|
+
def WhichOneof(self, oneof_group: typing.Literal["_use_container_width", b"_use_container_width"]) -> typing.Literal["use_container_width"] | None: ...
|
65
62
|
|
66
63
|
global___PageLink = PageLink
|
@@ -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/PageNotFound.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/PageNotFound.proto\"!\n\x0cPageNotFound\x12\x11\n\tpage_name\x18\x01 \x01(\tB1\n\x1c\x63om.snowflake.apps.streamlitB\x11PageNotFoundProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\021PageNotFoundProto'
|
24
|
-
_PAGENOTFOUND._serialized_start=38
|
25
|
-
_PAGENOTFOUND._serialized_end=71
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PageNotFound_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\021PageNotFoundProto'
|
25
|
+
_globals['_PAGENOTFOUND']._serialized_start=38
|
26
|
+
_globals['_PAGENOTFOUND']._serialized_end=71
|
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 PageNotFound(google.protobuf.message.Message):
|
32
29
|
"""Message used to tell the client that the requested page does not exist."""
|
33
30
|
|
@@ -40,6 +37,6 @@ class PageNotFound(google.protobuf.message.Message):
|
|
40
37
|
*,
|
41
38
|
page_name: builtins.str = ...,
|
42
39
|
) -> None: ...
|
43
|
-
def ClearField(self, field_name:
|
40
|
+
def ClearField(self, field_name: typing.Literal["page_name", b"page_name"]) -> None: ...
|
44
41
|
|
45
42
|
global___PageNotFound = PageNotFound
|
@@ -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/PageProfile.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,16 +16,16 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/PageProfile.proto\"\xda\x01\n\x0bPageProfile\x12\x1a\n\x08\x63ommands\x18\x01 \x03(\x0b\x32\x08.Command\x12\x11\n\texec_time\x18\x02 \x01(\x03\x12\x11\n\tprep_time\x18\x03 \x01(\x03\x12\x0e\n\x06\x63onfig\x18\x05 \x03(\t\x12\x1a\n\x12uncaught_exception\x18\x06 \x01(\t\x12\x14\n\x0c\x61ttributions\x18\x07 \x03(\t\x12\n\n\x02os\x18\x08 \x01(\t\x12\x10\n\x08timezone\x18\t \x01(\t\x12\x10\n\x08headless\x18\n \x01(\x08\x12\x17\n\x0fis_fragment_run\x18\x0b \x01(\x08\"6\n\x08\x41rgument\x12\t\n\x01k\x18\x01 \x01(\t\x12\t\n\x01t\x18\x02 \x01(\t\x12\t\n\x01m\x18\x03 \x01(\t\x12\t\n\x01p\x18\x05 \x01(\x05\">\n\x07\x43ommand\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x04\x61rgs\x18\x02 \x03(\x0b\x32\t.Argument\x12\x0c\n\x04time\x18\x04 \x01(\x03\x42\x30\n\x1c\x63om.snowflake.apps.streamlitB\x10PageProfileProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020PageProfileProto'
|
24
|
-
_PAGEPROFILE._serialized_start=38
|
25
|
-
_PAGEPROFILE._serialized_end=256
|
26
|
-
_ARGUMENT._serialized_start=258
|
27
|
-
_ARGUMENT._serialized_end=312
|
28
|
-
_COMMAND._serialized_start=314
|
29
|
-
_COMMAND._serialized_end=376
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PageProfile_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\020PageProfileProto'
|
25
|
+
_globals['_PAGEPROFILE']._serialized_start=38
|
26
|
+
_globals['_PAGEPROFILE']._serialized_end=256
|
27
|
+
_globals['_ARGUMENT']._serialized_start=258
|
28
|
+
_globals['_ARGUMENT']._serialized_end=312
|
29
|
+
_globals['_COMMAND']._serialized_start=314
|
30
|
+
_globals['_COMMAND']._serialized_end=376
|
30
31
|
# @@protoc_insertion_point(module_scope)
|
@@ -16,20 +16,17 @@ 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
|
-
import
|
25
|
-
|
26
|
-
if sys.version_info >= (3, 8):
|
27
|
-
import typing as typing_extensions
|
28
|
-
else:
|
29
|
-
import typing_extensions
|
25
|
+
import typing
|
30
26
|
|
31
27
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
32
28
|
|
29
|
+
@typing.final
|
33
30
|
class PageProfile(google.protobuf.message.Message):
|
34
31
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
35
32
|
|
@@ -43,19 +40,19 @@ class PageProfile(google.protobuf.message.Message):
|
|
43
40
|
TIMEZONE_FIELD_NUMBER: builtins.int
|
44
41
|
HEADLESS_FIELD_NUMBER: builtins.int
|
45
42
|
IS_FRAGMENT_RUN_FIELD_NUMBER: builtins.int
|
46
|
-
@property
|
47
|
-
def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Command]: ...
|
48
43
|
exec_time: builtins.int
|
49
44
|
prep_time: builtins.int
|
50
|
-
@property
|
51
|
-
def config(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
52
45
|
uncaught_exception: builtins.str
|
53
|
-
@property
|
54
|
-
def attributions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
55
46
|
os: builtins.str
|
56
47
|
timezone: builtins.str
|
57
48
|
headless: builtins.bool
|
58
49
|
is_fragment_run: builtins.bool
|
50
|
+
@property
|
51
|
+
def commands(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Command]: ...
|
52
|
+
@property
|
53
|
+
def config(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
54
|
+
@property
|
55
|
+
def attributions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
59
56
|
def __init__(
|
60
57
|
self,
|
61
58
|
*,
|
@@ -70,10 +67,11 @@ class PageProfile(google.protobuf.message.Message):
|
|
70
67
|
headless: builtins.bool = ...,
|
71
68
|
is_fragment_run: builtins.bool = ...,
|
72
69
|
) -> None: ...
|
73
|
-
def ClearField(self, field_name:
|
70
|
+
def ClearField(self, field_name: typing.Literal["attributions", b"attributions", "commands", b"commands", "config", b"config", "exec_time", b"exec_time", "headless", b"headless", "is_fragment_run", b"is_fragment_run", "os", b"os", "prep_time", b"prep_time", "timezone", b"timezone", "uncaught_exception", b"uncaught_exception"]) -> None: ...
|
74
71
|
|
75
72
|
global___PageProfile = PageProfile
|
76
73
|
|
74
|
+
@typing.final
|
77
75
|
class Argument(google.protobuf.message.Message):
|
78
76
|
"""The field names are used as part of the event json sent
|
79
77
|
to Segment. Since there is a 32kb limit for the event
|
@@ -102,10 +100,11 @@ class Argument(google.protobuf.message.Message):
|
|
102
100
|
m: builtins.str = ...,
|
103
101
|
p: builtins.int = ...,
|
104
102
|
) -> None: ...
|
105
|
-
def ClearField(self, field_name:
|
103
|
+
def ClearField(self, field_name: typing.Literal["k", b"k", "m", b"m", "p", b"p", "t", b"t"]) -> None: ...
|
106
104
|
|
107
105
|
global___Argument = Argument
|
108
106
|
|
107
|
+
@typing.final
|
109
108
|
class Command(google.protobuf.message.Message):
|
110
109
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
111
110
|
|
@@ -113,9 +112,9 @@ class Command(google.protobuf.message.Message):
|
|
113
112
|
ARGS_FIELD_NUMBER: builtins.int
|
114
113
|
TIME_FIELD_NUMBER: builtins.int
|
115
114
|
name: builtins.str
|
115
|
+
time: builtins.int
|
116
116
|
@property
|
117
117
|
def args(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Argument]: ...
|
118
|
-
time: builtins.int
|
119
118
|
def __init__(
|
120
119
|
self,
|
121
120
|
*,
|
@@ -123,6 +122,6 @@ class Command(google.protobuf.message.Message):
|
|
123
122
|
args: collections.abc.Iterable[global___Argument] | None = ...,
|
124
123
|
time: builtins.int = ...,
|
125
124
|
) -> None: ...
|
126
|
-
def ClearField(self, field_name:
|
125
|
+
def ClearField(self, field_name: typing.Literal["args", b"args", "name", b"name", "time", b"time"]) -> None: ...
|
127
126
|
|
128
127
|
global___Command = Command
|
@@ -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/PagesChanged.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 AppPage_pb2 as streamlit_dot_proto_dot_AppPage__pb2
|
|
16
17
|
|
17
18
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"streamlit/proto/PagesChanged.proto\x1a\x1dstreamlit/proto/AppPage.proto\"+\n\x0cPagesChanged\x12\x1b\n\tapp_pages\x18\x01 \x03(\x0b\x32\x08.AppPageB1\n\x1c\x63om.snowflake.apps.streamlitB\x11PagesChangedProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\021PagesChangedProto'
|
25
|
-
_PAGESCHANGED._serialized_start=69
|
26
|
-
_PAGESCHANGED._serialized_end=112
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PagesChanged_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\021PagesChangedProto'
|
26
|
+
_globals['_PAGESCHANGED']._serialized_start=69
|
27
|
+
_globals['_PAGESCHANGED']._serialized_end=112
|
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.AppPage_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 PagesChanged(google.protobuf.message.Message):
|
35
32
|
"""Message used to tell the client that the app's pages have changed."""
|
36
33
|
|
@@ -44,6 +41,6 @@ class PagesChanged(google.protobuf.message.Message):
|
|
44
41
|
*,
|
45
42
|
app_pages: collections.abc.Iterable[streamlit.proto.AppPage_pb2.AppPage] | None = ...,
|
46
43
|
) -> None: ...
|
47
|
-
def ClearField(self, field_name:
|
44
|
+
def ClearField(self, field_name: typing.Literal["app_pages", b"app_pages"]) -> None: ...
|
48
45
|
|
49
46
|
global___PagesChanged = PagesChanged
|
@@ -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/ParentMessage.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/ParentMessage.proto\" \n\rParentMessage\x12\x0f\n\x07message\x18\x01 \x01(\tB2\n\x1c\x63om.snowflake.apps.streamlitB\x12ParentMessageProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\022ParentMessageProto'
|
24
|
-
_PARENTMESSAGE._serialized_start=39
|
25
|
-
_PARENTMESSAGE._serialized_end=71
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ParentMessage_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\022ParentMessageProto'
|
25
|
+
_globals['_PARENTMESSAGE']._serialized_start=39
|
26
|
+
_globals['_PARENTMESSAGE']._serialized_end=71
|
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 ParentMessage(google.protobuf.message.Message):
|
32
29
|
"""NOTE: This proto type is used by some external services so needs to remain
|
33
30
|
relatively stable. While it isn't entirely set in stone, changing it
|
@@ -44,6 +41,6 @@ class ParentMessage(google.protobuf.message.Message):
|
|
44
41
|
*,
|
45
42
|
message: builtins.str = ...,
|
46
43
|
) -> None: ...
|
47
|
-
def ClearField(self, field_name:
|
44
|
+
def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ...
|
48
45
|
|
49
46
|
global___ParentMessage = ParentMessage
|
@@ -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/PlotlyChart.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,16 +16,16 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/PlotlyChart.proto\"\x98\x02\n\x0bPlotlyChart\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\x32\n\x0eselection_mode\x18\x08 \x03(\x0e\x32\x1a.PlotlyChart.SelectionMode\x12\x0f\n\x07\x66orm_id\x18\t \x01(\t\x12\x0c\n\x04spec\x18\n \x01(\t\x12\x0e\n\x06\x63onfig\x18\x0b \x01(\t\x12\r\n\x03url\x18\x01 \x01(\tH\x00\x12\x19\n\x06\x66igure\x18\x02 \x01(\x0b\x32\x07.FigureH\x00\"/\n\rSelectionMode\x12\n\n\x06POINTS\x10\x00\x12\x07\n\x03\x42OX\x10\x01\x12\t\n\x05LASSO\x10\x02\x42\x07\n\x05\x63hartJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"&\n\x06\x46igure\x12\x0c\n\x04spec\x18\x01 \x01(\t\x12\x0e\n\x06\x63onfig\x18\x02 \x01(\tB0\n\x1c\x63om.snowflake.apps.streamlitB\x10PlotlyChartProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020PlotlyChartProto'
|
24
|
-
_PLOTLYCHART._serialized_start=38
|
25
|
-
_PLOTLYCHART._serialized_end=318
|
26
|
-
_PLOTLYCHART_SELECTIONMODE._serialized_start=250
|
27
|
-
_PLOTLYCHART_SELECTIONMODE._serialized_end=297
|
28
|
-
_FIGURE._serialized_start=320
|
29
|
-
_FIGURE._serialized_end=358
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.PlotlyChart_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\020PlotlyChartProto'
|
25
|
+
_globals['_PLOTLYCHART']._serialized_start=38
|
26
|
+
_globals['_PLOTLYCHART']._serialized_end=318
|
27
|
+
_globals['_PLOTLYCHART_SELECTIONMODE']._serialized_start=250
|
28
|
+
_globals['_PLOTLYCHART_SELECTIONMODE']._serialized_end=297
|
29
|
+
_globals['_FIGURE']._serialized_start=320
|
30
|
+
_globals['_FIGURE']._serialized_end=358
|
30
31
|
# @@protoc_insertion_point(module_scope)
|