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
streamlit/proto/Image_pb2.pyi
CHANGED
|
@@ -17,67 +17,80 @@ 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
|
|
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
|
+
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
|
-
|
|
33
|
+
if sys.version_info >= (3, 13):
|
|
34
|
+
from warnings import deprecated as _deprecated
|
|
35
|
+
else:
|
|
36
|
+
from typing_extensions import deprecated as _deprecated
|
|
37
|
+
|
|
38
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
39
|
|
|
35
|
-
@
|
|
36
|
-
class Image(
|
|
40
|
+
@_typing.final
|
|
41
|
+
class Image(_message.Message):
|
|
37
42
|
"""An image which can be displayed on the screen."""
|
|
38
43
|
|
|
39
|
-
DESCRIPTOR:
|
|
44
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
40
45
|
|
|
41
|
-
URL_FIELD_NUMBER:
|
|
42
|
-
CAPTION_FIELD_NUMBER:
|
|
43
|
-
MARKUP_FIELD_NUMBER:
|
|
44
|
-
url:
|
|
45
|
-
caption:
|
|
46
|
-
markup:
|
|
46
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
47
|
+
CAPTION_FIELD_NUMBER: _builtins.int
|
|
48
|
+
MARKUP_FIELD_NUMBER: _builtins.int
|
|
49
|
+
url: _builtins.str
|
|
50
|
+
caption: _builtins.str
|
|
51
|
+
markup: _builtins.str
|
|
47
52
|
"""DEPRECATED: markup is not used anymore.
|
|
48
53
|
SVGs are added as data uris in the url field.
|
|
49
54
|
"""
|
|
50
55
|
def __init__(
|
|
51
56
|
self,
|
|
52
57
|
*,
|
|
53
|
-
url:
|
|
54
|
-
caption:
|
|
55
|
-
markup:
|
|
58
|
+
url: _builtins.str = ...,
|
|
59
|
+
caption: _builtins.str = ...,
|
|
60
|
+
markup: _builtins.str = ...,
|
|
56
61
|
) -> None: ...
|
|
57
|
-
_ClearFieldArgType:
|
|
62
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["caption", b"caption", "markup", b"markup", "url", b"url"] # noqa: Y015
|
|
58
63
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
59
64
|
|
|
60
|
-
Global___Image:
|
|
65
|
+
Global___Image: _TypeAlias = Image # noqa: Y015
|
|
61
66
|
|
|
62
|
-
@
|
|
63
|
-
class ImageList(
|
|
67
|
+
@_typing.final
|
|
68
|
+
class ImageList(_message.Message):
|
|
64
69
|
"""A set of images."""
|
|
65
70
|
|
|
66
|
-
DESCRIPTOR:
|
|
71
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
72
|
+
|
|
73
|
+
IMGS_FIELD_NUMBER: _builtins.int
|
|
74
|
+
WIDTH_FIELD_NUMBER: _builtins.int
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
77
|
+
def width(self) -> _builtins.int:
|
|
78
|
+
"""DEPRECATED use widthConfig on Element.proto"""
|
|
79
|
+
|
|
80
|
+
@width.setter
|
|
81
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
82
|
+
def width(self, value: _builtins.int) -> None:
|
|
83
|
+
"""DEPRECATED use widthConfig on Element.proto"""
|
|
67
84
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
width: builtins.int
|
|
71
|
-
"""DEPRECATED use widthConfig on Element.proto"""
|
|
72
|
-
@property
|
|
73
|
-
def imgs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___Image]: ...
|
|
85
|
+
@_builtins.property
|
|
86
|
+
def imgs(self) -> _containers.RepeatedCompositeFieldContainer[Global___Image]: ...
|
|
74
87
|
def __init__(
|
|
75
88
|
self,
|
|
76
89
|
*,
|
|
77
|
-
imgs:
|
|
78
|
-
width:
|
|
90
|
+
imgs: _abc.Iterable[Global___Image] | None = ...,
|
|
91
|
+
width: _builtins.int = ...,
|
|
79
92
|
) -> None: ...
|
|
80
|
-
_ClearFieldArgType:
|
|
93
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["imgs", b"imgs", "width", b"width"] # noqa: Y015
|
|
81
94
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
82
95
|
|
|
83
|
-
Global___ImageList:
|
|
96
|
+
Global___ImageList: _TypeAlias = ImageList # noqa: Y015
|
streamlit/proto/Json_pb2.pyi
CHANGED
|
@@ -17,47 +17,47 @@ 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
|
-
DESCRIPTOR:
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
32
|
|
|
33
|
-
@
|
|
34
|
-
class Json(
|
|
35
|
-
DESCRIPTOR:
|
|
33
|
+
@_typing.final
|
|
34
|
+
class Json(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
36
|
|
|
37
|
-
BODY_FIELD_NUMBER:
|
|
38
|
-
EXPANDED_FIELD_NUMBER:
|
|
39
|
-
MAX_EXPAND_DEPTH_FIELD_NUMBER:
|
|
40
|
-
body:
|
|
37
|
+
BODY_FIELD_NUMBER: _builtins.int
|
|
38
|
+
EXPANDED_FIELD_NUMBER: _builtins.int
|
|
39
|
+
MAX_EXPAND_DEPTH_FIELD_NUMBER: _builtins.int
|
|
40
|
+
body: _builtins.str
|
|
41
41
|
"""Content to display."""
|
|
42
|
-
expanded:
|
|
42
|
+
expanded: _builtins.bool
|
|
43
43
|
"""Controls the initial expansion state of the json element.
|
|
44
44
|
Is superseded by max_expand_depth if provided.
|
|
45
45
|
"""
|
|
46
|
-
max_expand_depth:
|
|
46
|
+
max_expand_depth: _builtins.int
|
|
47
47
|
"""The maximum depth to expand the JSON object."""
|
|
48
48
|
def __init__(
|
|
49
49
|
self,
|
|
50
50
|
*,
|
|
51
|
-
body:
|
|
52
|
-
expanded:
|
|
53
|
-
max_expand_depth:
|
|
51
|
+
body: _builtins.str = ...,
|
|
52
|
+
expanded: _builtins.bool = ...,
|
|
53
|
+
max_expand_depth: _builtins.int | None = ...,
|
|
54
54
|
) -> None: ...
|
|
55
|
-
_HasFieldArgType:
|
|
56
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
57
|
-
_ClearFieldArgType:
|
|
55
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_max_expand_depth", b"_max_expand_depth", "max_expand_depth", b"max_expand_depth"] # noqa: Y015
|
|
56
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
57
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_max_expand_depth", b"_max_expand_depth", "body", b"body", "expanded", b"expanded", "max_expand_depth", b"max_expand_depth"] # noqa: Y015
|
|
58
58
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
59
|
-
_WhichOneofReturnType__max_expand_depth:
|
|
60
|
-
_WhichOneofArgType__max_expand_depth:
|
|
59
|
+
_WhichOneofReturnType__max_expand_depth: _TypeAlias = _typing.Literal["max_expand_depth"] # noqa: Y015
|
|
60
|
+
_WhichOneofArgType__max_expand_depth: _TypeAlias = _typing.Literal["_max_expand_depth", b"_max_expand_depth"] # noqa: Y015
|
|
61
61
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__max_expand_depth) -> _WhichOneofReturnType__max_expand_depth | None: ...
|
|
62
62
|
|
|
63
|
-
Global___Json:
|
|
63
|
+
Global___Json: _TypeAlias = Json # noqa: Y015
|
|
@@ -17,30 +17,30 @@ 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
|
|
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
|
+
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
|
-
import typing
|
|
25
|
+
import typing as _typing
|
|
26
26
|
|
|
27
27
|
if sys.version_info >= (3, 10):
|
|
28
|
-
|
|
28
|
+
from typing import TypeAlias as _TypeAlias
|
|
29
29
|
else:
|
|
30
|
-
import
|
|
30
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR:
|
|
32
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
33
33
|
|
|
34
|
-
@
|
|
35
|
-
class LabelVisibilityMessage(
|
|
36
|
-
DESCRIPTOR:
|
|
34
|
+
@_typing.final
|
|
35
|
+
class LabelVisibilityMessage(_message.Message):
|
|
36
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
37
37
|
|
|
38
38
|
class _LabelVisibilityOptions:
|
|
39
|
-
ValueType =
|
|
40
|
-
V:
|
|
39
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
40
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
41
41
|
|
|
42
|
-
class _LabelVisibilityOptionsEnumTypeWrapper(
|
|
43
|
-
DESCRIPTOR:
|
|
42
|
+
class _LabelVisibilityOptionsEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[LabelVisibilityMessage._LabelVisibilityOptions.ValueType], _builtins.type):
|
|
43
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
44
44
|
VISIBLE: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 0
|
|
45
45
|
HIDDEN: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 1
|
|
46
46
|
COLLAPSED: LabelVisibilityMessage._LabelVisibilityOptions.ValueType # 2
|
|
@@ -56,14 +56,14 @@ class LabelVisibilityMessage(google.protobuf.message.Message):
|
|
|
56
56
|
HIDDEN: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 1
|
|
57
57
|
COLLAPSED: LabelVisibilityMessage.LabelVisibilityOptions.ValueType # 2
|
|
58
58
|
|
|
59
|
-
VALUE_FIELD_NUMBER:
|
|
59
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
60
60
|
value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType
|
|
61
61
|
def __init__(
|
|
62
62
|
self,
|
|
63
63
|
*,
|
|
64
64
|
value: Global___LabelVisibilityMessage.LabelVisibilityOptions.ValueType = ...,
|
|
65
65
|
) -> None: ...
|
|
66
|
-
_ClearFieldArgType:
|
|
66
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
67
67
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
68
68
|
|
|
69
|
-
Global___LabelVisibilityMessage:
|
|
69
|
+
Global___LabelVisibilityMessage: _TypeAlias = LabelVisibilityMessage # noqa: Y015
|
|
@@ -17,60 +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
|
|
23
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import ButtonLikeIconPosition_pb2 as _ButtonLikeIconPosition_pb2
|
|
23
|
+
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
|
-
import typing
|
|
25
|
+
import typing as _typing
|
|
26
26
|
|
|
27
27
|
if sys.version_info >= (3, 10):
|
|
28
|
-
|
|
28
|
+
from typing import TypeAlias as _TypeAlias
|
|
29
29
|
else:
|
|
30
|
-
import
|
|
30
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR:
|
|
32
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
33
33
|
|
|
34
|
-
@
|
|
35
|
-
class LinkButton(
|
|
36
|
-
DESCRIPTOR:
|
|
34
|
+
@_typing.final
|
|
35
|
+
class LinkButton(_message.Message):
|
|
36
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
37
37
|
|
|
38
|
-
ID_FIELD_NUMBER:
|
|
39
|
-
LABEL_FIELD_NUMBER:
|
|
40
|
-
HELP_FIELD_NUMBER:
|
|
41
|
-
URL_FIELD_NUMBER:
|
|
42
|
-
DISABLED_FIELD_NUMBER:
|
|
43
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
44
|
-
TYPE_FIELD_NUMBER:
|
|
45
|
-
ICON_FIELD_NUMBER:
|
|
46
|
-
SHORTCUT_FIELD_NUMBER:
|
|
47
|
-
ICON_POSITION_FIELD_NUMBER:
|
|
48
|
-
id:
|
|
38
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
39
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
40
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
41
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
43
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
44
|
+
TYPE_FIELD_NUMBER: _builtins.int
|
|
45
|
+
ICON_FIELD_NUMBER: _builtins.int
|
|
46
|
+
SHORTCUT_FIELD_NUMBER: _builtins.int
|
|
47
|
+
ICON_POSITION_FIELD_NUMBER: _builtins.int
|
|
48
|
+
id: _builtins.str
|
|
49
49
|
"""The ID is only needed if a shortcut is provided."""
|
|
50
|
-
label:
|
|
51
|
-
help:
|
|
52
|
-
url:
|
|
53
|
-
disabled:
|
|
54
|
-
use_container_width:
|
|
55
|
-
type:
|
|
56
|
-
icon:
|
|
57
|
-
shortcut:
|
|
58
|
-
icon_position:
|
|
50
|
+
label: _builtins.str
|
|
51
|
+
help: _builtins.str
|
|
52
|
+
url: _builtins.str
|
|
53
|
+
disabled: _builtins.bool
|
|
54
|
+
use_container_width: _builtins.bool
|
|
55
|
+
type: _builtins.str
|
|
56
|
+
icon: _builtins.str
|
|
57
|
+
shortcut: _builtins.str
|
|
58
|
+
icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType
|
|
59
59
|
def __init__(
|
|
60
60
|
self,
|
|
61
61
|
*,
|
|
62
|
-
id:
|
|
63
|
-
label:
|
|
64
|
-
help:
|
|
65
|
-
url:
|
|
66
|
-
disabled:
|
|
67
|
-
use_container_width:
|
|
68
|
-
type:
|
|
69
|
-
icon:
|
|
70
|
-
shortcut:
|
|
71
|
-
icon_position:
|
|
62
|
+
id: _builtins.str = ...,
|
|
63
|
+
label: _builtins.str = ...,
|
|
64
|
+
help: _builtins.str = ...,
|
|
65
|
+
url: _builtins.str = ...,
|
|
66
|
+
disabled: _builtins.bool = ...,
|
|
67
|
+
use_container_width: _builtins.bool = ...,
|
|
68
|
+
type: _builtins.str = ...,
|
|
69
|
+
icon: _builtins.str = ...,
|
|
70
|
+
shortcut: _builtins.str = ...,
|
|
71
|
+
icon_position: _ButtonLikeIconPosition_pb2.ButtonLikeIconPosition.ValueType = ...,
|
|
72
72
|
) -> None: ...
|
|
73
|
-
_ClearFieldArgType:
|
|
73
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "icon_position", b"icon_position", "id", b"id", "label", b"label", "shortcut", b"shortcut", "type", b"type", "url", b"url", "use_container_width", b"use_container_width"] # noqa: Y015
|
|
74
74
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
75
75
|
|
|
76
|
-
Global___LinkButton:
|
|
76
|
+
Global___LinkButton: _TypeAlias = LinkButton # noqa: Y015
|
streamlit/proto/Logo_pb2.pyi
CHANGED
|
@@ -17,42 +17,42 @@ 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
|
-
DESCRIPTOR:
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
32
|
|
|
33
|
-
@
|
|
34
|
-
class Logo(
|
|
33
|
+
@_typing.final
|
|
34
|
+
class Logo(_message.Message):
|
|
35
35
|
"""Handle the logo for an app"""
|
|
36
36
|
|
|
37
|
-
DESCRIPTOR:
|
|
37
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
38
38
|
|
|
39
|
-
IMAGE_FIELD_NUMBER:
|
|
40
|
-
LINK_FIELD_NUMBER:
|
|
41
|
-
ICON_IMAGE_FIELD_NUMBER:
|
|
42
|
-
SIZE_FIELD_NUMBER:
|
|
43
|
-
image:
|
|
44
|
-
link:
|
|
45
|
-
icon_image:
|
|
46
|
-
size:
|
|
39
|
+
IMAGE_FIELD_NUMBER: _builtins.int
|
|
40
|
+
LINK_FIELD_NUMBER: _builtins.int
|
|
41
|
+
ICON_IMAGE_FIELD_NUMBER: _builtins.int
|
|
42
|
+
SIZE_FIELD_NUMBER: _builtins.int
|
|
43
|
+
image: _builtins.str
|
|
44
|
+
link: _builtins.str
|
|
45
|
+
icon_image: _builtins.str
|
|
46
|
+
size: _builtins.str
|
|
47
47
|
def __init__(
|
|
48
48
|
self,
|
|
49
49
|
*,
|
|
50
|
-
image:
|
|
51
|
-
link:
|
|
52
|
-
icon_image:
|
|
53
|
-
size:
|
|
50
|
+
image: _builtins.str = ...,
|
|
51
|
+
link: _builtins.str = ...,
|
|
52
|
+
icon_image: _builtins.str = ...,
|
|
53
|
+
size: _builtins.str = ...,
|
|
54
54
|
) -> None: ...
|
|
55
|
-
_ClearFieldArgType:
|
|
55
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["icon_image", b"icon_image", "image", b"image", "link", b"link", "size", b"size"] # noqa: Y015
|
|
56
56
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
57
57
|
|
|
58
|
-
Global___Logo:
|
|
58
|
+
Global___Logo: _TypeAlias = Logo # noqa: Y015
|
streamlit/proto/Markdown_pb2.pyi
CHANGED
|
@@ -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
|
-
|
|
22
|
-
|
|
23
|
-
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
|
+
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
|
-
import typing
|
|
25
|
+
import typing as _typing
|
|
26
26
|
|
|
27
27
|
if sys.version_info >= (3, 10):
|
|
28
|
-
|
|
28
|
+
from typing import TypeAlias as _TypeAlias
|
|
29
29
|
else:
|
|
30
|
-
import
|
|
30
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR:
|
|
32
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
33
33
|
|
|
34
|
-
@
|
|
35
|
-
class Markdown(
|
|
34
|
+
@_typing.final
|
|
35
|
+
class Markdown(_message.Message):
|
|
36
36
|
"""Formatted text"""
|
|
37
37
|
|
|
38
|
-
DESCRIPTOR:
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
40
|
class _Type:
|
|
41
|
-
ValueType =
|
|
42
|
-
V:
|
|
41
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
42
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
43
|
|
|
44
|
-
class _TypeEnumTypeWrapper(
|
|
45
|
-
DESCRIPTOR:
|
|
44
|
+
class _TypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Markdown._Type.ValueType], _builtins.type):
|
|
45
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
46
|
UNSPECIFIED: Markdown._Type.ValueType # 0
|
|
47
47
|
"""This is recommended to be reserved for proto files backwards compatibility reasons."""
|
|
48
48
|
NATIVE: Markdown._Type.ValueType # 1
|
|
@@ -60,28 +60,28 @@ class Markdown(google.protobuf.message.Message):
|
|
|
60
60
|
LATEX: Markdown.Type.ValueType # 4
|
|
61
61
|
DIVIDER: Markdown.Type.ValueType # 5
|
|
62
62
|
|
|
63
|
-
BODY_FIELD_NUMBER:
|
|
64
|
-
ALLOW_HTML_FIELD_NUMBER:
|
|
65
|
-
IS_CAPTION_FIELD_NUMBER:
|
|
66
|
-
ELEMENT_TYPE_FIELD_NUMBER:
|
|
67
|
-
HELP_FIELD_NUMBER:
|
|
68
|
-
body:
|
|
63
|
+
BODY_FIELD_NUMBER: _builtins.int
|
|
64
|
+
ALLOW_HTML_FIELD_NUMBER: _builtins.int
|
|
65
|
+
IS_CAPTION_FIELD_NUMBER: _builtins.int
|
|
66
|
+
ELEMENT_TYPE_FIELD_NUMBER: _builtins.int
|
|
67
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
68
|
+
body: _builtins.str
|
|
69
69
|
"""Content to display."""
|
|
70
|
-
allow_html:
|
|
71
|
-
is_caption:
|
|
70
|
+
allow_html: _builtins.bool
|
|
71
|
+
is_caption: _builtins.bool
|
|
72
72
|
"""TODO [Karen]: Remove this field if favor of element_type"""
|
|
73
73
|
element_type: Global___Markdown.Type.ValueType
|
|
74
|
-
help:
|
|
74
|
+
help: _builtins.str
|
|
75
75
|
def __init__(
|
|
76
76
|
self,
|
|
77
77
|
*,
|
|
78
|
-
body:
|
|
79
|
-
allow_html:
|
|
80
|
-
is_caption:
|
|
78
|
+
body: _builtins.str = ...,
|
|
79
|
+
allow_html: _builtins.bool = ...,
|
|
80
|
+
is_caption: _builtins.bool = ...,
|
|
81
81
|
element_type: Global___Markdown.Type.ValueType = ...,
|
|
82
|
-
help:
|
|
82
|
+
help: _builtins.str = ...,
|
|
83
83
|
) -> None: ...
|
|
84
|
-
_ClearFieldArgType:
|
|
84
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["allow_html", b"allow_html", "body", b"body", "element_type", b"element_type", "help", b"help", "is_caption", b"is_caption"] # noqa: Y015
|
|
85
85
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
86
86
|
|
|
87
|
-
Global___Markdown:
|
|
87
|
+
Global___Markdown: _TypeAlias = Markdown # noqa: Y015
|