streamlit-nightly 1.52.3.dev20260111__py3-none-any.whl → 1.52.3.dev20260113__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 +25 -2
- streamlit/cli_util.py +1 -1
- streamlit/components/v2/bidi_component/main.py +2 -2
- streamlit/connections/snowflake_connection.py +1 -1
- streamlit/dataframe_util.py +1 -3
- streamlit/elements/arrow.py +5 -1
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/vega_charts.py +4 -1
- streamlit/elements/widgets/multiselect.py +1 -1
- 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/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 +296 -296
- streamlit/static/static/js/{ErrorOutline.esm.D0HiUB0L.js → ErrorOutline.esm.BjVqd_6R.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.BuUS-pfi.js → FileDownload.esm.DJCSsghl.js} +1 -1
- streamlit/static/static/js/{FileHelper.Pf8URFng.js → FileHelper.C---TH7o.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.By4vKj6A.js → FormClearHelper.C-6BC487.js} +1 -1
- streamlit/static/static/js/{InputInstructions.BiaGyIXk.js → InputInstructions.sxc3InCI.js} +1 -1
- streamlit/static/static/js/{Particles.2-EdjYhR.js → Particles.S8yD7iW-.js} +1 -1
- streamlit/static/static/js/{ProgressBar.Dgbh0B0d.js → ProgressBar.BiYsyZCC.js} +1 -1
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.DSl8Wr3R.js → StreamlitSyntaxHighlighter.9jZF8jX1.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.MOwyTUPh.js → TableChart.esm.BdA4Q1rZ.js} +1 -1
- streamlit/static/static/js/{Toolbar.CowuXIFr.js → Toolbar.B9DaaDfN.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.BdGIJQe4.js → WidgetLabelHelpIconInline.DxODTLS2.js} +1 -1
- streamlit/static/static/js/{base-input.CHPo5oJ1.js → base-input.Gf1cKuQR.js} +1 -1
- streamlit/static/static/js/{checkbox.Dkt2TQVS.js → checkbox.CnoNruf3.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.BaE-_v8I.js → createDownloadLinkElement.B48AepiL.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.C1ncL-Nr.js → data-grid-overlay-editor.Cmdq9aqU.js} +1 -1
- streamlit/static/static/js/{downloader.yaq2AzD9.js → downloader.CQLoQdMX.js} +1 -1
- streamlit/static/static/js/{embed.DJJvCVz2.js → embed.oKwocwU8.js} +1 -1
- streamlit/static/static/js/{es6.D2jK98VU.js → es6.BRxlY_y5.js} +2 -2
- streamlit/static/static/js/{formatNumber.Cxr2q_Sk.js → formatNumber.DaagZyZe.js} +1 -1
- streamlit/static/static/js/{iconPosition.5dHEZYw2.js → iconPosition.Q3hNvmK4.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.Cedt4qbc.js → iframeResizer.contentWindow.B6EBvI9L.js} +1 -1
- streamlit/static/static/js/{index.DaITTdfQ.js → index.19_qtO6t.js} +1 -1
- streamlit/static/static/js/{index._nL4Yjdr.js → index.43b777iP.js} +1 -1
- streamlit/static/static/js/{index.P-CMMGUY.js → index.B03eQZoH.js} +1 -1
- streamlit/static/static/js/{index.D2EVLt1U.js → index.B9kZB0o1.js} +1 -1
- streamlit/static/static/js/{index.BkDplL5I.js → index.BAI9aHCq.js} +1 -1
- streamlit/static/static/js/{index.CT9jvPcD.js → index.BF23fbfs.js} +1 -1
- streamlit/static/static/js/{index.TO9vodwr.js → index.BGBTkulf.js} +1 -1
- streamlit/static/static/js/{index.01VsD2h1.js → index.BRfGUOQ-.js} +5 -5
- streamlit/static/static/js/{index.D6ea3OJl.js → index.BVT89mQw.js} +1 -1
- streamlit/static/static/js/{index.BHMoYAbd.js → index.BXEC4cf3.js} +1 -1
- streamlit/static/static/js/{index.B6EliwN_.js → index.BbSFVZ3p.js} +1 -1
- streamlit/static/static/js/{index.B7EzT2pL.js → index.BkSwGJoh.js} +1 -1
- streamlit/static/static/js/{index.B6Uhb_NP.js → index.BnfTPrHb.js} +1 -1
- streamlit/static/static/js/{index.qzz9PjCO.js → index.BoX8d5rK.js} +1 -1
- streamlit/static/static/js/{index.Bb9kjc_v.js → index.Boa0Egng.js} +1 -1
- streamlit/static/static/js/{index.CjQo7CUO.js → index.BzwlrgZO.js} +1 -1
- streamlit/static/static/js/{index.Ba6hzYdl.js → index.C0fSEz-3.js} +1 -1
- streamlit/static/static/js/{index.B2TDaHdI.js → index.CCFwVy90.js} +1 -1
- streamlit/static/static/js/{index.Dt0Psatx.js → index.CCQ5p_WC.js} +1 -1
- streamlit/static/static/js/{index.DeGjj5Xy.js → index.CFCBhOfx.js} +1 -1
- streamlit/static/static/js/{index.DredtYc0.js → index.CIbgt5wY.js} +1 -1
- streamlit/static/static/js/{index.CD8IIWcc.js → index.CJ4oJe0V.js} +1 -1
- streamlit/static/static/js/{index.6_D2Y2jA.js → index.CP-hoxJM.js} +1 -1
- streamlit/static/static/js/{index.BXCQzqUL.js → index.CSfsEKCF.js} +1 -1
- streamlit/static/static/js/{index.C8PH2B2k.js → index.CVlg41MB.js} +1 -1
- streamlit/static/static/js/{index.BVit6ClT.js → index.CYE7b5Du.js} +1 -1
- streamlit/static/static/js/{index.DKUtJ1wC.js → index.Ca7MUNWJ.js} +1 -1
- streamlit/static/static/js/index.CrPjcPY1.js +1 -0
- streamlit/static/static/js/{index.BMPclSge.js → index.CvB9JBqS.js} +5 -5
- streamlit/static/static/js/{index.BCCeRfnu.js → index.CvIqsWy1.js} +1 -1
- streamlit/static/static/js/{index.wLJVkoPD.js → index.D1pK_Vw2.js} +1 -1
- streamlit/static/static/js/{index.B0GsKOuI.js → index.D6X2coHR.js} +1 -1
- streamlit/static/static/js/{index.B4x2O71H.js → index.DGYHxruh.js} +1 -1
- streamlit/static/static/js/{index.DcKOiCiE.js → index.DJ7P09eb.js} +1 -1
- streamlit/static/static/js/{index.CcHnYd9w.js → index.Dh5SAThV.js} +1 -1
- streamlit/static/static/js/{index.BFopzcDu.js → index.Fu73QtkD.js} +1 -1
- streamlit/static/static/js/{index.CIlqaESj.js → index.KN1VmyYN.js} +1 -1
- streamlit/static/static/js/{index.B9DrCSR6.js → index.KtjGDGY5.js} +1 -1
- streamlit/static/static/js/{index.DLB_Wwth.js → index.OpATzEaW.js} +1 -1
- streamlit/static/static/js/{index.CcJEaOpw.js → index.QHnxuesF.js} +1 -1
- streamlit/static/static/js/{index.1djeb6e0.js → index.QTaWooav.js} +1 -1
- streamlit/static/static/js/{index.BgVtKHgk.js → index.WXybx2Xq.js} +1 -1
- streamlit/static/static/js/{index.DtGneC7j.js → index.Xg-Qttib.js} +1 -1
- streamlit/static/static/js/{index.Dewn3Ni9.js → index.j4fnjyHo.js} +1 -1
- streamlit/static/static/js/{index.CAobVzMK.js → index.na9UBuse.js} +1 -1
- streamlit/static/static/js/{index.D2v1x0i_.js → index.pU9mQeVC.js} +1 -1
- streamlit/static/static/js/{index.DbTMA1_Q.js → index.slgxPafU.js} +1 -1
- streamlit/static/static/js/{index.DozBVd6-.js → index.whRT3Vm3.js} +1 -1
- streamlit/static/static/js/{input.27t-DftI.js → input.CPzINTl-.js} +1 -1
- streamlit/static/static/js/{main.BEfv2Y8-.js → main.DSPn8dUe.js} +1 -1
- streamlit/static/static/js/{memory.CaZBVQ_1.js → memory.CfD8IGoU.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.CAIp-3oo.js → number-overlay-editor.4Ae0qegV.js} +1 -1
- streamlit/static/static/js/{pandasStylerUtils.BY9qaz81.js → pandasStylerUtils.D2EjZ7k6.js} +1 -1
- streamlit/static/static/js/{sandbox.BJUaaWFJ.js → sandbox.C6vcPIm0.js} +1 -1
- streamlit/static/static/js/{styled-components.DQsMkvXn.js → styled-components.BBmp8buj.js} +1 -1
- streamlit/static/static/js/{throttle.DSR3q89S.js → throttle.BPcPpy-S.js} +1 -1
- streamlit/static/static/js/{timepicker.gie5YwtP.js → timepicker.ryzkTs2C.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.C9lVwnAo.js → toConsumableArray.Dg1nDaB_.js} +1 -1
- streamlit/static/static/js/uniqueId.BFHzT5KQ.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.DrTKs46R.js → useBasicWidgetState.A4U5lzAm.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.CmSionuT.js → useIntlLocale.DWJgLlNz.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.D7lViJSu.js → useTextInputAutoExpand.BrBonw8t.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.Ct3CJQBQ.js → useUpdateUiValue.BkOWyNVX.js} +1 -1
- streamlit/static/static/js/{useWaveformController.D-KQLpLI.js → useWaveformController.CBlvXlgZ.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.CD0pPoZr.js → withCalculatedWidth.D4cpOyNe.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.Ch22PgdD.js → withFullScreenWrapper.BMim3w94.js} +1 -1
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/user_info.py +6 -4
- streamlit/web/server/browser_websocket_handler.py +2 -2
- streamlit/web/server/oauth_authlib_routes.py +97 -20
- streamlit/web/server/starlette/starlette_routes.py +1 -3
- streamlit/web/server/stats_request_handler.py +1 -3
- {streamlit_nightly-1.52.3.dev20260111.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.52.3.dev20260111.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/RECORD +211 -211
- streamlit/static/static/js/index.i_eQw7NS.js +0 -1
- streamlit/static/static/js/uniqueId.BdEQNrWF.js +0 -1
- {streamlit_nightly-1.52.3.dev20260111.data → streamlit_nightly-1.52.3.dev20260113.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.52.3.dev20260111.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.52.3.dev20260111.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.52.3.dev20260111.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/top_level.txt +0 -0
|
@@ -17,50 +17,55 @@ 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
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
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
|
+
from streamlit.proto import AuthRedirect_pb2 as _AuthRedirect_pb2
|
|
26
|
+
from streamlit.proto import AutoRerun_pb2 as _AutoRerun_pb2
|
|
27
|
+
from streamlit.proto import Common_pb2 as _Common_pb2
|
|
28
|
+
from streamlit.proto import Delta_pb2 as _Delta_pb2
|
|
29
|
+
from streamlit.proto import GitInfo_pb2 as _GitInfo_pb2
|
|
30
|
+
from streamlit.proto import Logo_pb2 as _Logo_pb2
|
|
31
|
+
from streamlit.proto import Navigation_pb2 as _Navigation_pb2
|
|
32
|
+
from streamlit.proto import NewSession_pb2 as _NewSession_pb2
|
|
33
|
+
from streamlit.proto import PageConfig_pb2 as _PageConfig_pb2
|
|
34
|
+
from streamlit.proto import PageInfo_pb2 as _PageInfo_pb2
|
|
35
|
+
from streamlit.proto import PageNotFound_pb2 as _PageNotFound_pb2
|
|
36
|
+
from streamlit.proto import PageProfile_pb2 as _PageProfile_pb2
|
|
37
|
+
from streamlit.proto import PagesChanged_pb2 as _PagesChanged_pb2
|
|
38
|
+
from streamlit.proto import ParentMessage_pb2 as _ParentMessage_pb2
|
|
39
|
+
from streamlit.proto import SessionEvent_pb2 as _SessionEvent_pb2
|
|
40
|
+
from streamlit.proto import SessionStatus_pb2 as _SessionStatus_pb2
|
|
41
|
+
import builtins as _builtins
|
|
42
42
|
import sys
|
|
43
|
-
import typing
|
|
43
|
+
import typing as _typing
|
|
44
44
|
|
|
45
45
|
if sys.version_info >= (3, 10):
|
|
46
|
-
|
|
46
|
+
from typing import TypeAlias as _TypeAlias
|
|
47
47
|
else:
|
|
48
|
-
import
|
|
48
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
if sys.version_info >= (3, 13):
|
|
51
|
+
from warnings import deprecated as _deprecated
|
|
52
|
+
else:
|
|
53
|
+
from typing_extensions import deprecated as _deprecated
|
|
54
|
+
|
|
55
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
51
56
|
|
|
52
|
-
@
|
|
53
|
-
class ForwardMsg(
|
|
57
|
+
@_typing.final
|
|
58
|
+
class ForwardMsg(_message.Message):
|
|
54
59
|
"""A message sent from Proxy to the browser"""
|
|
55
60
|
|
|
56
|
-
DESCRIPTOR:
|
|
61
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
57
62
|
|
|
58
63
|
class _ScriptFinishedStatus:
|
|
59
|
-
ValueType =
|
|
60
|
-
V:
|
|
64
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
65
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
61
66
|
|
|
62
|
-
class _ScriptFinishedStatusEnumTypeWrapper(
|
|
63
|
-
DESCRIPTOR:
|
|
67
|
+
class _ScriptFinishedStatusEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[ForwardMsg._ScriptFinishedStatus.ValueType], _builtins.type):
|
|
68
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
64
69
|
FINISHED_SUCCESSFULLY: ForwardMsg._ScriptFinishedStatus.ValueType # 0
|
|
65
70
|
"""The script compiled and ran."""
|
|
66
71
|
FINISHED_WITH_COMPILE_ERROR: ForwardMsg._ScriptFinishedStatus.ValueType # 1
|
|
@@ -82,155 +87,156 @@ class ForwardMsg(google.protobuf.message.Message):
|
|
|
82
87
|
FINISHED_FRAGMENT_RUN_SUCCESSFULLY: ForwardMsg.ScriptFinishedStatus.ValueType # 3
|
|
83
88
|
"""A fragment of the script ran successfully."""
|
|
84
89
|
|
|
85
|
-
HASH_FIELD_NUMBER:
|
|
86
|
-
METADATA_FIELD_NUMBER:
|
|
87
|
-
NEW_SESSION_FIELD_NUMBER:
|
|
88
|
-
DELTA_FIELD_NUMBER:
|
|
89
|
-
PAGE_INFO_CHANGED_FIELD_NUMBER:
|
|
90
|
-
PAGE_CONFIG_CHANGED_FIELD_NUMBER:
|
|
91
|
-
SCRIPT_FINISHED_FIELD_NUMBER:
|
|
92
|
-
GIT_INFO_CHANGED_FIELD_NUMBER:
|
|
93
|
-
PAGE_PROFILE_FIELD_NUMBER:
|
|
94
|
-
SESSION_STATUS_CHANGED_FIELD_NUMBER:
|
|
95
|
-
SESSION_EVENT_FIELD_NUMBER:
|
|
96
|
-
NAVIGATION_FIELD_NUMBER:
|
|
97
|
-
PAGE_NOT_FOUND_FIELD_NUMBER:
|
|
98
|
-
PAGES_CHANGED_FIELD_NUMBER:
|
|
99
|
-
FILE_URLS_RESPONSE_FIELD_NUMBER:
|
|
100
|
-
AUTO_RERUN_FIELD_NUMBER:
|
|
101
|
-
LOGO_FIELD_NUMBER:
|
|
102
|
-
AUTH_REDIRECT_FIELD_NUMBER:
|
|
103
|
-
PARENT_MESSAGE_FIELD_NUMBER:
|
|
104
|
-
REF_HASH_FIELD_NUMBER:
|
|
105
|
-
DEFERRED_FILE_RESPONSE_FIELD_NUMBER:
|
|
106
|
-
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER:
|
|
107
|
-
hash:
|
|
90
|
+
HASH_FIELD_NUMBER: _builtins.int
|
|
91
|
+
METADATA_FIELD_NUMBER: _builtins.int
|
|
92
|
+
NEW_SESSION_FIELD_NUMBER: _builtins.int
|
|
93
|
+
DELTA_FIELD_NUMBER: _builtins.int
|
|
94
|
+
PAGE_INFO_CHANGED_FIELD_NUMBER: _builtins.int
|
|
95
|
+
PAGE_CONFIG_CHANGED_FIELD_NUMBER: _builtins.int
|
|
96
|
+
SCRIPT_FINISHED_FIELD_NUMBER: _builtins.int
|
|
97
|
+
GIT_INFO_CHANGED_FIELD_NUMBER: _builtins.int
|
|
98
|
+
PAGE_PROFILE_FIELD_NUMBER: _builtins.int
|
|
99
|
+
SESSION_STATUS_CHANGED_FIELD_NUMBER: _builtins.int
|
|
100
|
+
SESSION_EVENT_FIELD_NUMBER: _builtins.int
|
|
101
|
+
NAVIGATION_FIELD_NUMBER: _builtins.int
|
|
102
|
+
PAGE_NOT_FOUND_FIELD_NUMBER: _builtins.int
|
|
103
|
+
PAGES_CHANGED_FIELD_NUMBER: _builtins.int
|
|
104
|
+
FILE_URLS_RESPONSE_FIELD_NUMBER: _builtins.int
|
|
105
|
+
AUTO_RERUN_FIELD_NUMBER: _builtins.int
|
|
106
|
+
LOGO_FIELD_NUMBER: _builtins.int
|
|
107
|
+
AUTH_REDIRECT_FIELD_NUMBER: _builtins.int
|
|
108
|
+
PARENT_MESSAGE_FIELD_NUMBER: _builtins.int
|
|
109
|
+
REF_HASH_FIELD_NUMBER: _builtins.int
|
|
110
|
+
DEFERRED_FILE_RESPONSE_FIELD_NUMBER: _builtins.int
|
|
111
|
+
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER: _builtins.int
|
|
112
|
+
hash: _builtins.str
|
|
108
113
|
"""A hash that uniquely identifies this ForwardMsg, for caching."""
|
|
109
114
|
script_finished: Global___ForwardMsg.ScriptFinishedStatus.ValueType
|
|
110
|
-
ref_hash:
|
|
115
|
+
ref_hash: _builtins.str
|
|
111
116
|
"""A reference to a ForwardMsg that has already been delivered
|
|
112
117
|
and cached in the frontend. The client should substitute the message
|
|
113
118
|
with the given hash for this one.
|
|
114
119
|
"""
|
|
115
|
-
debug_last_backmsg_id:
|
|
120
|
+
debug_last_backmsg_id: _builtins.str
|
|
116
121
|
"""The ID of the last BackMsg that we received before sending this
|
|
117
122
|
ForwardMsg. As its name suggests, this field should only be used for
|
|
118
123
|
testing.
|
|
119
124
|
"""
|
|
120
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
121
126
|
def metadata(self) -> Global___ForwardMsgMetadata:
|
|
122
127
|
"""Contains 'non-payload' ForwardMsg data that isn't cached for the purposes
|
|
123
128
|
of ForwardMsg de-duping.
|
|
124
129
|
"""
|
|
125
130
|
|
|
126
|
-
@property
|
|
127
|
-
def new_session(self) ->
|
|
131
|
+
@_builtins.property
|
|
132
|
+
def new_session(self) -> _NewSession_pb2.NewSession:
|
|
128
133
|
"""App lifecycle messages."""
|
|
129
134
|
|
|
130
|
-
@property
|
|
131
|
-
def delta(self) ->
|
|
132
|
-
@property
|
|
133
|
-
def page_info_changed(self) ->
|
|
134
|
-
@property
|
|
135
|
-
def page_config_changed(self) ->
|
|
136
|
-
@property
|
|
137
|
-
def git_info_changed(self) ->
|
|
138
|
-
@property
|
|
139
|
-
def page_profile(self) ->
|
|
140
|
-
@property
|
|
141
|
-
def session_status_changed(self) ->
|
|
135
|
+
@_builtins.property
|
|
136
|
+
def delta(self) -> _Delta_pb2.Delta: ...
|
|
137
|
+
@_builtins.property
|
|
138
|
+
def page_info_changed(self) -> _PageInfo_pb2.PageInfo: ...
|
|
139
|
+
@_builtins.property
|
|
140
|
+
def page_config_changed(self) -> _PageConfig_pb2.PageConfig: ...
|
|
141
|
+
@_builtins.property
|
|
142
|
+
def git_info_changed(self) -> _GitInfo_pb2.GitInfo: ...
|
|
143
|
+
@_builtins.property
|
|
144
|
+
def page_profile(self) -> _PageProfile_pb2.PageProfile: ...
|
|
145
|
+
@_builtins.property
|
|
146
|
+
def session_status_changed(self) -> _SessionStatus_pb2.SessionStatus:
|
|
142
147
|
"""Status change and event messages."""
|
|
143
148
|
|
|
144
|
-
@property
|
|
145
|
-
def session_event(self) ->
|
|
146
|
-
@property
|
|
147
|
-
def navigation(self) ->
|
|
149
|
+
@_builtins.property
|
|
150
|
+
def session_event(self) -> _SessionEvent_pb2.SessionEvent: ...
|
|
151
|
+
@_builtins.property
|
|
152
|
+
def navigation(self) -> _Navigation_pb2.Navigation:
|
|
148
153
|
"""Other messages."""
|
|
149
154
|
|
|
150
|
-
@property
|
|
151
|
-
def page_not_found(self) ->
|
|
152
|
-
@property
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
@_builtins.property
|
|
156
|
+
def page_not_found(self) -> _PageNotFound_pb2.PageNotFound: ...
|
|
157
|
+
@_builtins.property
|
|
158
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
159
|
+
def pages_changed(self) -> _PagesChanged_pb2.PagesChanged: ...
|
|
160
|
+
@_builtins.property
|
|
161
|
+
def file_urls_response(self) -> _Common_pb2.FileURLsResponse: ...
|
|
162
|
+
@_builtins.property
|
|
163
|
+
def auto_rerun(self) -> _AutoRerun_pb2.AutoRerun: ...
|
|
164
|
+
@_builtins.property
|
|
165
|
+
def logo(self) -> _Logo_pb2.Logo:
|
|
160
166
|
"""App logo message"""
|
|
161
167
|
|
|
162
|
-
@property
|
|
163
|
-
def auth_redirect(self) ->
|
|
168
|
+
@_builtins.property
|
|
169
|
+
def auth_redirect(self) -> _AuthRedirect_pb2.AuthRedirect:
|
|
164
170
|
"""Auth redirect message"""
|
|
165
171
|
|
|
166
|
-
@property
|
|
167
|
-
def parent_message(self) ->
|
|
172
|
+
@_builtins.property
|
|
173
|
+
def parent_message(self) -> _ParentMessage_pb2.ParentMessage:
|
|
168
174
|
"""Platform - message to host"""
|
|
169
175
|
|
|
170
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
171
177
|
def deferred_file_response(self) -> Global___DeferredFileResponse:
|
|
172
178
|
"""Response for a deferred file request"""
|
|
173
179
|
|
|
174
180
|
def __init__(
|
|
175
181
|
self,
|
|
176
182
|
*,
|
|
177
|
-
hash:
|
|
183
|
+
hash: _builtins.str = ...,
|
|
178
184
|
metadata: Global___ForwardMsgMetadata | None = ...,
|
|
179
|
-
new_session:
|
|
180
|
-
delta:
|
|
181
|
-
page_info_changed:
|
|
182
|
-
page_config_changed:
|
|
185
|
+
new_session: _NewSession_pb2.NewSession | None = ...,
|
|
186
|
+
delta: _Delta_pb2.Delta | None = ...,
|
|
187
|
+
page_info_changed: _PageInfo_pb2.PageInfo | None = ...,
|
|
188
|
+
page_config_changed: _PageConfig_pb2.PageConfig | None = ...,
|
|
183
189
|
script_finished: Global___ForwardMsg.ScriptFinishedStatus.ValueType = ...,
|
|
184
|
-
git_info_changed:
|
|
185
|
-
page_profile:
|
|
186
|
-
session_status_changed:
|
|
187
|
-
session_event:
|
|
188
|
-
navigation:
|
|
189
|
-
page_not_found:
|
|
190
|
-
pages_changed:
|
|
191
|
-
file_urls_response:
|
|
192
|
-
auto_rerun:
|
|
193
|
-
logo:
|
|
194
|
-
auth_redirect:
|
|
195
|
-
parent_message:
|
|
196
|
-
ref_hash:
|
|
190
|
+
git_info_changed: _GitInfo_pb2.GitInfo | None = ...,
|
|
191
|
+
page_profile: _PageProfile_pb2.PageProfile | None = ...,
|
|
192
|
+
session_status_changed: _SessionStatus_pb2.SessionStatus | None = ...,
|
|
193
|
+
session_event: _SessionEvent_pb2.SessionEvent | None = ...,
|
|
194
|
+
navigation: _Navigation_pb2.Navigation | None = ...,
|
|
195
|
+
page_not_found: _PageNotFound_pb2.PageNotFound | None = ...,
|
|
196
|
+
pages_changed: _PagesChanged_pb2.PagesChanged | None = ...,
|
|
197
|
+
file_urls_response: _Common_pb2.FileURLsResponse | None = ...,
|
|
198
|
+
auto_rerun: _AutoRerun_pb2.AutoRerun | None = ...,
|
|
199
|
+
logo: _Logo_pb2.Logo | None = ...,
|
|
200
|
+
auth_redirect: _AuthRedirect_pb2.AuthRedirect | None = ...,
|
|
201
|
+
parent_message: _ParentMessage_pb2.ParentMessage | None = ...,
|
|
202
|
+
ref_hash: _builtins.str = ...,
|
|
197
203
|
deferred_file_response: Global___DeferredFileResponse | None = ...,
|
|
198
|
-
debug_last_backmsg_id:
|
|
204
|
+
debug_last_backmsg_id: _builtins.str = ...,
|
|
199
205
|
) -> None: ...
|
|
200
|
-
_HasFieldArgType:
|
|
201
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
202
|
-
_ClearFieldArgType:
|
|
206
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "deferred_file_response", b"deferred_file_response", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"] # noqa: Y015
|
|
207
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
208
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["auth_redirect", b"auth_redirect", "auto_rerun", b"auto_rerun", "debug_last_backmsg_id", b"debug_last_backmsg_id", "deferred_file_response", b"deferred_file_response", "delta", b"delta", "file_urls_response", b"file_urls_response", "git_info_changed", b"git_info_changed", "hash", b"hash", "logo", b"logo", "metadata", b"metadata", "navigation", b"navigation", "new_session", b"new_session", "page_config_changed", b"page_config_changed", "page_info_changed", b"page_info_changed", "page_not_found", b"page_not_found", "page_profile", b"page_profile", "pages_changed", b"pages_changed", "parent_message", b"parent_message", "ref_hash", b"ref_hash", "script_finished", b"script_finished", "session_event", b"session_event", "session_status_changed", b"session_status_changed", "type", b"type"] # noqa: Y015
|
|
203
209
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
204
|
-
_WhichOneofReturnType_type:
|
|
205
|
-
_WhichOneofArgType_type:
|
|
210
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["new_session", "delta", "page_info_changed", "page_config_changed", "script_finished", "git_info_changed", "page_profile", "session_status_changed", "session_event", "navigation", "page_not_found", "pages_changed", "file_urls_response", "auto_rerun", "logo", "auth_redirect", "parent_message", "ref_hash", "deferred_file_response"] # noqa: Y015
|
|
211
|
+
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
206
212
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_type) -> _WhichOneofReturnType_type | None: ...
|
|
207
213
|
|
|
208
|
-
Global___ForwardMsg:
|
|
214
|
+
Global___ForwardMsg: _TypeAlias = ForwardMsg # noqa: Y015
|
|
209
215
|
|
|
210
|
-
@
|
|
211
|
-
class DeferredFileResponse(
|
|
212
|
-
DESCRIPTOR:
|
|
216
|
+
@_typing.final
|
|
217
|
+
class DeferredFileResponse(_message.Message):
|
|
218
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
213
219
|
|
|
214
|
-
FILE_ID_FIELD_NUMBER:
|
|
215
|
-
URL_FIELD_NUMBER:
|
|
216
|
-
ERROR_MSG_FIELD_NUMBER:
|
|
217
|
-
file_id:
|
|
218
|
-
url:
|
|
219
|
-
error_msg:
|
|
220
|
+
FILE_ID_FIELD_NUMBER: _builtins.int
|
|
221
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
222
|
+
ERROR_MSG_FIELD_NUMBER: _builtins.int
|
|
223
|
+
file_id: _builtins.str
|
|
224
|
+
url: _builtins.str
|
|
225
|
+
error_msg: _builtins.str
|
|
220
226
|
def __init__(
|
|
221
227
|
self,
|
|
222
228
|
*,
|
|
223
|
-
file_id:
|
|
224
|
-
url:
|
|
225
|
-
error_msg:
|
|
229
|
+
file_id: _builtins.str = ...,
|
|
230
|
+
url: _builtins.str = ...,
|
|
231
|
+
error_msg: _builtins.str = ...,
|
|
226
232
|
) -> None: ...
|
|
227
|
-
_ClearFieldArgType:
|
|
233
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["error_msg", b"error_msg", "file_id", b"file_id", "url", b"url"] # noqa: Y015
|
|
228
234
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
229
235
|
|
|
230
|
-
Global___DeferredFileResponse:
|
|
236
|
+
Global___DeferredFileResponse: _TypeAlias = DeferredFileResponse # noqa: Y015
|
|
231
237
|
|
|
232
|
-
@
|
|
233
|
-
class ForwardMsgMetadata(
|
|
238
|
+
@_typing.final
|
|
239
|
+
class ForwardMsgMetadata(_message.Message):
|
|
234
240
|
"""ForwardMsgMetadata contains all data that does _not_ get hashed (or cached)
|
|
235
241
|
in our ForwardMsgCache. (That is, when we cache a ForwardMsg, we clear its
|
|
236
242
|
metadata field first.) This allows us to, e.g., have a large unchanging
|
|
@@ -238,71 +244,71 @@ class ForwardMsgMetadata(google.protobuf.message.Message):
|
|
|
238
244
|
multiple times in a single run - and only send its dataframe bytes once.
|
|
239
245
|
"""
|
|
240
246
|
|
|
241
|
-
DESCRIPTOR:
|
|
247
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
242
248
|
|
|
243
|
-
CACHEABLE_FIELD_NUMBER:
|
|
244
|
-
DELTA_PATH_FIELD_NUMBER:
|
|
245
|
-
ELEMENT_DIMENSION_SPEC_FIELD_NUMBER:
|
|
246
|
-
ACTIVE_SCRIPT_HASH_FIELD_NUMBER:
|
|
247
|
-
cacheable:
|
|
249
|
+
CACHEABLE_FIELD_NUMBER: _builtins.int
|
|
250
|
+
DELTA_PATH_FIELD_NUMBER: _builtins.int
|
|
251
|
+
ELEMENT_DIMENSION_SPEC_FIELD_NUMBER: _builtins.int
|
|
252
|
+
ACTIVE_SCRIPT_HASH_FIELD_NUMBER: _builtins.int
|
|
253
|
+
cacheable: _builtins.bool
|
|
248
254
|
"""Marks a message as cacheable for the frontend."""
|
|
249
|
-
active_script_hash:
|
|
255
|
+
active_script_hash: _builtins.str
|
|
250
256
|
"""active_script_hash the forward message is associated from.
|
|
251
257
|
For multipage apps v1, this will always be the page file running
|
|
252
258
|
For multipage apps v2, this can be the main script or the page script
|
|
253
259
|
"""
|
|
254
|
-
@property
|
|
255
|
-
def delta_path(self) ->
|
|
260
|
+
@_builtins.property
|
|
261
|
+
def delta_path(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]:
|
|
256
262
|
"""The path that identifies a delta's location in the report tree.
|
|
257
263
|
Only set for Delta messages.
|
|
258
264
|
"""
|
|
259
265
|
|
|
260
|
-
@property
|
|
266
|
+
@_builtins.property
|
|
261
267
|
def element_dimension_spec(self) -> Global___ElementDimensionSpec:
|
|
262
268
|
"""DEPRECATED: This is not used anymore."""
|
|
263
269
|
|
|
264
270
|
def __init__(
|
|
265
271
|
self,
|
|
266
272
|
*,
|
|
267
|
-
cacheable:
|
|
268
|
-
delta_path:
|
|
273
|
+
cacheable: _builtins.bool = ...,
|
|
274
|
+
delta_path: _abc.Iterable[_builtins.int] | None = ...,
|
|
269
275
|
element_dimension_spec: Global___ElementDimensionSpec | None = ...,
|
|
270
|
-
active_script_hash:
|
|
276
|
+
active_script_hash: _builtins.str = ...,
|
|
271
277
|
) -> None: ...
|
|
272
|
-
_HasFieldArgType:
|
|
273
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
274
|
-
_ClearFieldArgType:
|
|
278
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["element_dimension_spec", b"element_dimension_spec"] # noqa: Y015
|
|
279
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
280
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["active_script_hash", b"active_script_hash", "cacheable", b"cacheable", "delta_path", b"delta_path", "element_dimension_spec", b"element_dimension_spec"] # noqa: Y015
|
|
275
281
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
276
282
|
|
|
277
|
-
Global___ForwardMsgMetadata:
|
|
283
|
+
Global___ForwardMsgMetadata: _TypeAlias = ForwardMsgMetadata # noqa: Y015
|
|
278
284
|
|
|
279
|
-
@
|
|
280
|
-
class ElementDimensionSpec(
|
|
285
|
+
@_typing.final
|
|
286
|
+
class ElementDimensionSpec(_message.Message):
|
|
281
287
|
"""DEPRECATED: This is not used anymore.
|
|
282
288
|
Specifies the dimensions for the element
|
|
283
289
|
"""
|
|
284
290
|
|
|
285
|
-
DESCRIPTOR:
|
|
291
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
286
292
|
|
|
287
|
-
WIDTH_FIELD_NUMBER:
|
|
288
|
-
HEIGHT_FIELD_NUMBER:
|
|
289
|
-
width:
|
|
293
|
+
WIDTH_FIELD_NUMBER: _builtins.int
|
|
294
|
+
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
295
|
+
width: _builtins.int
|
|
290
296
|
"""width in pixels"""
|
|
291
|
-
height:
|
|
297
|
+
height: _builtins.int
|
|
292
298
|
"""height in pixels"""
|
|
293
299
|
def __init__(
|
|
294
300
|
self,
|
|
295
301
|
*,
|
|
296
|
-
width:
|
|
297
|
-
height:
|
|
302
|
+
width: _builtins.int = ...,
|
|
303
|
+
height: _builtins.int = ...,
|
|
298
304
|
) -> None: ...
|
|
299
|
-
_ClearFieldArgType:
|
|
305
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["height", b"height", "width", b"width"] # noqa: Y015
|
|
300
306
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
301
307
|
|
|
302
|
-
Global___ElementDimensionSpec:
|
|
308
|
+
Global___ElementDimensionSpec: _TypeAlias = ElementDimensionSpec # noqa: Y015
|
|
303
309
|
|
|
304
|
-
@
|
|
305
|
-
class ForwardMsgList(
|
|
310
|
+
@_typing.final
|
|
311
|
+
class ForwardMsgList(_message.Message):
|
|
306
312
|
"""This is a list of ForwardMessages used to have a single protobuf message
|
|
307
313
|
that encapsulates multiple ForwardMessages. This is used in static streamlit app
|
|
308
314
|
generation in replaying all of the protobuf messages of a streamlit app. The
|
|
@@ -310,17 +316,17 @@ class ForwardMsgList(google.protobuf.message.Message):
|
|
|
310
316
|
instead of needing to do that ourselves.
|
|
311
317
|
"""
|
|
312
318
|
|
|
313
|
-
DESCRIPTOR:
|
|
319
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
314
320
|
|
|
315
|
-
MESSAGES_FIELD_NUMBER:
|
|
316
|
-
@property
|
|
317
|
-
def messages(self) ->
|
|
321
|
+
MESSAGES_FIELD_NUMBER: _builtins.int
|
|
322
|
+
@_builtins.property
|
|
323
|
+
def messages(self) -> _containers.RepeatedCompositeFieldContainer[Global___ForwardMsg]: ...
|
|
318
324
|
def __init__(
|
|
319
325
|
self,
|
|
320
326
|
*,
|
|
321
|
-
messages:
|
|
327
|
+
messages: _abc.Iterable[Global___ForwardMsg] | None = ...,
|
|
322
328
|
) -> None: ...
|
|
323
|
-
_ClearFieldArgType:
|
|
329
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["messages", b"messages"] # noqa: Y015
|
|
324
330
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
325
331
|
|
|
326
|
-
Global___ForwardMsgList:
|
|
332
|
+
Global___ForwardMsgList: _TypeAlias = ForwardMsgList # noqa: Y015
|
streamlit/proto/GapSize_pb2.pyi
CHANGED
|
@@ -17,26 +17,26 @@ 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
34
|
class _GapSize:
|
|
35
|
-
ValueType =
|
|
36
|
-
V:
|
|
35
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
36
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
37
37
|
|
|
38
|
-
class _GapSizeEnumTypeWrapper(
|
|
39
|
-
DESCRIPTOR:
|
|
38
|
+
class _GapSizeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_GapSize.ValueType], _builtins.type):
|
|
39
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
40
40
|
GAP_UNDEFINED: _GapSize.ValueType # 0
|
|
41
41
|
SMALL: _GapSize.ValueType # 1
|
|
42
42
|
MEDIUM: _GapSize.ValueType # 2
|
|
@@ -58,25 +58,25 @@ XXSMALL: GapSize.ValueType # 5
|
|
|
58
58
|
XSMALL: GapSize.ValueType # 6
|
|
59
59
|
XLARGE: GapSize.ValueType # 7
|
|
60
60
|
XXLARGE: GapSize.ValueType # 8
|
|
61
|
-
Global___GapSize:
|
|
61
|
+
Global___GapSize: _TypeAlias = GapSize # noqa: Y015
|
|
62
62
|
|
|
63
|
-
@
|
|
64
|
-
class GapConfig(
|
|
65
|
-
DESCRIPTOR:
|
|
63
|
+
@_typing.final
|
|
64
|
+
class GapConfig(_message.Message):
|
|
65
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
66
66
|
|
|
67
|
-
GAP_SIZE_FIELD_NUMBER:
|
|
67
|
+
GAP_SIZE_FIELD_NUMBER: _builtins.int
|
|
68
68
|
gap_size: Global___GapSize.ValueType
|
|
69
69
|
def __init__(
|
|
70
70
|
self,
|
|
71
71
|
*,
|
|
72
72
|
gap_size: Global___GapSize.ValueType = ...,
|
|
73
73
|
) -> None: ...
|
|
74
|
-
_HasFieldArgType:
|
|
75
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
76
|
-
_ClearFieldArgType:
|
|
74
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"] # noqa: Y015
|
|
75
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
76
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["gap_size", b"gap_size", "gap_spec", b"gap_spec"] # noqa: Y015
|
|
77
77
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
78
|
-
_WhichOneofReturnType_gap_spec:
|
|
79
|
-
_WhichOneofArgType_gap_spec:
|
|
78
|
+
_WhichOneofReturnType_gap_spec: _TypeAlias = _typing.Literal["gap_size"] # noqa: Y015
|
|
79
|
+
_WhichOneofArgType_gap_spec: _TypeAlias = _typing.Literal["gap_spec", b"gap_spec"] # noqa: Y015
|
|
80
80
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_gap_spec) -> _WhichOneofReturnType_gap_spec | None: ...
|
|
81
81
|
|
|
82
|
-
Global___GapConfig:
|
|
82
|
+
Global___GapConfig: _TypeAlias = GapConfig # noqa: Y015
|