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
streamlit/proto/Button_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 Button(google.protobuf.message.Message):
|
32
29
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
33
30
|
|
@@ -66,6 +63,6 @@ class Button(google.protobuf.message.Message):
|
|
66
63
|
disabled: builtins.bool = ...,
|
67
64
|
use_container_width: builtins.bool = ...,
|
68
65
|
) -> None: ...
|
69
|
-
def ClearField(self, field_name:
|
66
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "is_form_submitter", b"is_form_submitter", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"]) -> None: ...
|
70
67
|
|
71
68
|
global___Button = Button
|
@@ -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/CameraInput.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!streamlit/proto/CameraInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x8c\x01\n\x0b\x43\x61meraInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x04 \x01(\t\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x31\n\x10label_visibility\x18\x06 \x01(\x0b\x32\x17.LabelVisibilityMessageB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43\x61meraInputProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020CameraInputProto'
|
25
|
-
_CAMERAINPUT._serialized_start=84
|
26
|
-
_CAMERAINPUT._serialized_end=224
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.CameraInput_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\020CameraInputProto'
|
26
|
+
_globals['_CAMERAINPUT']._serialized_start=84
|
27
|
+
_globals['_CAMERAINPUT']._serialized_end=224
|
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.LabelVisibilityMessage_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 CameraInput(google.protobuf.message.Message):
|
33
30
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
34
31
|
|
@@ -55,7 +52,7 @@ class CameraInput(google.protobuf.message.Message):
|
|
55
52
|
disabled: builtins.bool = ...,
|
56
53
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
57
54
|
) -> None: ...
|
58
|
-
def HasField(self, field_name:
|
59
|
-
def ClearField(self, field_name:
|
55
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
56
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility"]) -> None: ...
|
60
57
|
|
61
58
|
global___CameraInput = CameraInput
|
streamlit/proto/ChatInput_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/ChatInput.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/ChatInput.proto\"\xc3\x01\n\tChatInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bplaceholder\x18\x02 \x01(\t\x12\x11\n\tmax_chars\x18\x03 \x01(\r\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\r\n\x05value\x18\x05 \x01(\t\x12\x11\n\tset_value\x18\x06 \x01(\x08\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12%\n\x08position\x18\x08 \x01(\x0e\x32\x13.ChatInput.Position\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\x42.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016ChatInputProto'
|
24
|
-
_CHATINPUT._serialized_start=36
|
25
|
-
_CHATINPUT._serialized_end=231
|
26
|
-
_CHATINPUT_POSITION._serialized_start=209
|
27
|
-
_CHATINPUT_POSITION._serialized_end=231
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_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\016ChatInputProto'
|
25
|
+
_globals['_CHATINPUT']._serialized_start=36
|
26
|
+
_globals['_CHATINPUT']._serialized_end=231
|
27
|
+
_globals['_CHATINPUT_POSITION']._serialized_start=209
|
28
|
+
_globals['_CHATINPUT_POSITION']._serialized_end=231
|
28
29
|
# @@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
|
@@ -30,6 +31,7 @@ else:
|
|
30
31
|
|
31
32
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
32
33
|
|
34
|
+
@typing.final
|
33
35
|
class ChatInput(google.protobuf.message.Message):
|
34
36
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
35
37
|
|
@@ -37,7 +39,7 @@ class ChatInput(google.protobuf.message.Message):
|
|
37
39
|
ValueType = typing.NewType("ValueType", builtins.int)
|
38
40
|
V: typing_extensions.TypeAlias = ValueType
|
39
41
|
|
40
|
-
class _PositionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ChatInput._Position.ValueType], builtins.type):
|
42
|
+
class _PositionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ChatInput._Position.ValueType], builtins.type):
|
41
43
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
42
44
|
BOTTOM: ChatInput._Position.ValueType # 0
|
43
45
|
|
@@ -74,6 +76,6 @@ class ChatInput(google.protobuf.message.Message):
|
|
74
76
|
default: builtins.str = ...,
|
75
77
|
position: global___ChatInput.Position.ValueType = ...,
|
76
78
|
) -> None: ...
|
77
|
-
def ClearField(self, field_name:
|
79
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "id", b"id", "max_chars", b"max_chars", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
78
80
|
|
79
81
|
global___ChatInput = ChatInput
|
streamlit/proto/Checkbox_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/Checkbox.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,14 +17,14 @@ from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_do
|
|
16
17
|
|
17
18
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Checkbox.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x85\x02\n\x08\x43heckbox\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 \x01(\x08\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\x08\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessage\x12!\n\x04type\x18\n \x01(\x0e\x32\x13.Checkbox.StyleType\"$\n\tStyleType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06TOGGLE\x10\x01\x42-\n\x1c\x63om.snowflake.apps.streamlitB\rCheckboxProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\rCheckboxProto'
|
25
|
-
_CHECKBOX._serialized_start=81
|
26
|
-
_CHECKBOX._serialized_end=342
|
27
|
-
_CHECKBOX_STYLETYPE._serialized_start=306
|
28
|
-
_CHECKBOX_STYLETYPE._serialized_end=342
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Checkbox_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\rCheckboxProto'
|
26
|
+
_globals['_CHECKBOX']._serialized_start=81
|
27
|
+
_globals['_CHECKBOX']._serialized_end=342
|
28
|
+
_globals['_CHECKBOX_STYLETYPE']._serialized_start=306
|
29
|
+
_globals['_CHECKBOX_STYLETYPE']._serialized_end=342
|
29
30
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Checkbox_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
|
@@ -31,6 +32,7 @@ else:
|
|
31
32
|
|
32
33
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
33
34
|
|
35
|
+
@typing.final
|
34
36
|
class Checkbox(google.protobuf.message.Message):
|
35
37
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
36
38
|
|
@@ -38,7 +40,7 @@ class Checkbox(google.protobuf.message.Message):
|
|
38
40
|
ValueType = typing.NewType("ValueType", builtins.int)
|
39
41
|
V: typing_extensions.TypeAlias = ValueType
|
40
42
|
|
41
|
-
class _StyleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Checkbox._StyleType.ValueType], builtins.type):
|
43
|
+
class _StyleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Checkbox._StyleType.ValueType], builtins.type):
|
42
44
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
43
45
|
DEFAULT: Checkbox._StyleType.ValueType # 0
|
44
46
|
TOGGLE: Checkbox._StyleType.ValueType # 1
|
@@ -65,9 +67,9 @@ class Checkbox(google.protobuf.message.Message):
|
|
65
67
|
value: builtins.bool
|
66
68
|
set_value: builtins.bool
|
67
69
|
disabled: builtins.bool
|
70
|
+
type: global___Checkbox.StyleType.ValueType
|
68
71
|
@property
|
69
72
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
70
|
-
type: global___Checkbox.StyleType.ValueType
|
71
73
|
def __init__(
|
72
74
|
self,
|
73
75
|
*,
|
@@ -82,7 +84,7 @@ class Checkbox(google.protobuf.message.Message):
|
|
82
84
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
83
85
|
type: global___Checkbox.StyleType.ValueType = ...,
|
84
86
|
) -> None: ...
|
85
|
-
def HasField(self, field_name:
|
86
|
-
def ClearField(self, field_name:
|
87
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
88
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "set_value", b"set_value", "type", b"type", "value", b"value"]) -> None: ...
|
87
89
|
|
88
90
|
global___Checkbox = Checkbox
|
@@ -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/ClientState.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 WidgetStates_pb2 as streamlit_dot_proto_dot_WidgetSt
|
|
16
17
|
|
17
18
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/ClientState.proto\x1a\"streamlit/proto/WidgetStates.proto\"\x8b\x01\n\x0b\x43lientState\x12\x14\n\x0cquery_string\x18\x01 \x01(\t\x12$\n\rwidget_states\x18\x02 \x01(\x0b\x32\r.WidgetStates\x12\x18\n\x10page_script_hash\x18\x03 \x01(\t\x12\x11\n\tpage_name\x18\x04 \x01(\t\x12\x13\n\x0b\x66ragment_id\x18\x05 \x01(\tB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43lientStateProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ClientStateProto'
|
25
|
-
_CLIENTSTATE._serialized_start=74
|
26
|
-
_CLIENTSTATE._serialized_end=213
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ClientState_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\020ClientStateProto'
|
26
|
+
_globals['_CLIENTSTATE']._serialized_start=74
|
27
|
+
_globals['_CLIENTSTATE']._serialized_end=213
|
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.WidgetStates_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 ClientState(google.protobuf.message.Message):
|
33
30
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
34
31
|
|
@@ -38,11 +35,11 @@ class ClientState(google.protobuf.message.Message):
|
|
38
35
|
PAGE_NAME_FIELD_NUMBER: builtins.int
|
39
36
|
FRAGMENT_ID_FIELD_NUMBER: builtins.int
|
40
37
|
query_string: builtins.str
|
41
|
-
@property
|
42
|
-
def widget_states(self) -> streamlit.proto.WidgetStates_pb2.WidgetStates: ...
|
43
38
|
page_script_hash: builtins.str
|
44
39
|
page_name: builtins.str
|
45
40
|
fragment_id: builtins.str
|
41
|
+
@property
|
42
|
+
def widget_states(self) -> streamlit.proto.WidgetStates_pb2.WidgetStates: ...
|
46
43
|
def __init__(
|
47
44
|
self,
|
48
45
|
*,
|
@@ -52,7 +49,7 @@ class ClientState(google.protobuf.message.Message):
|
|
52
49
|
page_name: builtins.str = ...,
|
53
50
|
fragment_id: builtins.str = ...,
|
54
51
|
) -> None: ...
|
55
|
-
def HasField(self, field_name:
|
56
|
-
def ClearField(self, field_name:
|
52
|
+
def HasField(self, field_name: typing.Literal["widget_states", b"widget_states"]) -> builtins.bool: ...
|
53
|
+
def ClearField(self, field_name: typing.Literal["fragment_id", b"fragment_id", "page_name", b"page_name", "page_script_hash", b"page_script_hash", "query_string", b"query_string", "widget_states", b"widget_states"]) -> None: ...
|
57
54
|
|
58
55
|
global___ClientState = ClientState
|
streamlit/proto/Code_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/Code.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\x1astreamlit/proto/Code.proto\"F\n\x04\x43ode\x12\x11\n\tcode_text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x19\n\x11show_line_numbers\x18\x03 \x01(\x08\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tCodeProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tCodeProto'
|
24
|
-
_CODE._serialized_start=30
|
25
|
-
_CODE._serialized_end=100
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Code_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\tCodeProto'
|
25
|
+
_globals['_CODE']._serialized_start=30
|
26
|
+
_globals['_CODE']._serialized_end=100
|
26
27
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Code_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 Code(google.protobuf.message.Message):
|
32
29
|
"""st.code"""
|
33
30
|
|
@@ -47,6 +44,6 @@ class Code(google.protobuf.message.Message):
|
|
47
44
|
language: builtins.str = ...,
|
48
45
|
show_line_numbers: builtins.bool = ...,
|
49
46
|
) -> None: ...
|
50
|
-
def ClearField(self, field_name:
|
47
|
+
def ClearField(self, field_name: typing.Literal["code_text", b"code_text", "language", b"language", "show_line_numbers", b"show_line_numbers"]) -> None: ...
|
51
48
|
|
52
49
|
global___Code = Code
|
@@ -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/ColorPicker.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!streamlit/proto/ColorPicker.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xbf\x01\n\x0b\x43olorPicker\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 \x01(\t\x12\x0c\n\x04help\x18\x04 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\r\n\x05value\x18\x06 \x01(\t\x12\x11\n\tset_value\x18\x07 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x08 \x01(\x08\x12\x31\n\x10label_visibility\x18\t \x01(\x0b\x32\x17.LabelVisibilityMessageB0\n\x1c\x63om.snowflake.apps.streamlitB\x10\x43olorPickerProtob\x06proto3')
|
18
19
|
|
19
|
-
|
20
|
-
_builder.
|
21
|
-
|
22
|
-
|
23
|
-
DESCRIPTOR.
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020ColorPickerProto'
|
25
|
-
_COLORPICKER._serialized_start=84
|
26
|
-
_COLORPICKER._serialized_end=275
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ColorPicker_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\020ColorPickerProto'
|
26
|
+
_globals['_COLORPICKER']._serialized_start=84
|
27
|
+
_globals['_COLORPICKER']._serialized_end=275
|
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.LabelVisibilityMessage_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 ColorPicker(google.protobuf.message.Message):
|
33
30
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
34
31
|
|
@@ -64,7 +61,7 @@ class ColorPicker(google.protobuf.message.Message):
|
|
64
61
|
disabled: builtins.bool = ...,
|
65
62
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
66
63
|
) -> None: ...
|
67
|
-
def HasField(self, field_name:
|
68
|
-
def ClearField(self, field_name:
|
64
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
65
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
69
66
|
|
70
67
|
global___ColorPicker = ColorPicker
|
streamlit/proto/Common_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/Common.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,34 +16,34 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cstreamlit/proto/Common.proto\"\x1b\n\x0bStringArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\x1b\n\x0b\x44oubleArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x01\"\x1a\n\nInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x1a\n\nInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x1b\n\x0bSInt64Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x12\"\x1b\n\x0bUInt32Array\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\r\"0\n\x12StringTriggerValue\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_data\"M\n\x0f\x46ileURLsRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nfile_names\x18\x02 \x03(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\"C\n\x08\x46ileURLs\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nupload_url\x18\x02 \x01(\t\x12\x12\n\ndelete_url\x18\x03 \x01(\t\"X\n\x10\x46ileURLsResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12\x1c\n\tfile_urls\x18\x02 \x03(\x0b\x32\t.FileURLs\x12\x11\n\terror_msg\x18\x03 \x01(\t\"i\n\x10UploadedFileInfo\x12\n\n\x02id\x18\x01 \x01(\x12\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x04\x12\x0f\n\x07\x66ile_id\x18\x04 \x01(\t\x12\x1c\n\tfile_urls\x18\x05 \x01(\x0b\x32\t.FileURLs\"W\n\x11\x46ileUploaderState\x12\x13\n\x0bmax_file_id\x18\x01 \x01(\x12\x12-\n\x12uploaded_file_info\x18\x02 \x03(\x0b\x32\x11.UploadedFileInfoB+\n\x1c\x63om.snowflake.apps.streamlitB\x0b\x43ommonProtob\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
20
|
-
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\034com.snowflake.apps.streamlitB\013CommonProto'
|
24
|
-
_STRINGARRAY._serialized_start=32
|
25
|
-
_STRINGARRAY._serialized_end=59
|
26
|
-
_DOUBLEARRAY._serialized_start=61
|
27
|
-
_DOUBLEARRAY._serialized_end=88
|
28
|
-
_INT32ARRAY._serialized_start=90
|
29
|
-
_INT32ARRAY._serialized_end=116
|
30
|
-
_INT64ARRAY._serialized_start=118
|
31
|
-
_INT64ARRAY._serialized_end=144
|
32
|
-
_SINT64ARRAY._serialized_start=146
|
33
|
-
_SINT64ARRAY._serialized_end=173
|
34
|
-
_UINT32ARRAY._serialized_start=175
|
35
|
-
_UINT32ARRAY._serialized_end=202
|
36
|
-
_STRINGTRIGGERVALUE._serialized_start=204
|
37
|
-
_STRINGTRIGGERVALUE._serialized_end=252
|
38
|
-
_FILEURLSREQUEST._serialized_start=254
|
39
|
-
_FILEURLSREQUEST._serialized_end=331
|
40
|
-
_FILEURLS._serialized_start=333
|
41
|
-
_FILEURLS._serialized_end=400
|
42
|
-
_FILEURLSRESPONSE._serialized_start=402
|
43
|
-
_FILEURLSRESPONSE._serialized_end=490
|
44
|
-
_UPLOADEDFILEINFO._serialized_start=492
|
45
|
-
_UPLOADEDFILEINFO._serialized_end=597
|
46
|
-
_FILEUPLOADERSTATE._serialized_start=599
|
47
|
-
_FILEUPLOADERSTATE._serialized_end=686
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Common_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\013CommonProto'
|
25
|
+
_globals['_STRINGARRAY']._serialized_start=32
|
26
|
+
_globals['_STRINGARRAY']._serialized_end=59
|
27
|
+
_globals['_DOUBLEARRAY']._serialized_start=61
|
28
|
+
_globals['_DOUBLEARRAY']._serialized_end=88
|
29
|
+
_globals['_INT32ARRAY']._serialized_start=90
|
30
|
+
_globals['_INT32ARRAY']._serialized_end=116
|
31
|
+
_globals['_INT64ARRAY']._serialized_start=118
|
32
|
+
_globals['_INT64ARRAY']._serialized_end=144
|
33
|
+
_globals['_SINT64ARRAY']._serialized_start=146
|
34
|
+
_globals['_SINT64ARRAY']._serialized_end=173
|
35
|
+
_globals['_UINT32ARRAY']._serialized_start=175
|
36
|
+
_globals['_UINT32ARRAY']._serialized_end=202
|
37
|
+
_globals['_STRINGTRIGGERVALUE']._serialized_start=204
|
38
|
+
_globals['_STRINGTRIGGERVALUE']._serialized_end=252
|
39
|
+
_globals['_FILEURLSREQUEST']._serialized_start=254
|
40
|
+
_globals['_FILEURLSREQUEST']._serialized_end=331
|
41
|
+
_globals['_FILEURLS']._serialized_start=333
|
42
|
+
_globals['_FILEURLS']._serialized_end=400
|
43
|
+
_globals['_FILEURLSRESPONSE']._serialized_start=402
|
44
|
+
_globals['_FILEURLSRESPONSE']._serialized_end=490
|
45
|
+
_globals['_UPLOADEDFILEINFO']._serialized_start=492
|
46
|
+
_globals['_UPLOADEDFILEINFO']._serialized_end=597
|
47
|
+
_globals['_FILEUPLOADERSTATE']._serialized_start=599
|
48
|
+
_globals['_FILEUPLOADERSTATE']._serialized_end=686
|
48
49
|
# @@protoc_insertion_point(module_scope)
|