streamlit-nightly 1.52.3.dev20260112__py3-none-any.whl → 1.53.1.dev20260114__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/__init__.py +1 -1
- streamlit/auth_util.py +1 -1
- streamlit/cli_util.py +1 -1
- streamlit/commands/logo.py +2 -0
- streamlit/commands/page_config.py +16 -16
- streamlit/components/v2/__init__.py +2 -2
- streamlit/components/v2/bidi_component/main.py +2 -2
- streamlit/connections/base_connection.py +16 -4
- streamlit/connections/snowflake_connection.py +255 -206
- streamlit/dataframe_util.py +1 -3
- streamlit/elements/arrow.py +5 -1
- streamlit/elements/form.py +2 -2
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/metric.py +49 -48
- streamlit/elements/vega_charts.py +4 -1
- streamlit/elements/widgets/button.py +9 -9
- streamlit/elements/widgets/chat.py +5 -9
- streamlit/elements/widgets/data_editor.py +3 -3
- streamlit/elements/widgets/file_uploader.py +10 -11
- streamlit/elements/widgets/multiselect.py +1 -1
- streamlit/elements/widgets/select_slider.py +4 -0
- streamlit/elements/widgets/time_widgets.py +1 -1
- streamlit/elements/write.py +1 -2
- streamlit/errors.py +2 -0
- streamlit/external/langchain/streamlit_callback_handler.py +1 -1
- streamlit/proto/Alert_pb2.pyi +31 -31
- streamlit/proto/AppPage_pb2.pyi +30 -30
- streamlit/proto/ArrowData_pb2.pyi +15 -15
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +25 -25
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +45 -45
- streamlit/proto/Arrow_pb2.pyi +126 -97
- streamlit/proto/AudioInput_pb2.pyi +39 -39
- streamlit/proto/Audio_pb2.pyi +39 -39
- streamlit/proto/AuthRedirect_pb2.pyi +15 -15
- streamlit/proto/AutoRerun_pb2.pyi +18 -18
- streamlit/proto/BackMsg_pb2.pyi +64 -64
- streamlit/proto/Balloons_pb2.pyi +15 -15
- streamlit/proto/BidiComponent_pb2.pyi +100 -100
- streamlit/proto/Block_pb2.pyi +295 -264
- streamlit/proto/BokehChart_pb2.pyi +21 -21
- streamlit/proto/ButtonGroup_pb2.pyi +96 -96
- streamlit/proto/ButtonLikeIconPosition_pb2.pyi +12 -12
- streamlit/proto/Button_pb2.pyi +63 -50
- streamlit/proto/CameraInput_pb2.pyi +34 -34
- streamlit/proto/ChatInput_pb2.pyi +63 -63
- streamlit/proto/Checkbox_pb2.pyi +49 -49
- streamlit/proto/ClientState_pb2.pyi +85 -85
- streamlit/proto/Code_pb2.pyi +41 -28
- streamlit/proto/ColorPicker_pb2.pyi +43 -43
- streamlit/proto/Common_pb2.pyi +175 -175
- streamlit/proto/Components_pb2.pyi +110 -110
- streamlit/proto/DataFrame_pb2.pyi +209 -209
- streamlit/proto/DateInput_pb2.pyi +59 -59
- streamlit/proto/DateTimeInput_pb2.pyi +62 -62
- streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -56
- streamlit/proto/Delta_pb2.pyi +44 -44
- streamlit/proto/DocString_pb2.pyi +51 -51
- streamlit/proto/DownloadButton_pb2.pyi +59 -59
- streamlit/proto/Element_pb2.pyi +319 -319
- streamlit/proto/Empty_pb2.pyi +10 -10
- streamlit/proto/Exception_pb2.pyi +37 -37
- streamlit/proto/Favicon_pb2.pyi +15 -15
- streamlit/proto/FileUploader_pb2.pyi +49 -49
- streamlit/proto/ForwardMsg_pb2.pyi +176 -170
- streamlit/proto/GapSize_pb2.pyi +23 -23
- streamlit/proto/GitInfo_pb2.pyi +37 -37
- streamlit/proto/GraphVizChart_pb2.pyi +38 -25
- streamlit/proto/Heading_pb2.pyi +30 -30
- streamlit/proto/HeightConfig_pb2.pyi +31 -31
- streamlit/proto/Html_pb2.pyi +18 -18
- streamlit/proto/IFrame_pb2.pyi +76 -47
- streamlit/proto/Image_pb2.pyi +49 -36
- streamlit/proto/Json_pb2.pyi +25 -25
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +18 -18
- streamlit/proto/LinkButton_pb2.pyi +43 -43
- streamlit/proto/Logo_pb2.pyi +24 -24
- streamlit/proto/Markdown_pb2.pyi +30 -30
- streamlit/proto/Metric_pb2.pyi +59 -59
- streamlit/proto/MetricsEvent_pb2.pyi +171 -171
- streamlit/proto/MultiSelect_pb2.pyi +72 -66
- streamlit/proto/NamedDataSet_pb2.pyi +25 -25
- streamlit/proto/Navigation_pb2.pyi +35 -35
- streamlit/proto/NewSession_pb2.pyi +511 -498
- streamlit/proto/NumberInput_pb2.pyi +79 -79
- streamlit/proto/PageConfig_pb2.pyi +71 -71
- streamlit/proto/PageInfo_pb2.pyi +15 -15
- streamlit/proto/PageLink_pb2.pyi +47 -47
- streamlit/proto/PageNotFound_pb2.pyi +15 -15
- streamlit/proto/PageProfile_pb2.pyi +85 -85
- streamlit/proto/PagesChanged_pb2.pyi +19 -19
- streamlit/proto/ParentMessage_pb2.pyi +15 -15
- streamlit/proto/PlotlyChart_pb2.pyi +79 -64
- streamlit/proto/Progress_pb2.pyi +18 -18
- streamlit/proto/Radio_pb2.pyi +62 -62
- streamlit/proto/RootContainer_pb2.pyi +12 -12
- streamlit/proto/Selectbox_pb2.pyi +80 -70
- streamlit/proto/SessionEvent_pb2.pyi +27 -27
- streamlit/proto/SessionStatus_pb2.pyi +18 -18
- streamlit/proto/Skeleton_pb2.pyi +25 -25
- streamlit/proto/Slider_pb2.pyi +74 -74
- streamlit/proto/Snow_pb2.pyi +15 -15
- streamlit/proto/Space_pb2.pyi +10 -10
- streamlit/proto/Spinner_pb2.pyi +21 -21
- streamlit/proto/TextAlignmentConfig_pb2.pyi +18 -18
- streamlit/proto/TextArea_pb2.pyi +72 -59
- streamlit/proto/TextInput_pb2.pyi +67 -67
- streamlit/proto/Text_pb2.pyi +18 -18
- streamlit/proto/TimeInput_pb2.pyi +52 -52
- streamlit/proto/Toast_pb2.pyi +25 -25
- streamlit/proto/Transient_pb2.pyi +19 -19
- streamlit/proto/VegaLiteChart_pb2.pyi +32 -32
- streamlit/proto/Video_pb2.pyi +65 -65
- streamlit/proto/WidgetStates_pb2.pyi +91 -85
- streamlit/proto/WidthConfig_pb2.pyi +31 -31
- streamlit/proto/openmetrics_data_model_pb2.pyi +269 -269
- streamlit/runtime/app_session.py +1 -1
- streamlit/runtime/caching/cache_data_api.py +25 -21
- streamlit/runtime/caching/cache_resource_api.py +69 -41
- streamlit/runtime/connection_factory.py +67 -41
- streamlit/runtime/credentials.py +2 -2
- streamlit/runtime/metrics_util.py +3 -3
- streamlit/runtime/secrets.py +1 -1
- streamlit/runtime/stats.py +1 -3
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +304 -304
- streamlit/static/static/js/{ErrorOutline.esm.BjVqd_6R.js → ErrorOutline.esm.BAZUU4id.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.DJCSsghl.js → FileDownload.esm.C6tTTniR.js} +1 -1
- streamlit/static/static/js/{FileHelper.C---TH7o.js → FileHelper.BOHlwlc9.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.C-6BC487.js → FormClearHelper.D4lty7rT.js} +1 -1
- streamlit/static/static/js/{InputInstructions.sxc3InCI.js → InputInstructions.BWw9lhud.js} +1 -1
- streamlit/static/static/js/{Particles.S8yD7iW-.js → Particles.BDi7fIn-.js} +1 -1
- streamlit/static/static/js/{ProgressBar.BiYsyZCC.js → ProgressBar.DCHh4N3P.js} +1 -1
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.9jZF8jX1.js → StreamlitSyntaxHighlighter.BRydQwEj.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.BdA4Q1rZ.js → TableChart.esm.7KFX5I_G.js} +1 -1
- streamlit/static/static/js/{Toolbar.B9DaaDfN.js → Toolbar.guIuiwEF.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.DxODTLS2.js → WidgetLabelHelpIconInline.CzodezAH.js} +1 -1
- streamlit/static/static/js/{base-input.Gf1cKuQR.js → base-input.Cg7NpsfS.js} +1 -1
- streamlit/static/static/js/{checkbox.CnoNruf3.js → checkbox.Bs20OTna.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.B48AepiL.js → createDownloadLinkElement.DSqCyu38.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.Cmdq9aqU.js → data-grid-overlay-editor.Ch4SqNfY.js} +1 -1
- streamlit/static/static/js/{downloader.CQLoQdMX.js → downloader.Oj5CTGJA.js} +1 -1
- streamlit/static/static/js/{embed.oKwocwU8.js → embed.CqzzUq73.js} +1 -1
- streamlit/static/static/js/{es6.BRxlY_y5.js → es6.CYrlw0Vn.js} +2 -2
- streamlit/static/static/js/{formatNumber.DaagZyZe.js → formatNumber.CT_v8e75.js} +1 -1
- streamlit/static/static/js/{iconPosition.Q3hNvmK4.js → iconPosition.DPAvXTmd.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.B6EBvI9L.js → iframeResizer.contentWindow.T4DvQsIf.js} +1 -1
- streamlit/static/static/js/{index.BoX8d5rK.js → index.AGYZDQZm.js} +1 -1
- streamlit/static/static/js/{index.KtjGDGY5.js → index.B3HdcUdo.js} +1 -1
- streamlit/static/static/js/{index.B9kZB0o1.js → index.B8ZZdPqF.js} +1 -1
- streamlit/static/static/js/{index.CFCBhOfx.js → index.B9Oowxt8.js} +1 -1
- streamlit/static/static/js/{index.CCQ5p_WC.js → index.BEzgNZOm.js} +1 -1
- streamlit/static/static/js/{index.D1pK_Vw2.js → index.BJnWg9Jq.js} +1 -1
- streamlit/static/static/js/{index.na9UBuse.js → index.BPxuKK0S.js} +1 -1
- streamlit/static/static/js/{index.QTaWooav.js → index.BTA0d5oq.js} +1 -1
- streamlit/static/static/js/{index.pU9mQeVC.js → index.BTqav7_K.js} +1 -1
- streamlit/static/static/js/{index.BXEC4cf3.js → index.BZ8xp-w9.js} +1 -1
- streamlit/static/static/js/{index.BF23fbfs.js → index.BoWBzl6h.js} +1 -1
- streamlit/static/static/js/index.Bqgt60FU.js +1 -0
- streamlit/static/static/js/{index.Dh5SAThV.js → index.BsYYrijt.js} +1 -1
- streamlit/static/static/js/{index.19_qtO6t.js → index.CGRIbGGV.js} +1 -1
- streamlit/static/static/js/{index.CSfsEKCF.js → index.CJQq5LcR.js} +1 -1
- streamlit/static/static/js/{index.Fu73QtkD.js → index.CPYB1awG.js} +1 -1
- streamlit/static/static/js/{index.BzwlrgZO.js → index.CVKk1nkB.js} +1 -1
- streamlit/static/static/js/{index.B03eQZoH.js → index.CVXiBeDI.js} +1 -1
- streamlit/static/static/js/{index.BRfGUOQ-.js → index.CXVpBAvU.js} +4 -4
- streamlit/static/static/js/{index.slgxPafU.js → index.Cfe-tCQJ.js} +1 -1
- streamlit/static/static/js/{index.D6X2coHR.js → index.ClFk8x0U.js} +1 -1
- streamlit/static/static/js/{index.WXybx2Xq.js → index.CnXxoVEM.js} +1 -1
- streamlit/static/static/js/{index.j4fnjyHo.js → index.Cw4eSvJ7.js} +1 -1
- streamlit/static/static/js/{index.KN1VmyYN.js → index.D6HCANv6.js} +1 -1
- streamlit/static/static/js/{index.CP-hoxJM.js → index.D7KbBAWb.js} +1 -1
- streamlit/static/static/js/{index.CCFwVy90.js → index.D84XHt50.js} +1 -1
- streamlit/static/static/js/{index.BkSwGJoh.js → index.DL_Ooizi.js} +1 -1
- streamlit/static/static/js/{index.QHnxuesF.js → index.DNyw7S7Z.js} +1 -1
- streamlit/static/static/js/{index.BAI9aHCq.js → index.DPlPEuq6.js} +1 -1
- streamlit/static/static/js/{index.CJ4oJe0V.js → index.DQzRwgrT.js} +1 -1
- streamlit/static/static/js/{index.CVlg41MB.js → index.DXRGd--0.js} +1 -1
- streamlit/static/static/js/{index.CIbgt5wY.js → index.DZDt5hYD.js} +1 -1
- streamlit/static/static/js/{index.BVT89mQw.js → index.DesNeXSA.js} +1 -1
- streamlit/static/static/js/{index.Boa0Egng.js → index.Dg9k4R8B.js} +1 -1
- streamlit/static/static/js/{index.43b777iP.js → index.Do9A7QCt.js} +1 -1
- streamlit/static/static/js/{index.DJ7P09eb.js → index.DrSH3pK3.js} +1 -1
- streamlit/static/static/js/{index.OpATzEaW.js → index.Dtd5z2rM.js} +1 -1
- streamlit/static/static/js/{index.BnfTPrHb.js → index.DzldU3Hy.js} +1 -1
- streamlit/static/static/js/{index.C0fSEz-3.js → index.GZi6GTJa.js} +1 -1
- streamlit/static/static/js/{index.CYE7b5Du.js → index.LOA31DFn.js} +1 -1
- streamlit/static/static/js/{index.Ca7MUNWJ.js → index.MtwRNvlS.js} +1 -1
- streamlit/static/static/js/{index.BbSFVZ3p.js → index.XHtvnZ0-.js} +1 -1
- streamlit/static/static/js/{index.CvIqsWy1.js → index.Yj6vcyFD.js} +1 -1
- streamlit/static/static/js/{index.BGBTkulf.js → index.b-MrPulo.js} +1 -1
- streamlit/static/static/js/{index.DGYHxruh.js → index.hcUYvTqs.js} +1 -1
- streamlit/static/static/js/{index.CvB9JBqS.js → index.tLZuZM89.js} +6 -6
- streamlit/static/static/js/{index.Xg-Qttib.js → index.wngeYhKj.js} +1 -1
- streamlit/static/static/js/{index.whRT3Vm3.js → index.xCV2qwtw.js} +1 -1
- streamlit/static/static/js/{input.CPzINTl-.js → input.CYXuTqoa.js} +1 -1
- streamlit/static/static/js/{main.DSPn8dUe.js → main.BE-siVKv.js} +1 -1
- streamlit/static/static/js/{memory.CfD8IGoU.js → memory.V554ztRg.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.4Ae0qegV.js → number-overlay-editor.BiUTOXIl.js} +1 -1
- streamlit/static/static/js/{pandasStylerUtils.D2EjZ7k6.js → pandasStylerUtils.Dej3Tstq.js} +1 -1
- streamlit/static/static/js/{sandbox.C6vcPIm0.js → sandbox.gpd7KGMo.js} +1 -1
- streamlit/static/static/js/{styled-components.BBmp8buj.js → styled-components.Coj4dr6D.js} +1 -1
- streamlit/static/static/js/{throttle.BPcPpy-S.js → throttle.gZUdtYp7.js} +1 -1
- streamlit/static/static/js/{timepicker.ryzkTs2C.js → timepicker.B-Y4aU15.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.Dg1nDaB_.js → toConsumableArray.CcKcKvEd.js} +1 -1
- streamlit/static/static/js/uniqueId.PRn3V1WU.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.A4U5lzAm.js → useBasicWidgetState.D-fc_aIL.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.DWJgLlNz.js → useIntlLocale.CY32IeNt.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.BrBonw8t.js → useTextInputAutoExpand.C0jK7TwF.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.BkOWyNVX.js → useUpdateUiValue.CDQloDgB.js} +1 -1
- streamlit/static/static/js/{useWaveformController.CBlvXlgZ.js → useWaveformController.BLEIAIDo.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.D4cpOyNe.js → withCalculatedWidth.B3oSlRC0.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.BMim3w94.js → withFullScreenWrapper.Cw_ebNmr.js} +1 -1
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/user_info.py +225 -166
- streamlit/web/server/starlette/starlette_routes.py +1 -3
- streamlit/web/server/stats_request_handler.py +1 -3
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/RECORD +223 -223
- streamlit/static/static/js/index.CrPjcPY1.js +0 -1
- streamlit/static/static/js/uniqueId.BFHzT5KQ.js +0 -1
- {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.53.1.dev20260114.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/top_level.txt +0 -0
|
@@ -17,32 +17,32 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
import
|
|
20
|
+
from collections import abc as _abc
|
|
21
|
+
from google.protobuf import descriptor as _descriptor
|
|
22
|
+
from google.protobuf import message as _message
|
|
23
|
+
from google.protobuf.internal import containers as _containers
|
|
24
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
25
|
+
import builtins as _builtins
|
|
26
26
|
import sys
|
|
27
|
-
import typing
|
|
27
|
+
import typing as _typing
|
|
28
28
|
|
|
29
29
|
if sys.version_info >= (3, 10):
|
|
30
|
-
|
|
30
|
+
from typing import TypeAlias as _TypeAlias
|
|
31
31
|
else:
|
|
32
|
-
import
|
|
32
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR:
|
|
34
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
35
35
|
|
|
36
|
-
@
|
|
37
|
-
class ChatInput(
|
|
38
|
-
DESCRIPTOR:
|
|
36
|
+
@_typing.final
|
|
37
|
+
class ChatInput(_message.Message):
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
40
|
class _Position:
|
|
41
|
-
ValueType =
|
|
42
|
-
V:
|
|
41
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
42
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
43
|
|
|
44
|
-
class _PositionEnumTypeWrapper(
|
|
45
|
-
DESCRIPTOR:
|
|
44
|
+
class _PositionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ChatInput._Position.ValueType], _builtins.type):
|
|
45
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
46
|
BOTTOM: ChatInput._Position.ValueType # 0
|
|
47
47
|
|
|
48
48
|
class Position(_Position, metaclass=_PositionEnumTypeWrapper):
|
|
@@ -51,11 +51,11 @@ class ChatInput(google.protobuf.message.Message):
|
|
|
51
51
|
BOTTOM: ChatInput.Position.ValueType # 0
|
|
52
52
|
|
|
53
53
|
class _AcceptFile:
|
|
54
|
-
ValueType =
|
|
55
|
-
V:
|
|
54
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
55
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
56
56
|
|
|
57
|
-
class _AcceptFileEnumTypeWrapper(
|
|
58
|
-
DESCRIPTOR:
|
|
57
|
+
class _AcceptFileEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ChatInput._AcceptFile.ValueType], _builtins.type):
|
|
58
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
59
59
|
NONE: ChatInput._AcceptFile.ValueType # 0
|
|
60
60
|
SINGLE: ChatInput._AcceptFile.ValueType # 1
|
|
61
61
|
MULTIPLE: ChatInput._AcceptFile.ValueType # 2
|
|
@@ -67,63 +67,63 @@ class ChatInput(google.protobuf.message.Message):
|
|
|
67
67
|
MULTIPLE: ChatInput.AcceptFile.ValueType # 2
|
|
68
68
|
DIRECTORY: ChatInput.AcceptFile.ValueType # 3
|
|
69
69
|
|
|
70
|
-
ID_FIELD_NUMBER:
|
|
71
|
-
PLACEHOLDER_FIELD_NUMBER:
|
|
72
|
-
MAX_CHARS_FIELD_NUMBER:
|
|
73
|
-
DISABLED_FIELD_NUMBER:
|
|
74
|
-
VALUE_FIELD_NUMBER:
|
|
75
|
-
SET_VALUE_FIELD_NUMBER:
|
|
76
|
-
DEFAULT_FIELD_NUMBER:
|
|
77
|
-
POSITION_FIELD_NUMBER:
|
|
78
|
-
ACCEPT_FILE_FIELD_NUMBER:
|
|
79
|
-
FILE_TYPE_FIELD_NUMBER:
|
|
80
|
-
MAX_UPLOAD_SIZE_MB_FIELD_NUMBER:
|
|
81
|
-
ACCEPT_AUDIO_FIELD_NUMBER:
|
|
82
|
-
AUDIO_SAMPLE_RATE_FIELD_NUMBER:
|
|
83
|
-
id:
|
|
84
|
-
placeholder:
|
|
85
|
-
max_chars:
|
|
86
|
-
disabled:
|
|
87
|
-
value:
|
|
88
|
-
set_value:
|
|
89
|
-
default:
|
|
70
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
71
|
+
PLACEHOLDER_FIELD_NUMBER: _builtins.int
|
|
72
|
+
MAX_CHARS_FIELD_NUMBER: _builtins.int
|
|
73
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
74
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
75
|
+
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
76
|
+
DEFAULT_FIELD_NUMBER: _builtins.int
|
|
77
|
+
POSITION_FIELD_NUMBER: _builtins.int
|
|
78
|
+
ACCEPT_FILE_FIELD_NUMBER: _builtins.int
|
|
79
|
+
FILE_TYPE_FIELD_NUMBER: _builtins.int
|
|
80
|
+
MAX_UPLOAD_SIZE_MB_FIELD_NUMBER: _builtins.int
|
|
81
|
+
ACCEPT_AUDIO_FIELD_NUMBER: _builtins.int
|
|
82
|
+
AUDIO_SAMPLE_RATE_FIELD_NUMBER: _builtins.int
|
|
83
|
+
id: _builtins.str
|
|
84
|
+
placeholder: _builtins.str
|
|
85
|
+
max_chars: _builtins.int
|
|
86
|
+
disabled: _builtins.bool
|
|
87
|
+
value: _builtins.str
|
|
88
|
+
set_value: _builtins.bool
|
|
89
|
+
default: _builtins.str
|
|
90
90
|
position: Global___ChatInput.Position.ValueType
|
|
91
91
|
accept_file: Global___ChatInput.AcceptFile.ValueType
|
|
92
|
-
max_upload_size_mb:
|
|
92
|
+
max_upload_size_mb: _builtins.int
|
|
93
93
|
"""Max file size allowed by server config"""
|
|
94
|
-
accept_audio:
|
|
94
|
+
accept_audio: _builtins.bool
|
|
95
95
|
"""Whether to show audio recording button"""
|
|
96
|
-
audio_sample_rate:
|
|
96
|
+
audio_sample_rate: _builtins.int
|
|
97
97
|
"""Sample rate for audio recording in Hz (e.g., 16000, 48000)
|
|
98
98
|
If not set, uses browser default
|
|
99
99
|
"""
|
|
100
|
-
@property
|
|
101
|
-
def file_type(self) ->
|
|
100
|
+
@_builtins.property
|
|
101
|
+
def file_type(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
102
102
|
"""Supported file types: For example: ["png","jpg","img"]"""
|
|
103
103
|
|
|
104
104
|
def __init__(
|
|
105
105
|
self,
|
|
106
106
|
*,
|
|
107
|
-
id:
|
|
108
|
-
placeholder:
|
|
109
|
-
max_chars:
|
|
110
|
-
disabled:
|
|
111
|
-
value:
|
|
112
|
-
set_value:
|
|
113
|
-
default:
|
|
107
|
+
id: _builtins.str = ...,
|
|
108
|
+
placeholder: _builtins.str = ...,
|
|
109
|
+
max_chars: _builtins.int = ...,
|
|
110
|
+
disabled: _builtins.bool = ...,
|
|
111
|
+
value: _builtins.str = ...,
|
|
112
|
+
set_value: _builtins.bool = ...,
|
|
113
|
+
default: _builtins.str = ...,
|
|
114
114
|
position: Global___ChatInput.Position.ValueType = ...,
|
|
115
115
|
accept_file: Global___ChatInput.AcceptFile.ValueType = ...,
|
|
116
|
-
file_type:
|
|
117
|
-
max_upload_size_mb:
|
|
118
|
-
accept_audio:
|
|
119
|
-
audio_sample_rate:
|
|
116
|
+
file_type: _abc.Iterable[_builtins.str] | None = ...,
|
|
117
|
+
max_upload_size_mb: _builtins.int = ...,
|
|
118
|
+
accept_audio: _builtins.bool = ...,
|
|
119
|
+
audio_sample_rate: _builtins.int | None = ...,
|
|
120
120
|
) -> None: ...
|
|
121
|
-
_HasFieldArgType:
|
|
122
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
123
|
-
_ClearFieldArgType:
|
|
121
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "audio_sample_rate", b"audio_sample_rate"] # noqa: Y015
|
|
122
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
123
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate", "accept_audio", b"accept_audio", "accept_file", b"accept_file", "audio_sample_rate", b"audio_sample_rate", "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"] # noqa: Y015
|
|
124
124
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
125
|
-
_WhichOneofReturnType__audio_sample_rate:
|
|
126
|
-
_WhichOneofArgType__audio_sample_rate:
|
|
125
|
+
_WhichOneofReturnType__audio_sample_rate: _TypeAlias = _typing.Literal["audio_sample_rate"] # noqa: Y015
|
|
126
|
+
_WhichOneofArgType__audio_sample_rate: _TypeAlias = _typing.Literal["_audio_sample_rate", b"_audio_sample_rate"] # noqa: Y015
|
|
127
127
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__audio_sample_rate) -> _WhichOneofReturnType__audio_sample_rate | None: ...
|
|
128
128
|
|
|
129
|
-
Global___ChatInput:
|
|
129
|
+
Global___ChatInput: _TypeAlias = ChatInput # noqa: Y015
|
streamlit/proto/Checkbox_pb2.pyi
CHANGED
|
@@ -17,31 +17,31 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import
|
|
24
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
23
|
+
from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
|
|
24
|
+
import builtins as _builtins
|
|
25
25
|
import sys
|
|
26
|
-
import typing
|
|
26
|
+
import typing as _typing
|
|
27
27
|
|
|
28
28
|
if sys.version_info >= (3, 10):
|
|
29
|
-
|
|
29
|
+
from typing import TypeAlias as _TypeAlias
|
|
30
30
|
else:
|
|
31
|
-
import
|
|
31
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR:
|
|
33
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
34
|
|
|
35
|
-
@
|
|
36
|
-
class Checkbox(
|
|
37
|
-
DESCRIPTOR:
|
|
35
|
+
@_typing.final
|
|
36
|
+
class Checkbox(_message.Message):
|
|
37
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
38
38
|
|
|
39
39
|
class _StyleType:
|
|
40
|
-
ValueType =
|
|
41
|
-
V:
|
|
40
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
41
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
42
42
|
|
|
43
|
-
class _StyleTypeEnumTypeWrapper(
|
|
44
|
-
DESCRIPTOR:
|
|
43
|
+
class _StyleTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Checkbox._StyleType.ValueType], _builtins.type):
|
|
44
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
45
45
|
DEFAULT: Checkbox._StyleType.ValueType # 0
|
|
46
46
|
TOGGLE: Checkbox._StyleType.ValueType # 1
|
|
47
47
|
|
|
@@ -49,44 +49,44 @@ class Checkbox(google.protobuf.message.Message):
|
|
|
49
49
|
DEFAULT: Checkbox.StyleType.ValueType # 0
|
|
50
50
|
TOGGLE: Checkbox.StyleType.ValueType # 1
|
|
51
51
|
|
|
52
|
-
ID_FIELD_NUMBER:
|
|
53
|
-
LABEL_FIELD_NUMBER:
|
|
54
|
-
DEFAULT_FIELD_NUMBER:
|
|
55
|
-
HELP_FIELD_NUMBER:
|
|
56
|
-
FORM_ID_FIELD_NUMBER:
|
|
57
|
-
VALUE_FIELD_NUMBER:
|
|
58
|
-
SET_VALUE_FIELD_NUMBER:
|
|
59
|
-
DISABLED_FIELD_NUMBER:
|
|
60
|
-
LABEL_VISIBILITY_FIELD_NUMBER:
|
|
61
|
-
TYPE_FIELD_NUMBER:
|
|
62
|
-
id:
|
|
63
|
-
label:
|
|
64
|
-
default:
|
|
65
|
-
help:
|
|
66
|
-
form_id:
|
|
67
|
-
value:
|
|
68
|
-
set_value:
|
|
69
|
-
disabled:
|
|
52
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
53
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
54
|
+
DEFAULT_FIELD_NUMBER: _builtins.int
|
|
55
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
56
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
57
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
58
|
+
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
59
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
60
|
+
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
61
|
+
TYPE_FIELD_NUMBER: _builtins.int
|
|
62
|
+
id: _builtins.str
|
|
63
|
+
label: _builtins.str
|
|
64
|
+
default: _builtins.bool
|
|
65
|
+
help: _builtins.str
|
|
66
|
+
form_id: _builtins.str
|
|
67
|
+
value: _builtins.bool
|
|
68
|
+
set_value: _builtins.bool
|
|
69
|
+
disabled: _builtins.bool
|
|
70
70
|
type: Global___Checkbox.StyleType.ValueType
|
|
71
|
-
@property
|
|
72
|
-
def label_visibility(self) ->
|
|
71
|
+
@_builtins.property
|
|
72
|
+
def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
73
73
|
def __init__(
|
|
74
74
|
self,
|
|
75
75
|
*,
|
|
76
|
-
id:
|
|
77
|
-
label:
|
|
78
|
-
default:
|
|
79
|
-
help:
|
|
80
|
-
form_id:
|
|
81
|
-
value:
|
|
82
|
-
set_value:
|
|
83
|
-
disabled:
|
|
84
|
-
label_visibility:
|
|
76
|
+
id: _builtins.str = ...,
|
|
77
|
+
label: _builtins.str = ...,
|
|
78
|
+
default: _builtins.bool = ...,
|
|
79
|
+
help: _builtins.str = ...,
|
|
80
|
+
form_id: _builtins.str = ...,
|
|
81
|
+
value: _builtins.bool = ...,
|
|
82
|
+
set_value: _builtins.bool = ...,
|
|
83
|
+
disabled: _builtins.bool = ...,
|
|
84
|
+
label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
85
85
|
type: Global___Checkbox.StyleType.ValueType = ...,
|
|
86
86
|
) -> None: ...
|
|
87
|
-
_HasFieldArgType:
|
|
88
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
89
|
-
_ClearFieldArgType:
|
|
87
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
88
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
89
|
+
_ClearFieldArgType: _TypeAlias = _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"] # noqa: Y015
|
|
90
90
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
91
91
|
|
|
92
|
-
Global___Checkbox:
|
|
92
|
+
Global___Checkbox: _TypeAlias = Checkbox # noqa: Y015
|
|
@@ -17,121 +17,121 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import
|
|
25
|
-
import
|
|
20
|
+
from collections import abc as _abc
|
|
21
|
+
from google.protobuf import descriptor as _descriptor
|
|
22
|
+
from google.protobuf import message as _message
|
|
23
|
+
from google.protobuf.internal import containers as _containers
|
|
24
|
+
from streamlit.proto import WidgetStates_pb2 as _WidgetStates_pb2
|
|
25
|
+
import builtins as _builtins
|
|
26
26
|
import sys
|
|
27
|
-
import typing
|
|
27
|
+
import typing as _typing
|
|
28
28
|
|
|
29
29
|
if sys.version_info >= (3, 10):
|
|
30
|
-
|
|
30
|
+
from typing import TypeAlias as _TypeAlias
|
|
31
31
|
else:
|
|
32
|
-
import
|
|
32
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR:
|
|
34
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
35
35
|
|
|
36
|
-
@
|
|
37
|
-
class ContextInfo(
|
|
38
|
-
DESCRIPTOR:
|
|
36
|
+
@_typing.final
|
|
37
|
+
class ContextInfo(_message.Message):
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
|
-
TIMEZONE_FIELD_NUMBER:
|
|
41
|
-
TIMEZONE_OFFSET_FIELD_NUMBER:
|
|
42
|
-
LOCALE_FIELD_NUMBER:
|
|
43
|
-
URL_FIELD_NUMBER:
|
|
44
|
-
IS_EMBEDDED_FIELD_NUMBER:
|
|
45
|
-
COLOR_SCHEME_FIELD_NUMBER:
|
|
46
|
-
timezone:
|
|
47
|
-
timezone_offset:
|
|
48
|
-
locale:
|
|
49
|
-
url:
|
|
50
|
-
is_embedded:
|
|
51
|
-
color_scheme:
|
|
40
|
+
TIMEZONE_FIELD_NUMBER: _builtins.int
|
|
41
|
+
TIMEZONE_OFFSET_FIELD_NUMBER: _builtins.int
|
|
42
|
+
LOCALE_FIELD_NUMBER: _builtins.int
|
|
43
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
44
|
+
IS_EMBEDDED_FIELD_NUMBER: _builtins.int
|
|
45
|
+
COLOR_SCHEME_FIELD_NUMBER: _builtins.int
|
|
46
|
+
timezone: _builtins.str
|
|
47
|
+
timezone_offset: _builtins.int
|
|
48
|
+
locale: _builtins.str
|
|
49
|
+
url: _builtins.str
|
|
50
|
+
is_embedded: _builtins.bool
|
|
51
|
+
color_scheme: _builtins.str
|
|
52
52
|
def __init__(
|
|
53
53
|
self,
|
|
54
54
|
*,
|
|
55
|
-
timezone:
|
|
56
|
-
timezone_offset:
|
|
57
|
-
locale:
|
|
58
|
-
url:
|
|
59
|
-
is_embedded:
|
|
60
|
-
color_scheme:
|
|
55
|
+
timezone: _builtins.str | None = ...,
|
|
56
|
+
timezone_offset: _builtins.int | None = ...,
|
|
57
|
+
locale: _builtins.str | None = ...,
|
|
58
|
+
url: _builtins.str | None = ...,
|
|
59
|
+
is_embedded: _builtins.bool | None = ...,
|
|
60
|
+
color_scheme: _builtins.str | None = ...,
|
|
61
61
|
) -> None: ...
|
|
62
|
-
_HasFieldArgType:
|
|
63
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
64
|
-
_ClearFieldArgType:
|
|
62
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_color_scheme", b"_color_scheme", "_is_embedded", b"_is_embedded", "_locale", b"_locale", "_timezone", b"_timezone", "_timezone_offset", b"_timezone_offset", "_url", b"_url", "color_scheme", b"color_scheme", "is_embedded", b"is_embedded", "locale", b"locale", "timezone", b"timezone", "timezone_offset", b"timezone_offset", "url", b"url"] # noqa: Y015
|
|
63
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
64
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_color_scheme", b"_color_scheme", "_is_embedded", b"_is_embedded", "_locale", b"_locale", "_timezone", b"_timezone", "_timezone_offset", b"_timezone_offset", "_url", b"_url", "color_scheme", b"color_scheme", "is_embedded", b"is_embedded", "locale", b"locale", "timezone", b"timezone", "timezone_offset", b"timezone_offset", "url", b"url"] # noqa: Y015
|
|
65
65
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
66
|
-
_WhichOneofReturnType__color_scheme:
|
|
67
|
-
_WhichOneofArgType__color_scheme:
|
|
68
|
-
_WhichOneofReturnType__is_embedded:
|
|
69
|
-
_WhichOneofArgType__is_embedded:
|
|
70
|
-
_WhichOneofReturnType__locale:
|
|
71
|
-
_WhichOneofArgType__locale:
|
|
72
|
-
_WhichOneofReturnType__timezone:
|
|
73
|
-
_WhichOneofArgType__timezone:
|
|
74
|
-
_WhichOneofReturnType__timezone_offset:
|
|
75
|
-
_WhichOneofArgType__timezone_offset:
|
|
76
|
-
_WhichOneofReturnType__url:
|
|
77
|
-
_WhichOneofArgType__url:
|
|
78
|
-
@
|
|
66
|
+
_WhichOneofReturnType__color_scheme: _TypeAlias = _typing.Literal["color_scheme"] # noqa: Y015
|
|
67
|
+
_WhichOneofArgType__color_scheme: _TypeAlias = _typing.Literal["_color_scheme", b"_color_scheme"] # noqa: Y015
|
|
68
|
+
_WhichOneofReturnType__is_embedded: _TypeAlias = _typing.Literal["is_embedded"] # noqa: Y015
|
|
69
|
+
_WhichOneofArgType__is_embedded: _TypeAlias = _typing.Literal["_is_embedded", b"_is_embedded"] # noqa: Y015
|
|
70
|
+
_WhichOneofReturnType__locale: _TypeAlias = _typing.Literal["locale"] # noqa: Y015
|
|
71
|
+
_WhichOneofArgType__locale: _TypeAlias = _typing.Literal["_locale", b"_locale"] # noqa: Y015
|
|
72
|
+
_WhichOneofReturnType__timezone: _TypeAlias = _typing.Literal["timezone"] # noqa: Y015
|
|
73
|
+
_WhichOneofArgType__timezone: _TypeAlias = _typing.Literal["_timezone", b"_timezone"] # noqa: Y015
|
|
74
|
+
_WhichOneofReturnType__timezone_offset: _TypeAlias = _typing.Literal["timezone_offset"] # noqa: Y015
|
|
75
|
+
_WhichOneofArgType__timezone_offset: _TypeAlias = _typing.Literal["_timezone_offset", b"_timezone_offset"] # noqa: Y015
|
|
76
|
+
_WhichOneofReturnType__url: _TypeAlias = _typing.Literal["url"] # noqa: Y015
|
|
77
|
+
_WhichOneofArgType__url: _TypeAlias = _typing.Literal["_url", b"_url"] # noqa: Y015
|
|
78
|
+
@_typing.overload
|
|
79
79
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__color_scheme) -> _WhichOneofReturnType__color_scheme | None: ...
|
|
80
|
-
@
|
|
80
|
+
@_typing.overload
|
|
81
81
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__is_embedded) -> _WhichOneofReturnType__is_embedded | None: ...
|
|
82
|
-
@
|
|
82
|
+
@_typing.overload
|
|
83
83
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__locale) -> _WhichOneofReturnType__locale | None: ...
|
|
84
|
-
@
|
|
84
|
+
@_typing.overload
|
|
85
85
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__timezone) -> _WhichOneofReturnType__timezone | None: ...
|
|
86
|
-
@
|
|
86
|
+
@_typing.overload
|
|
87
87
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__timezone_offset) -> _WhichOneofReturnType__timezone_offset | None: ...
|
|
88
|
-
@
|
|
88
|
+
@_typing.overload
|
|
89
89
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__url) -> _WhichOneofReturnType__url | None: ...
|
|
90
90
|
|
|
91
|
-
Global___ContextInfo:
|
|
91
|
+
Global___ContextInfo: _TypeAlias = ContextInfo # noqa: Y015
|
|
92
92
|
|
|
93
|
-
@
|
|
94
|
-
class ClientState(
|
|
95
|
-
DESCRIPTOR:
|
|
93
|
+
@_typing.final
|
|
94
|
+
class ClientState(_message.Message):
|
|
95
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
96
96
|
|
|
97
|
-
QUERY_STRING_FIELD_NUMBER:
|
|
98
|
-
WIDGET_STATES_FIELD_NUMBER:
|
|
99
|
-
PAGE_SCRIPT_HASH_FIELD_NUMBER:
|
|
100
|
-
PAGE_NAME_FIELD_NUMBER:
|
|
101
|
-
FRAGMENT_ID_FIELD_NUMBER:
|
|
102
|
-
IS_AUTO_RERUN_FIELD_NUMBER:
|
|
103
|
-
CACHED_MESSAGE_HASHES_FIELD_NUMBER:
|
|
104
|
-
CONTEXT_INFO_FIELD_NUMBER:
|
|
105
|
-
query_string:
|
|
106
|
-
page_script_hash:
|
|
107
|
-
page_name:
|
|
108
|
-
fragment_id:
|
|
109
|
-
is_auto_rerun:
|
|
110
|
-
@property
|
|
111
|
-
def widget_states(self) ->
|
|
112
|
-
@property
|
|
113
|
-
def cached_message_hashes(self) ->
|
|
97
|
+
QUERY_STRING_FIELD_NUMBER: _builtins.int
|
|
98
|
+
WIDGET_STATES_FIELD_NUMBER: _builtins.int
|
|
99
|
+
PAGE_SCRIPT_HASH_FIELD_NUMBER: _builtins.int
|
|
100
|
+
PAGE_NAME_FIELD_NUMBER: _builtins.int
|
|
101
|
+
FRAGMENT_ID_FIELD_NUMBER: _builtins.int
|
|
102
|
+
IS_AUTO_RERUN_FIELD_NUMBER: _builtins.int
|
|
103
|
+
CACHED_MESSAGE_HASHES_FIELD_NUMBER: _builtins.int
|
|
104
|
+
CONTEXT_INFO_FIELD_NUMBER: _builtins.int
|
|
105
|
+
query_string: _builtins.str
|
|
106
|
+
page_script_hash: _builtins.str
|
|
107
|
+
page_name: _builtins.str
|
|
108
|
+
fragment_id: _builtins.str
|
|
109
|
+
is_auto_rerun: _builtins.bool
|
|
110
|
+
@_builtins.property
|
|
111
|
+
def widget_states(self) -> _WidgetStates_pb2.WidgetStates: ...
|
|
112
|
+
@_builtins.property
|
|
113
|
+
def cached_message_hashes(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
114
114
|
"""List of hashes of messages that are currently cached in
|
|
115
115
|
the frontend forward message cache.
|
|
116
116
|
"""
|
|
117
117
|
|
|
118
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
119
119
|
def context_info(self) -> Global___ContextInfo: ...
|
|
120
120
|
def __init__(
|
|
121
121
|
self,
|
|
122
122
|
*,
|
|
123
|
-
query_string:
|
|
124
|
-
widget_states:
|
|
125
|
-
page_script_hash:
|
|
126
|
-
page_name:
|
|
127
|
-
fragment_id:
|
|
128
|
-
is_auto_rerun:
|
|
129
|
-
cached_message_hashes:
|
|
123
|
+
query_string: _builtins.str = ...,
|
|
124
|
+
widget_states: _WidgetStates_pb2.WidgetStates | None = ...,
|
|
125
|
+
page_script_hash: _builtins.str = ...,
|
|
126
|
+
page_name: _builtins.str = ...,
|
|
127
|
+
fragment_id: _builtins.str = ...,
|
|
128
|
+
is_auto_rerun: _builtins.bool = ...,
|
|
129
|
+
cached_message_hashes: _abc.Iterable[_builtins.str] | None = ...,
|
|
130
130
|
context_info: Global___ContextInfo | None = ...,
|
|
131
131
|
) -> None: ...
|
|
132
|
-
_HasFieldArgType:
|
|
133
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
134
|
-
_ClearFieldArgType:
|
|
132
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["context_info", b"context_info", "widget_states", b"widget_states"] # noqa: Y015
|
|
133
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
134
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["cached_message_hashes", b"cached_message_hashes", "context_info", b"context_info", "fragment_id", b"fragment_id", "is_auto_rerun", b"is_auto_rerun", "page_name", b"page_name", "page_script_hash", b"page_script_hash", "query_string", b"query_string", "widget_states", b"widget_states"] # noqa: Y015
|
|
135
135
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
136
136
|
|
|
137
|
-
Global___ClientState:
|
|
137
|
+
Global___ClientState: _TypeAlias = ClientState # noqa: Y015
|
streamlit/proto/Code_pb2.pyi
CHANGED
|
@@ -17,47 +17,60 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
23
|
import sys
|
|
24
|
-
import typing
|
|
24
|
+
import typing as _typing
|
|
25
25
|
|
|
26
26
|
if sys.version_info >= (3, 10):
|
|
27
|
-
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
28
|
else:
|
|
29
|
-
import
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
if sys.version_info >= (3, 13):
|
|
32
|
+
from warnings import deprecated as _deprecated
|
|
33
|
+
else:
|
|
34
|
+
from typing_extensions import deprecated as _deprecated
|
|
35
|
+
|
|
36
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
37
|
|
|
33
|
-
@
|
|
34
|
-
class Code(
|
|
38
|
+
@_typing.final
|
|
39
|
+
class Code(_message.Message):
|
|
35
40
|
"""st.code"""
|
|
36
41
|
|
|
37
|
-
DESCRIPTOR:
|
|
42
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
38
43
|
|
|
39
|
-
CODE_TEXT_FIELD_NUMBER:
|
|
40
|
-
LANGUAGE_FIELD_NUMBER:
|
|
41
|
-
SHOW_LINE_NUMBERS_FIELD_NUMBER:
|
|
42
|
-
WRAP_LINES_FIELD_NUMBER:
|
|
43
|
-
HEIGHT_FIELD_NUMBER:
|
|
44
|
-
code_text:
|
|
44
|
+
CODE_TEXT_FIELD_NUMBER: _builtins.int
|
|
45
|
+
LANGUAGE_FIELD_NUMBER: _builtins.int
|
|
46
|
+
SHOW_LINE_NUMBERS_FIELD_NUMBER: _builtins.int
|
|
47
|
+
WRAP_LINES_FIELD_NUMBER: _builtins.int
|
|
48
|
+
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
49
|
+
code_text: _builtins.str
|
|
45
50
|
"""Content to display."""
|
|
46
|
-
language:
|
|
47
|
-
show_line_numbers:
|
|
48
|
-
wrap_lines:
|
|
49
|
-
|
|
50
|
-
"""deprecated
|
|
51
|
+
language: _builtins.str
|
|
52
|
+
show_line_numbers: _builtins.bool
|
|
53
|
+
wrap_lines: _builtins.bool
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
56
|
+
def height(self) -> _builtins.int:
|
|
57
|
+
"""deprecated use height on Element.proto"""
|
|
58
|
+
|
|
59
|
+
@height.setter
|
|
60
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
61
|
+
def height(self, value: _builtins.int) -> None:
|
|
62
|
+
"""deprecated use height on Element.proto"""
|
|
63
|
+
|
|
51
64
|
def __init__(
|
|
52
65
|
self,
|
|
53
66
|
*,
|
|
54
|
-
code_text:
|
|
55
|
-
language:
|
|
56
|
-
show_line_numbers:
|
|
57
|
-
wrap_lines:
|
|
58
|
-
height:
|
|
67
|
+
code_text: _builtins.str = ...,
|
|
68
|
+
language: _builtins.str = ...,
|
|
69
|
+
show_line_numbers: _builtins.bool = ...,
|
|
70
|
+
wrap_lines: _builtins.bool = ...,
|
|
71
|
+
height: _builtins.int = ...,
|
|
59
72
|
) -> None: ...
|
|
60
|
-
_ClearFieldArgType:
|
|
73
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["code_text", b"code_text", "height", b"height", "language", b"language", "show_line_numbers", b"show_line_numbers", "wrap_lines", b"wrap_lines"] # noqa: Y015
|
|
61
74
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
62
75
|
|
|
63
|
-
Global___Code:
|
|
76
|
+
Global___Code: _TypeAlias = Code # noqa: Y015
|