streamlit-nightly 1.45.2.dev20250527__py3-none-any.whl → 1.45.2.dev20250530__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/auth_util.py +3 -3
- streamlit/commands/echo.py +1 -1
- streamlit/config.py +32 -12
- streamlit/config_option.py +3 -5
- streamlit/config_util.py +4 -5
- streamlit/connections/snowflake_connection.py +4 -3
- streamlit/delta_generator.py +10 -14
- streamlit/elements/arrow.py +1 -0
- streamlit/elements/deck_gl_json_chart.py +1 -0
- streamlit/elements/doc_string.py +7 -15
- streamlit/elements/exception.py +4 -12
- streamlit/elements/form.py +14 -0
- streamlit/elements/graphviz_chart.py +1 -1
- streamlit/elements/heading.py +3 -4
- streamlit/elements/json.py +7 -6
- streamlit/elements/layouts.py +21 -3
- streamlit/elements/lib/image_utils.py +2 -3
- streamlit/elements/lib/layout_utils.py +24 -0
- streamlit/elements/lib/mutable_status_container.py +9 -0
- streamlit/elements/lib/streamlit_plotly_theme.py +54 -53
- streamlit/elements/lib/utils.py +15 -0
- streamlit/elements/markdown.py +34 -4
- streamlit/elements/media.py +1 -1
- streamlit/elements/plotly_chart.py +1 -0
- streamlit/elements/progress.py +6 -15
- streamlit/elements/spinner.py +5 -4
- streamlit/elements/vega_charts.py +1 -0
- streamlit/elements/widgets/audio_input.py +4 -10
- streamlit/elements/widgets/button.py +3 -1
- streamlit/elements/widgets/button_group.py +1 -0
- streamlit/elements/widgets/camera_input.py +6 -9
- streamlit/elements/widgets/chat.py +11 -13
- streamlit/elements/widgets/checkbox.py +1 -0
- streamlit/elements/widgets/color_picker.py +9 -14
- streamlit/elements/widgets/data_editor.py +9 -5
- streamlit/elements/widgets/file_uploader.py +10 -9
- streamlit/elements/widgets/multiselect.py +1 -0
- streamlit/elements/widgets/number_input.py +12 -12
- streamlit/elements/widgets/radio.py +2 -1
- streamlit/elements/widgets/select_slider.py +4 -10
- streamlit/elements/widgets/selectbox.py +11 -13
- streamlit/elements/widgets/slider.py +28 -41
- streamlit/elements/widgets/text_widgets.py +16 -24
- streamlit/elements/widgets/time_widgets.py +15 -22
- streamlit/hello/animation_demo.py +9 -9
- streamlit/hello/dataframe_demo.py +2 -2
- streamlit/hello/hello.py +1 -0
- streamlit/hello/mapping_demo.py +5 -6
- streamlit/hello/streamlit_app.py +27 -25
- streamlit/logger.py +1 -1
- streamlit/proto/AudioInput_pb2.py +3 -4
- streamlit/proto/AudioInput_pb2.pyi +2 -7
- streamlit/proto/Block_pb2.py +27 -27
- streamlit/proto/Block_pb2.pyi +3 -17
- streamlit/proto/CameraInput_pb2.py +3 -4
- streamlit/proto/CameraInput_pb2.pyi +2 -8
- streamlit/proto/ChatInput_pb2.py +7 -8
- streamlit/proto/ChatInput_pb2.pyi +1 -10
- streamlit/proto/Code_pb2.py +3 -4
- streamlit/proto/DateInput_pb2.py +3 -4
- streamlit/proto/DateInput_pb2.pyi +2 -8
- streamlit/proto/DocString_pb2.py +5 -6
- streamlit/proto/DocString_pb2.pyi +1 -9
- streamlit/proto/FileUploader_pb2.py +3 -4
- streamlit/proto/FileUploader_pb2.pyi +2 -8
- streamlit/proto/Json_pb2.py +3 -4
- streamlit/proto/Json_pb2.pyi +2 -9
- streamlit/proto/NewSession_pb2.py +16 -16
- streamlit/proto/NewSession_pb2.pyi +7 -2
- streamlit/proto/NumberInput_pb2.py +5 -6
- streamlit/proto/NumberInput_pb2.pyi +2 -9
- streamlit/proto/Progress_pb2.py +3 -4
- streamlit/proto/Progress_pb2.pyi +1 -7
- streamlit/proto/Selectbox_pb2.py +3 -4
- streamlit/proto/Selectbox_pb2.pyi +2 -9
- streamlit/proto/Slider_pb2.py +7 -8
- streamlit/proto/Slider_pb2.pyi +2 -8
- streamlit/proto/TextArea_pb2.py +3 -4
- streamlit/proto/TextArea_pb2.pyi +2 -9
- streamlit/proto/TextInput_pb2.py +5 -6
- streamlit/proto/TextInput_pb2.pyi +2 -9
- streamlit/proto/TimeInput_pb2.py +3 -4
- streamlit/proto/TimeInput_pb2.pyi +2 -9
- streamlit/runtime/app_session.py +11 -8
- streamlit/runtime/caching/hashing.py +8 -9
- streamlit/runtime/caching/storage/local_disk_cache_storage.py +3 -3
- streamlit/runtime/connection_factory.py +12 -12
- streamlit/runtime/credentials.py +13 -26
- streamlit/runtime/runtime_util.py +2 -2
- streamlit/runtime/scriptrunner/script_runner.py +8 -7
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +1240 -0
- streamlit/static/static/js/{ErrorOutline.esm.qteVcUUN.js → ErrorOutline.esm.D5NgCh5m.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.ncu7N-Hr.js → FileDownload.esm.NuObx1Tl.js} +1 -1
- streamlit/static/static/js/{FileHelper.zsMZ7RXt.js → FileHelper.BH7o4_P9.js} +5 -5
- streamlit/static/static/js/{FormClearHelper.W8yVYXZp.js → FormClearHelper.BAxB8JFY.js} +1 -1
- streamlit/static/static/js/{Hooks.DBj6srQ1.js → Hooks.Bjt8oBOT.js} +1 -1
- streamlit/static/static/js/{InputInstructions.BobLsJJb.js → InputInstructions.BZZLp6t9.js} +1 -1
- streamlit/static/static/js/{ProgressBar.CtvJrIzN.js → ProgressBar.BwRgGfI0.js} +2 -2
- streamlit/static/static/js/{RenderInPortalIfExists.DnT_UdzV.js → RenderInPortalIfExists.C_c286r8.js} +1 -1
- streamlit/static/static/js/{Toolbar.BVF7NtOB.js → Toolbar.5tXjF_eX.js} +1 -1
- streamlit/static/static/js/{base-input.B4sdS3vw.js → base-input.wfBDFTlB.js} +1 -1
- streamlit/static/static/js/{checkbox.DKDitzF8.js → checkbox.D1GhNngU.js} +1 -1
- streamlit/static/static/js/{createSuper.mhx956J9.js → createSuper.CudEEVs2.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.CmXS0PAX.js → data-grid-overlay-editor.DUTI_Rbg.js} +1 -1
- streamlit/static/static/js/{downloader.Cnd9SuxG.js → downloader.BwLpAoXN.js} +1 -1
- streamlit/static/static/js/{es6.DM-pf09u.js → es6.B_HLnUb9.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.Gc5GAjZM.js → iframeResizer.contentWindow.BNcjOcan.js} +1 -1
- streamlit/static/static/js/{index.D4XRYl23.js → index.3WJoJFGb.js} +1 -1
- streamlit/static/static/js/{index.C_2m4F7k.js → index.B0h616Th.js} +1 -1
- streamlit/static/static/js/{index.p2Wl4zMi.js → index.B0paBg5x.js} +1 -1
- streamlit/static/static/js/index.B3vWaIrN.js +1 -0
- streamlit/static/static/js/{index.B45ExNhw.js → index.B4PbMsBe.js} +1 -1
- streamlit/static/static/js/{index.BWTBe3a1.js → index.BGKVW2u9.js} +1 -1
- streamlit/static/static/js/index.BJQPxOFd.js +12 -0
- streamlit/static/static/js/{index.DdyZtGcg.js → index.BOHEcsVb.js} +1 -1
- streamlit/static/static/js/{index.BR-S54Iv.js → index.BPGAPI9w.js} +1 -1
- streamlit/static/static/js/{index.gBOr8z2K.js → index.Bj6uLiaA.js} +1 -1
- streamlit/static/static/js/{index.I3iNnzJx.js → index.BkvVxUIW.js} +1 -1
- streamlit/static/static/js/{index._BaeK1t7.js → index.Bs0m0eUy.js} +1 -1
- streamlit/static/static/js/{index.DwUISpCs.js → index.BtpsTdHN.js} +177 -174
- streamlit/static/static/js/index.C1GNiWbH.js +1 -0
- streamlit/static/static/js/{index.B6xTo8b8.js → index.CL0UH4WF.js} +1 -1
- streamlit/static/static/js/{index.BJQNG4O1.js → index.CXP5ffxh.js} +1 -1
- streamlit/static/static/js/{index.DAvhwYMG.js → index.Ca-9xoC2.js} +1 -1
- streamlit/static/static/js/{index.COBionvf.js → index.Cdd7Ri21.js} +1 -1
- streamlit/static/static/js/index.Cf8KcH2X.js +1 -0
- streamlit/static/static/js/{index.BkLkRTpZ.js → index.CfzaRR6P.js} +1 -1
- streamlit/static/static/js/{index.CkKptP1T.js → index.CjRwuAdg.js} +1 -1
- streamlit/static/static/js/{index.CjBaoWYr.js → index.CkOUlPYT.js} +1 -1
- streamlit/static/static/js/{index.DQGSbu2C.js → index.CxtkoiKl.js} +1 -1
- streamlit/static/static/js/index.D3wYqvI6.js +1 -0
- streamlit/static/static/js/index.D8i27llu.js +3 -0
- streamlit/static/static/js/{index.BfusYuD8.js → index.DA7wmIe4.js} +1 -1
- streamlit/static/static/js/index.DIG9Mo9J.js +1 -0
- streamlit/static/static/js/index.DNR4wKJg.js +1 -0
- streamlit/static/static/js/{index.B29JQLHa.js → index.DNS8a-dx.js} +20 -20
- streamlit/static/static/js/{index.BNNR5Jmd.js → index.NveskZ7j.js} +1 -1
- streamlit/static/static/js/{index.CWgnk1N4.js → index.PR2mcvVR.js} +1 -1
- streamlit/static/static/js/{index.CJ-XXd1r.js → index.df4uuSoD.js} +1 -1
- streamlit/static/static/js/{index.WWYmGCrM.js → index.flyQEkeT.js} +1 -1
- streamlit/static/static/js/{index.vOqxh1m2.js → index.iF9jUtwl.js} +1 -1
- streamlit/static/static/js/{index.C5KKmyWy.js → index.jyqBAhvH.js} +1 -1
- streamlit/static/static/js/{index.AWkO-7e-.js → index.sYLAHlH0.js} +1 -1
- streamlit/static/static/js/{index.CZ5fZcT5.js → index.zq3LdRhj.js} +1 -1
- streamlit/static/static/js/{input.BvD9DHLa.js → input.CtZjQ6Pv.js} +1 -1
- streamlit/static/static/js/{memory.DCVB1HOm.js → memory.Ddl3R0up.js} +1 -1
- streamlit/static/static/js/{mergeWith.BqTORFAq.js → mergeWith.D-TqDY0-.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.VB_OvuPv.js → number-overlay-editor.Dndf05Hx.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.DhYxBDlj.js → possibleConstructorReturn.DNEY6J9G.js} +1 -1
- streamlit/static/static/js/{sandbox.CoN7LRFk.js → sandbox.B_XDPkfx.js} +1 -1
- streamlit/static/static/js/{textarea.DkHpIjdT.js → textarea.BZ9lTMhV.js} +1 -1
- streamlit/static/static/js/{timepicker.C8UIzYhf.js → timepicker.D9UUwpRT.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.DXfr1fvT.js → toConsumableArray.DNJjbOUS.js} +1 -1
- streamlit/static/static/js/{uniqueId.CgrMSBTb.js → uniqueId.psBJ_tSg.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.C-e-WEFS.js → useBasicWidgetState.CTpx4w-3.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.CtRJhZD6.js → useOnInputChange.WKTDSC4O.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.od0SAvAK.js → withFullScreenWrapper.oyWCn2-3.js} +1 -1
- streamlit/watcher/local_sources_watcher.py +1 -1
- streamlit/watcher/path_watcher.py +2 -3
- streamlit/web/bootstrap.py +1 -1
- streamlit/web/cli.py +5 -5
- streamlit/web/server/authlib_tornado_integration.py +3 -3
- streamlit/web/server/oauth_authlib_routes.py +4 -2
- streamlit/web/server/oidc_mixin.py +6 -5
- streamlit/web/server/server.py +1 -1
- {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/METADATA +2 -2
- {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/RECORD +172 -171
- streamlit/static/static/js/index.B0E6Rv1F.js +0 -1
- streamlit/static/static/js/index.BONHiJUZ.js +0 -1
- streamlit/static/static/js/index.BV38yp5k.js +0 -1
- streamlit/static/static/js/index.CgOynO1t.js +0 -1
- streamlit/static/static/js/index.DIyx-z1Q.js +0 -1
- streamlit/static/static/js/index.DOYomqqU.js +0 -1
- streamlit/static/static/js/index.DOl-SOKu.js +0 -3
- streamlit/static/static/js/index.DTU7qmDP.js +0 -12
- {streamlit_nightly-1.45.2.dev20250527.data → streamlit_nightly-1.45.2.dev20250530.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.45.2.dev20250527.dist-info → streamlit_nightly-1.45.2.dev20250530.dist-info}/top_level.txt +0 -0
@@ -42,22 +42,22 @@ def animation_demo() -> None:
|
|
42
42
|
for frame_num, a in enumerate(np.linspace(0.0, 4 * np.pi, 100)):
|
43
43
|
# Here were setting value for these two elements.
|
44
44
|
progress_bar.progress(frame_num)
|
45
|
-
frame_text.text("Frame
|
45
|
+
frame_text.text(f"Frame {frame_num + 1}/100")
|
46
46
|
|
47
47
|
# Performing some fractal wizardry.
|
48
48
|
c = separation * np.exp(1j * a)
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
49
|
+
z = np.tile(x, (n, 1)) + 1j * np.tile(y, (1, m))
|
50
|
+
c_matrix = np.full((n, m), c)
|
51
|
+
m_matrix: Any = np.full((n, m), True, dtype=bool)
|
52
|
+
n_matrix = np.zeros((n, m))
|
53
53
|
|
54
54
|
for i in range(iterations):
|
55
|
-
|
56
|
-
|
57
|
-
|
55
|
+
z[m_matrix] = z[m_matrix] * z[m_matrix] + c_matrix[m_matrix]
|
56
|
+
m_matrix[np.abs(z) > 2] = False
|
57
|
+
n_matrix[m_matrix] = i
|
58
58
|
|
59
59
|
# Update the image placeholder by calling the image() function on it.
|
60
|
-
image.image(1.0 - (
|
60
|
+
image.image(1.0 - (n_matrix / n_matrix.max()), use_container_width=True)
|
61
61
|
|
62
62
|
# We clear elements by calling empty on them.
|
63
63
|
progress_bar.empty()
|
@@ -24,8 +24,8 @@ from streamlit.hello.utils import show_code
|
|
24
24
|
def data_frame_demo() -> None:
|
25
25
|
@st.cache_data
|
26
26
|
def get_un_data() -> pd.DataFrame:
|
27
|
-
|
28
|
-
df = pd.read_csv(
|
27
|
+
aws_bucket_url = "https://streamlit-demo-data.s3-us-west-2.amazonaws.com"
|
28
|
+
df = pd.read_csv(aws_bucket_url + "/agri.csv.gz")
|
29
29
|
return df.set_index("Region")
|
30
30
|
|
31
31
|
try:
|
streamlit/hello/hello.py
CHANGED
streamlit/hello/mapping_demo.py
CHANGED
@@ -26,12 +26,12 @@ def mapping_demo() -> None:
|
|
26
26
|
def from_data_file(filename: str) -> pd.DataFrame:
|
27
27
|
url = (
|
28
28
|
"https://raw.githubusercontent.com/streamlit/"
|
29
|
-
"example-data/master/hello/v1
|
29
|
+
f"example-data/master/hello/v1/{filename}"
|
30
30
|
)
|
31
31
|
return pd.read_json(url)
|
32
32
|
|
33
33
|
try:
|
34
|
-
|
34
|
+
all_layers = {
|
35
35
|
"Bike rentals": pdk.Layer(
|
36
36
|
"HexagonLayer",
|
37
37
|
data=from_data_file("bike_rental_stats.json"),
|
@@ -75,7 +75,7 @@ def mapping_demo() -> None:
|
|
75
75
|
st.sidebar.subheader("Map layers")
|
76
76
|
selected_layers = [
|
77
77
|
layer
|
78
|
-
for layer_name, layer in
|
78
|
+
for layer_name, layer in all_layers.items()
|
79
79
|
if st.sidebar.checkbox(layer_name, True)
|
80
80
|
]
|
81
81
|
if selected_layers:
|
@@ -95,11 +95,10 @@ def mapping_demo() -> None:
|
|
95
95
|
st.error("Please choose at least one layer above.")
|
96
96
|
except URLError as e:
|
97
97
|
st.error(
|
98
|
-
"""
|
98
|
+
f"""
|
99
99
|
**This demo requires internet access.**
|
100
|
-
Connection error:
|
100
|
+
Connection error: {e.reason}
|
101
101
|
"""
|
102
|
-
% e.reason
|
103
102
|
)
|
104
103
|
|
105
104
|
|
streamlit/hello/streamlit_app.py
CHANGED
@@ -22,31 +22,33 @@ dir_path = Path(__file__).parent
|
|
22
22
|
# Note that this needs to be in a method so we can have an e2e playwright test.
|
23
23
|
def run() -> None:
|
24
24
|
page = st.navigation(
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
25
|
+
{
|
26
|
+
"Pages": [
|
27
|
+
st.Page(
|
28
|
+
dir_path / "hello.py", title="Hello", icon=":material/waving_hand:"
|
29
|
+
),
|
30
|
+
st.Page(
|
31
|
+
dir_path / "dataframe_demo.py",
|
32
|
+
title="DataFrame demo",
|
33
|
+
icon=":material/table:",
|
34
|
+
),
|
35
|
+
st.Page(
|
36
|
+
dir_path / "plotting_demo.py",
|
37
|
+
title="Plotting demo",
|
38
|
+
icon=":material/show_chart:",
|
39
|
+
),
|
40
|
+
st.Page(
|
41
|
+
dir_path / "mapping_demo.py",
|
42
|
+
title="Mapping demo",
|
43
|
+
icon=":material/public:",
|
44
|
+
),
|
45
|
+
st.Page(
|
46
|
+
dir_path / "animation_demo.py",
|
47
|
+
title="Animation demo",
|
48
|
+
icon=":material/animation:",
|
49
|
+
),
|
50
|
+
]
|
51
|
+
}
|
50
52
|
)
|
51
53
|
page.run()
|
52
54
|
|
streamlit/logger.py
CHANGED
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
17
16
|
|
18
17
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/AudioInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n streamlit/proto/AudioInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\x8b\x01\n\nAudioInput\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.LabelVisibilityMessageB/\n\x1c\x63om.snowflake.apps.streamlitB\x0f\x41udioInputProtob\x06proto3')
|
20
19
|
|
21
20
|
_globals = globals()
|
22
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.AudioInput_
|
|
24
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
25
24
|
_globals['DESCRIPTOR']._loaded_options = None
|
26
25
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\017AudioInputProto'
|
27
|
-
_globals['_AUDIOINPUT']._serialized_start=
|
28
|
-
_globals['_AUDIOINPUT']._serialized_end=
|
26
|
+
_globals['_AUDIOINPUT']._serialized_start=83
|
27
|
+
_globals['_AUDIOINPUT']._serialized_end=222
|
29
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -21,7 +21,6 @@ import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
22
22
|
import google.protobuf.message
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
24
|
-
import streamlit.proto.WidthConfig_pb2
|
25
24
|
import typing
|
26
25
|
|
27
26
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -36,7 +35,6 @@ class AudioInput(google.protobuf.message.Message):
|
|
36
35
|
FORM_ID_FIELD_NUMBER: builtins.int
|
37
36
|
DISABLED_FIELD_NUMBER: builtins.int
|
38
37
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
39
|
-
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
40
38
|
id: builtins.str
|
41
39
|
label: builtins.str
|
42
40
|
help: builtins.str
|
@@ -44,8 +42,6 @@ class AudioInput(google.protobuf.message.Message):
|
|
44
42
|
disabled: builtins.bool
|
45
43
|
@property
|
46
44
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
47
|
-
@property
|
48
|
-
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
49
45
|
def __init__(
|
50
46
|
self,
|
51
47
|
*,
|
@@ -55,9 +51,8 @@ class AudioInput(google.protobuf.message.Message):
|
|
55
51
|
form_id: builtins.str = ...,
|
56
52
|
disabled: builtins.bool = ...,
|
57
53
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
58
|
-
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
59
54
|
) -> None: ...
|
60
|
-
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"
|
61
|
-
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"
|
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: ...
|
62
57
|
|
63
58
|
global___AudioInput = AudioInput
|
streamlit/proto/Block_pb2.py
CHANGED
@@ -17,7 +17,7 @@ from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightCo
|
|
17
17
|
from streamlit.proto import GapSize_pb2 as streamlit_dot_proto_dot_GapSize__pb2
|
18
18
|
|
19
19
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a!streamlit/proto/WidthConfig.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a\x1dstreamlit/proto/GapSize.proto\"\xe3\r\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a*\n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12\x0e\n\x06height\x18\x02 \x01(\r\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\xdd\x01\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\x1a\xef\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12\x0f\n\x03gap\x18\x02 \x01(\tB\x02\x18\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_config\x1aM\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\tB\x0b\n\t_expanded\x1a\x9d\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\"#\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a\x0e\n\x0cTabContainer\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1a\x63\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x1b\n\x13use_container_width\x18\x02 \x01(\x08\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configB*\n\x1c\x63om.snowflake.apps.streamlitB\nBlockProtob\x06proto3')
|
21
21
|
|
22
22
|
_globals = globals()
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -28,35 +28,35 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
28
28
|
_globals['_BLOCK_COLUMN'].fields_by_name['gap']._loaded_options = None
|
29
29
|
_globals['_BLOCK_COLUMN'].fields_by_name['gap']._serialized_options = b'\030\001'
|
30
30
|
_globals['_BLOCK']._serialized_start=134
|
31
|
-
_globals['_BLOCK']._serialized_end=
|
31
|
+
_globals['_BLOCK']._serialized_end=1897
|
32
32
|
_globals['_BLOCK_VERTICAL']._serialized_start=699
|
33
33
|
_globals['_BLOCK_VERTICAL']._serialized_end=741
|
34
34
|
_globals['_BLOCK_HORIZONTAL']._serialized_start=743
|
35
35
|
_globals['_BLOCK_HORIZONTAL']._serialized_end=768
|
36
36
|
_globals['_BLOCK_FLEXCONTAINER']._serialized_start=771
|
37
|
-
_globals['_BLOCK_FLEXCONTAINER']._serialized_end=
|
38
|
-
_globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_start=
|
39
|
-
_globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_end=
|
40
|
-
_globals['_BLOCK_COLUMN']._serialized_start=
|
41
|
-
_globals['_BLOCK_COLUMN']._serialized_end=
|
42
|
-
_globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_start=
|
43
|
-
_globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_end=
|
44
|
-
_globals['_BLOCK_EXPANDABLE']._serialized_start=
|
45
|
-
_globals['_BLOCK_EXPANDABLE']._serialized_end=
|
46
|
-
_globals['_BLOCK_DIALOG']._serialized_start=
|
47
|
-
_globals['_BLOCK_DIALOG']._serialized_end=
|
48
|
-
_globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_start=
|
49
|
-
_globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_end=
|
50
|
-
_globals['_BLOCK_FORM']._serialized_start=
|
51
|
-
_globals['_BLOCK_FORM']._serialized_end=
|
52
|
-
_globals['_BLOCK_TABCONTAINER']._serialized_start=
|
53
|
-
_globals['_BLOCK_TABCONTAINER']._serialized_end=
|
54
|
-
_globals['_BLOCK_TAB']._serialized_start=
|
55
|
-
_globals['_BLOCK_TAB']._serialized_end=
|
56
|
-
_globals['_BLOCK_POPOVER']._serialized_start=
|
57
|
-
_globals['_BLOCK_POPOVER']._serialized_end=
|
58
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_start=
|
59
|
-
_globals['_BLOCK_CHATMESSAGE']._serialized_end=
|
60
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=
|
61
|
-
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=
|
37
|
+
_globals['_BLOCK_FLEXCONTAINER']._serialized_end=992
|
38
|
+
_globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_start=926
|
39
|
+
_globals['_BLOCK_FLEXCONTAINER_DIRECTION']._serialized_end=992
|
40
|
+
_globals['_BLOCK_COLUMN']._serialized_start=995
|
41
|
+
_globals['_BLOCK_COLUMN']._serialized_end=1234
|
42
|
+
_globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_start=1167
|
43
|
+
_globals['_BLOCK_COLUMN_VERTICALALIGNMENT']._serialized_end=1219
|
44
|
+
_globals['_BLOCK_EXPANDABLE']._serialized_start=1236
|
45
|
+
_globals['_BLOCK_EXPANDABLE']._serialized_end=1313
|
46
|
+
_globals['_BLOCK_DIALOG']._serialized_start=1316
|
47
|
+
_globals['_BLOCK_DIALOG']._serialized_end=1473
|
48
|
+
_globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_start=1426
|
49
|
+
_globals['_BLOCK_DIALOG_DIALOGWIDTH']._serialized_end=1461
|
50
|
+
_globals['_BLOCK_FORM']._serialized_start=1475
|
51
|
+
_globals['_BLOCK_FORM']._serialized_end=1564
|
52
|
+
_globals['_BLOCK_TABCONTAINER']._serialized_start=1566
|
53
|
+
_globals['_BLOCK_TABCONTAINER']._serialized_end=1580
|
54
|
+
_globals['_BLOCK_TAB']._serialized_start=1582
|
55
|
+
_globals['_BLOCK_TAB']._serialized_end=1602
|
56
|
+
_globals['_BLOCK_POPOVER']._serialized_start=1604
|
57
|
+
_globals['_BLOCK_POPOVER']._serialized_end=1703
|
58
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_start=1706
|
59
|
+
_globals['_BLOCK_CHATMESSAGE']._serialized_end=1847
|
60
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_start=1803
|
61
|
+
_globals['_BLOCK_CHATMESSAGE_AVATARTYPE']._serialized_end=1847
|
62
62
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/Block_pb2.pyi
CHANGED
@@ -88,7 +88,6 @@ class Block(google.protobuf.message.Message):
|
|
88
88
|
HORIZONTAL: Block.FlexContainer.Direction.ValueType # 2
|
89
89
|
|
90
90
|
BORDER_FIELD_NUMBER: builtins.int
|
91
|
-
HEIGHT_CONFIG_FIELD_NUMBER: builtins.int
|
92
91
|
GAP_CONFIG_FIELD_NUMBER: builtins.int
|
93
92
|
SCALE_FIELD_NUMBER: builtins.int
|
94
93
|
DIRECTION_FIELD_NUMBER: builtins.int
|
@@ -97,24 +96,19 @@ class Block(google.protobuf.message.Message):
|
|
97
96
|
scale: builtins.float
|
98
97
|
direction: global___Block.FlexContainer.Direction.ValueType
|
99
98
|
wrap: builtins.bool
|
100
|
-
@property
|
101
|
-
def height_config(self) -> streamlit.proto.HeightConfig_pb2.HeightConfig:
|
102
|
-
"""TODO (lwilby): move this to use block level field."""
|
103
|
-
|
104
99
|
@property
|
105
100
|
def gap_config(self) -> streamlit.proto.GapSize_pb2.GapConfig: ...
|
106
101
|
def __init__(
|
107
102
|
self,
|
108
103
|
*,
|
109
104
|
border: builtins.bool = ...,
|
110
|
-
height_config: streamlit.proto.HeightConfig_pb2.HeightConfig | None = ...,
|
111
105
|
gap_config: streamlit.proto.GapSize_pb2.GapConfig | None = ...,
|
112
106
|
scale: builtins.float = ...,
|
113
107
|
direction: global___Block.FlexContainer.Direction.ValueType = ...,
|
114
108
|
wrap: builtins.bool = ...,
|
115
109
|
) -> None: ...
|
116
|
-
def HasField(self, field_name: typing.Literal["gap_config", b"gap_config"
|
117
|
-
def ClearField(self, field_name: typing.Literal["border", b"border", "direction", b"direction", "gap_config", b"gap_config", "
|
110
|
+
def HasField(self, field_name: typing.Literal["gap_config", b"gap_config"]) -> builtins.bool: ...
|
111
|
+
def ClearField(self, field_name: typing.Literal["border", b"border", "direction", b"direction", "gap_config", b"gap_config", "scale", b"scale", "wrap", b"wrap"]) -> None: ...
|
118
112
|
|
119
113
|
@typing.final
|
120
114
|
class Column(google.protobuf.message.Message):
|
@@ -308,25 +302,17 @@ class Block(google.protobuf.message.Message):
|
|
308
302
|
NAME_FIELD_NUMBER: builtins.int
|
309
303
|
AVATAR_FIELD_NUMBER: builtins.int
|
310
304
|
AVATAR_TYPE_FIELD_NUMBER: builtins.int
|
311
|
-
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
312
305
|
name: builtins.str
|
313
306
|
avatar: builtins.str
|
314
307
|
avatar_type: global___Block.ChatMessage.AvatarType.ValueType
|
315
|
-
@property
|
316
|
-
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig:
|
317
|
-
"""TODO (lwilby): move this to use block level field."""
|
318
|
-
|
319
308
|
def __init__(
|
320
309
|
self,
|
321
310
|
*,
|
322
311
|
name: builtins.str = ...,
|
323
312
|
avatar: builtins.str = ...,
|
324
313
|
avatar_type: global___Block.ChatMessage.AvatarType.ValueType = ...,
|
325
|
-
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
326
314
|
) -> None: ...
|
327
|
-
def
|
328
|
-
def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "avatar", b"avatar", "avatar_type", b"avatar_type", "name", b"name", "width_config", b"width_config"]) -> None: ...
|
329
|
-
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
315
|
+
def ClearField(self, field_name: typing.Literal["avatar", b"avatar", "avatar_type", b"avatar_type", "name", b"name"]) -> None: ...
|
330
316
|
|
331
317
|
VERTICAL_FIELD_NUMBER: builtins.int
|
332
318
|
HORIZONTAL_FIELD_NUMBER: builtins.int
|
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
17
16
|
|
18
17
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!streamlit/proto/CameraInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\
|
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')
|
20
19
|
|
21
20
|
_globals = globals()
|
22
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.CameraInput
|
|
24
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
25
24
|
_globals['DESCRIPTOR']._loaded_options = None
|
26
25
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\020CameraInputProto'
|
27
|
-
_globals['_CAMERAINPUT']._serialized_start=
|
28
|
-
_globals['_CAMERAINPUT']._serialized_end=
|
26
|
+
_globals['_CAMERAINPUT']._serialized_start=84
|
27
|
+
_globals['_CAMERAINPUT']._serialized_end=224
|
29
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -21,7 +21,6 @@ import builtins
|
|
21
21
|
import google.protobuf.descriptor
|
22
22
|
import google.protobuf.message
|
23
23
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
24
|
-
import streamlit.proto.WidthConfig_pb2
|
25
24
|
import typing
|
26
25
|
|
27
26
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -36,7 +35,6 @@ class CameraInput(google.protobuf.message.Message):
|
|
36
35
|
FORM_ID_FIELD_NUMBER: builtins.int
|
37
36
|
DISABLED_FIELD_NUMBER: builtins.int
|
38
37
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
39
|
-
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
40
38
|
id: builtins.str
|
41
39
|
label: builtins.str
|
42
40
|
help: builtins.str
|
@@ -44,8 +42,6 @@ class CameraInput(google.protobuf.message.Message):
|
|
44
42
|
disabled: builtins.bool
|
45
43
|
@property
|
46
44
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
47
|
-
@property
|
48
|
-
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
49
45
|
def __init__(
|
50
46
|
self,
|
51
47
|
*,
|
@@ -55,10 +51,8 @@ class CameraInput(google.protobuf.message.Message):
|
|
55
51
|
form_id: builtins.str = ...,
|
56
52
|
disabled: builtins.bool = ...,
|
57
53
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
58
|
-
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
59
54
|
) -> None: ...
|
60
|
-
def HasField(self, field_name: typing.Literal["
|
61
|
-
def ClearField(self, field_name: typing.Literal["
|
62
|
-
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
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: ...
|
63
57
|
|
64
58
|
global___CameraInput = CameraInput
|
streamlit/proto/ChatInput_pb2.py
CHANGED
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
13
13
|
|
14
14
|
|
15
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
15
|
|
17
16
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/ChatInput.proto\"\xd0\x02\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\x12*\n\x0b\x61\x63\x63\x65pt_file\x18\t \x01(\x0e\x32\x15.ChatInput.AcceptFile\x12\x11\n\tfile_type\x18\n \x03(\t\x12\x1a\n\x12max_upload_size_mb\x18\x0b \x01(\x05\"\x16\n\x08Position\x12\n\n\x06\x42OTTOM\x10\x00\"0\n\nAcceptFile\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SINGLE\x10\x01\x12\x0c\n\x08MULTIPLE\x10\x02\x42.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x43hatInputProtob\x06proto3')
|
19
18
|
|
20
19
|
_globals = globals()
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -23,10 +22,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.ChatInput_p
|
|
23
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
24
23
|
_globals['DESCRIPTOR']._loaded_options = None
|
25
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016ChatInputProto'
|
26
|
-
_globals['_CHATINPUT']._serialized_start=
|
27
|
-
_globals['_CHATINPUT']._serialized_end=
|
28
|
-
_globals['_CHATINPUT_POSITION']._serialized_start=
|
29
|
-
_globals['_CHATINPUT_POSITION']._serialized_end=
|
30
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=
|
31
|
-
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=
|
25
|
+
_globals['_CHATINPUT']._serialized_start=36
|
26
|
+
_globals['_CHATINPUT']._serialized_end=372
|
27
|
+
_globals['_CHATINPUT_POSITION']._serialized_start=300
|
28
|
+
_globals['_CHATINPUT_POSITION']._serialized_end=322
|
29
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_start=324
|
30
|
+
_globals['_CHATINPUT_ACCEPTFILE']._serialized_end=372
|
32
31
|
# @@protoc_insertion_point(module_scope)
|
@@ -23,7 +23,6 @@ import google.protobuf.descriptor
|
|
23
23
|
import google.protobuf.internal.containers
|
24
24
|
import google.protobuf.internal.enum_type_wrapper
|
25
25
|
import google.protobuf.message
|
26
|
-
import streamlit.proto.WidthConfig_pb2
|
27
26
|
import sys
|
28
27
|
import typing
|
29
28
|
|
@@ -77,7 +76,6 @@ class ChatInput(google.protobuf.message.Message):
|
|
77
76
|
ACCEPT_FILE_FIELD_NUMBER: builtins.int
|
78
77
|
FILE_TYPE_FIELD_NUMBER: builtins.int
|
79
78
|
MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: builtins.int
|
80
|
-
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
81
79
|
id: builtins.str
|
82
80
|
placeholder: builtins.str
|
83
81
|
max_chars: builtins.int
|
@@ -93,10 +91,6 @@ class ChatInput(google.protobuf.message.Message):
|
|
93
91
|
def file_type(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
94
92
|
"""Supported file types: For example: ["png","jpg","img"]"""
|
95
93
|
|
96
|
-
@property
|
97
|
-
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig:
|
98
|
-
"""Optional width configuration for the ChatInput"""
|
99
|
-
|
100
94
|
def __init__(
|
101
95
|
self,
|
102
96
|
*,
|
@@ -111,10 +105,7 @@ class ChatInput(google.protobuf.message.Message):
|
|
111
105
|
accept_file: global___ChatInput.AcceptFile.ValueType = ...,
|
112
106
|
file_type: collections.abc.Iterable[builtins.str] | None = ...,
|
113
107
|
max_upload_size_mb: builtins.int = ...,
|
114
|
-
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
115
108
|
) -> None: ...
|
116
|
-
def
|
117
|
-
def ClearField(self, field_name: typing.Literal["_width_config", b"_width_config", "accept_file", b"accept_file", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value", "width_config", b"width_config"]) -> None: ...
|
118
|
-
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
109
|
+
def ClearField(self, field_name: typing.Literal["accept_file", b"accept_file", "default", b"default", "disabled", b"disabled", "file_type", b"file_type", "id", b"id", "max_chars", b"max_chars", "max_upload_size_mb", b"max_upload_size_mb", "placeholder", b"placeholder", "position", b"position", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
119
110
|
|
120
111
|
global___ChatInput = ChatInput
|
streamlit/proto/Code_pb2.py
CHANGED
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
13
13
|
|
14
14
|
|
15
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
15
|
|
17
16
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1astreamlit/proto/Code.proto\"n\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\x12\x12\n\nwrap_lines\x18\x04 \x01(\x08\x12\x12\n\x06height\x18\x05 \x01(\rB\x02\x18\x01\x42)\n\x1c\x63om.snowflake.apps.streamlitB\tCodeProtob\x06proto3')
|
19
18
|
|
20
19
|
_globals = globals()
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -25,6 +24,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
25
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\tCodeProto'
|
26
25
|
_globals['_CODE'].fields_by_name['height']._loaded_options = None
|
27
26
|
_globals['_CODE'].fields_by_name['height']._serialized_options = b'\030\001'
|
28
|
-
_globals['_CODE']._serialized_start=
|
29
|
-
_globals['_CODE']._serialized_end=
|
27
|
+
_globals['_CODE']._serialized_start=30
|
28
|
+
_globals['_CODE']._serialized_end=140
|
30
29
|
# @@protoc_insertion_point(module_scope)
|
streamlit/proto/DateInput_pb2.py
CHANGED
@@ -13,10 +13,9 @@ _sym_db = _symbol_database.Default()
|
|
13
13
|
|
14
14
|
|
15
15
|
from streamlit.proto import LabelVisibilityMessage_pb2 as streamlit_dot_proto_dot_LabelVisibilityMessage__pb2
|
16
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
17
16
|
|
18
17
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DateInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DateInput.proto\x1a,streamlit/proto/LabelVisibilityMessage.proto\"\xf9\x01\n\tDateInput\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x03 \x03(\t\x12\x0b\n\x03min\x18\x04 \x01(\t\x12\x0b\n\x03max\x18\x05 \x01(\t\x12\x10\n\x08is_range\x18\x06 \x01(\x08\x12\x0c\n\x04help\x18\x07 \x01(\t\x12\x0f\n\x07\x66orm_id\x18\x08 \x01(\t\x12\r\n\x05value\x18\t \x03(\t\x12\x11\n\tset_value\x18\n \x01(\x08\x12\x10\n\x08\x64isabled\x18\x0b \x01(\x08\x12\x31\n\x10label_visibility\x18\x0c \x01(\x0b\x32\x17.LabelVisibilityMessage\x12\x0e\n\x06\x66ormat\x18\r \x01(\tB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44\x61teInputProtob\x06proto3')
|
20
19
|
|
21
20
|
_globals = globals()
|
22
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -24,6 +23,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DateInput_p
|
|
24
23
|
if not _descriptor._USE_C_DESCRIPTORS:
|
25
24
|
_globals['DESCRIPTOR']._loaded_options = None
|
26
25
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DateInputProto'
|
27
|
-
_globals['_DATEINPUT']._serialized_start=
|
28
|
-
_globals['_DATEINPUT']._serialized_end=
|
26
|
+
_globals['_DATEINPUT']._serialized_start=82
|
27
|
+
_globals['_DATEINPUT']._serialized_end=331
|
29
28
|
# @@protoc_insertion_point(module_scope)
|
@@ -23,7 +23,6 @@ import google.protobuf.descriptor
|
|
23
23
|
import google.protobuf.internal.containers
|
24
24
|
import google.protobuf.message
|
25
25
|
import streamlit.proto.LabelVisibilityMessage_pb2
|
26
|
-
import streamlit.proto.WidthConfig_pb2
|
27
26
|
import typing
|
28
27
|
|
29
28
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
@@ -45,7 +44,6 @@ class DateInput(google.protobuf.message.Message):
|
|
45
44
|
DISABLED_FIELD_NUMBER: builtins.int
|
46
45
|
LABEL_VISIBILITY_FIELD_NUMBER: builtins.int
|
47
46
|
FORMAT_FIELD_NUMBER: builtins.int
|
48
|
-
WIDTH_CONFIG_FIELD_NUMBER: builtins.int
|
49
47
|
id: builtins.str
|
50
48
|
label: builtins.str
|
51
49
|
min: builtins.str
|
@@ -62,8 +60,6 @@ class DateInput(google.protobuf.message.Message):
|
|
62
60
|
def value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
63
61
|
@property
|
64
62
|
def label_visibility(self) -> streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
65
|
-
@property
|
66
|
-
def width_config(self) -> streamlit.proto.WidthConfig_pb2.WidthConfig: ...
|
67
63
|
def __init__(
|
68
64
|
self,
|
69
65
|
*,
|
@@ -80,10 +76,8 @@ class DateInput(google.protobuf.message.Message):
|
|
80
76
|
disabled: builtins.bool = ...,
|
81
77
|
label_visibility: streamlit.proto.LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
82
78
|
format: builtins.str = ...,
|
83
|
-
width_config: streamlit.proto.WidthConfig_pb2.WidthConfig | None = ...,
|
84
79
|
) -> None: ...
|
85
|
-
def HasField(self, field_name: typing.Literal["
|
86
|
-
def ClearField(self, field_name: typing.Literal["
|
87
|
-
def WhichOneof(self, oneof_group: typing.Literal["_width_config", b"_width_config"]) -> typing.Literal["width_config"] | None: ...
|
80
|
+
def HasField(self, field_name: typing.Literal["label_visibility", b"label_visibility"]) -> builtins.bool: ...
|
81
|
+
def ClearField(self, field_name: typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value"]) -> None: ...
|
88
82
|
|
89
83
|
global___DateInput = DateInput
|
streamlit/proto/DocString_pb2.py
CHANGED
@@ -12,10 +12,9 @@ from google.protobuf.internal import builder as _builder
|
|
12
12
|
_sym_db = _symbol_database.Default()
|
13
13
|
|
14
14
|
|
15
|
-
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
16
15
|
|
17
16
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DocString.proto\
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/DocString.proto\"v\n\tDocString\x12\x12\n\ndoc_string\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\r\n\x05value\x18\x07 \x01(\t\x12\x18\n\x07members\x18\x08 \x03(\x0b\x32\x07.MemberJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06\"W\n\x06Member\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12\x14\n\ndoc_string\x18\x04 \x01(\tH\x00\x42\n\n\x08\x63ontentsB.\n\x1c\x63om.snowflake.apps.streamlitB\x0e\x44ocStringProtob\x06proto3')
|
19
18
|
|
20
19
|
_globals = globals()
|
21
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -23,8 +22,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.DocString_p
|
|
23
22
|
if not _descriptor._USE_C_DESCRIPTORS:
|
24
23
|
_globals['DESCRIPTOR']._loaded_options = None
|
25
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.snowflake.apps.streamlitB\016DocStringProto'
|
26
|
-
_globals['_DOCSTRING']._serialized_start=
|
27
|
-
_globals['_DOCSTRING']._serialized_end=
|
28
|
-
_globals['_MEMBER']._serialized_start=
|
29
|
-
_globals['_MEMBER']._serialized_end=
|
25
|
+
_globals['_DOCSTRING']._serialized_start=35
|
26
|
+
_globals['_DOCSTRING']._serialized_end=153
|
27
|
+
_globals['_MEMBER']._serialized_start=155
|
28
|
+
_globals['_MEMBER']._serialized_end=242
|
30
29
|
# @@protoc_insertion_point(module_scope)
|