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
streamlit/proto/Metric_pb2.pyi
CHANGED
|
@@ -17,33 +17,33 @@ 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
|
-
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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
|
|
26
|
+
import builtins as _builtins
|
|
27
27
|
import sys
|
|
28
|
-
import typing
|
|
28
|
+
import typing as _typing
|
|
29
29
|
|
|
30
30
|
if sys.version_info >= (3, 10):
|
|
31
|
-
|
|
31
|
+
from typing import TypeAlias as _TypeAlias
|
|
32
32
|
else:
|
|
33
|
-
import
|
|
33
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
34
34
|
|
|
35
|
-
DESCRIPTOR:
|
|
35
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
36
36
|
|
|
37
|
-
@
|
|
38
|
-
class Metric(
|
|
39
|
-
DESCRIPTOR:
|
|
37
|
+
@_typing.final
|
|
38
|
+
class Metric(_message.Message):
|
|
39
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
40
40
|
|
|
41
41
|
class _MetricDirection:
|
|
42
|
-
ValueType =
|
|
43
|
-
V:
|
|
42
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
43
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
44
44
|
|
|
45
|
-
class _MetricDirectionEnumTypeWrapper(
|
|
46
|
-
DESCRIPTOR:
|
|
45
|
+
class _MetricDirectionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Metric._MetricDirection.ValueType], _builtins.type):
|
|
46
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
47
47
|
DOWN: Metric._MetricDirection.ValueType # 0
|
|
48
48
|
UP: Metric._MetricDirection.ValueType # 1
|
|
49
49
|
NONE: Metric._MetricDirection.ValueType # 2
|
|
@@ -54,11 +54,11 @@ class Metric(google.protobuf.message.Message):
|
|
|
54
54
|
NONE: Metric.MetricDirection.ValueType # 2
|
|
55
55
|
|
|
56
56
|
class _MetricColor:
|
|
57
|
-
ValueType =
|
|
58
|
-
V:
|
|
57
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
58
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
59
59
|
|
|
60
|
-
class _MetricColorEnumTypeWrapper(
|
|
61
|
-
DESCRIPTOR:
|
|
60
|
+
class _MetricColorEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Metric._MetricColor.ValueType], _builtins.type):
|
|
61
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
62
62
|
RED: Metric._MetricColor.ValueType # 0
|
|
63
63
|
GREEN: Metric._MetricColor.ValueType # 1
|
|
64
64
|
GRAY: Metric._MetricColor.ValueType # 2
|
|
@@ -79,11 +79,11 @@ class Metric(google.protobuf.message.Message):
|
|
|
79
79
|
PRIMARY: Metric.MetricColor.ValueType # 7
|
|
80
80
|
|
|
81
81
|
class _ChartType:
|
|
82
|
-
ValueType =
|
|
83
|
-
V:
|
|
82
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
83
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
84
84
|
|
|
85
|
-
class _ChartTypeEnumTypeWrapper(
|
|
86
|
-
DESCRIPTOR:
|
|
85
|
+
class _ChartTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Metric._ChartType.ValueType], _builtins.type):
|
|
86
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
87
87
|
LINE: Metric._ChartType.ValueType # 0
|
|
88
88
|
BAR: Metric._ChartType.ValueType # 1
|
|
89
89
|
AREA: Metric._ChartType.ValueType # 2
|
|
@@ -93,49 +93,49 @@ class Metric(google.protobuf.message.Message):
|
|
|
93
93
|
BAR: Metric.ChartType.ValueType # 1
|
|
94
94
|
AREA: Metric.ChartType.ValueType # 2
|
|
95
95
|
|
|
96
|
-
LABEL_FIELD_NUMBER:
|
|
97
|
-
BODY_FIELD_NUMBER:
|
|
98
|
-
DELTA_FIELD_NUMBER:
|
|
99
|
-
DIRECTION_FIELD_NUMBER:
|
|
100
|
-
COLOR_FIELD_NUMBER:
|
|
101
|
-
HELP_FIELD_NUMBER:
|
|
102
|
-
LABEL_VISIBILITY_FIELD_NUMBER:
|
|
103
|
-
SHOW_BORDER_FIELD_NUMBER:
|
|
104
|
-
CHART_DATA_FIELD_NUMBER:
|
|
105
|
-
CHART_TYPE_FIELD_NUMBER:
|
|
106
|
-
FORMAT_FIELD_NUMBER:
|
|
107
|
-
label:
|
|
108
|
-
body:
|
|
109
|
-
delta:
|
|
96
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
97
|
+
BODY_FIELD_NUMBER: _builtins.int
|
|
98
|
+
DELTA_FIELD_NUMBER: _builtins.int
|
|
99
|
+
DIRECTION_FIELD_NUMBER: _builtins.int
|
|
100
|
+
COLOR_FIELD_NUMBER: _builtins.int
|
|
101
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
102
|
+
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
103
|
+
SHOW_BORDER_FIELD_NUMBER: _builtins.int
|
|
104
|
+
CHART_DATA_FIELD_NUMBER: _builtins.int
|
|
105
|
+
CHART_TYPE_FIELD_NUMBER: _builtins.int
|
|
106
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
107
|
+
label: _builtins.str
|
|
108
|
+
body: _builtins.str
|
|
109
|
+
delta: _builtins.str
|
|
110
110
|
direction: Global___Metric.MetricDirection.ValueType
|
|
111
111
|
color: Global___Metric.MetricColor.ValueType
|
|
112
|
-
help:
|
|
113
|
-
show_border:
|
|
112
|
+
help: _builtins.str
|
|
113
|
+
show_border: _builtins.bool
|
|
114
114
|
chart_type: Global___Metric.ChartType.ValueType
|
|
115
|
-
format:
|
|
115
|
+
format: _builtins.str
|
|
116
116
|
"""Format string for the value and delta (applied only if they are numeric)."""
|
|
117
|
-
@property
|
|
118
|
-
def label_visibility(self) ->
|
|
119
|
-
@property
|
|
120
|
-
def chart_data(self) ->
|
|
117
|
+
@_builtins.property
|
|
118
|
+
def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
119
|
+
@_builtins.property
|
|
120
|
+
def chart_data(self) -> _containers.RepeatedScalarFieldContainer[_builtins.float]: ...
|
|
121
121
|
def __init__(
|
|
122
122
|
self,
|
|
123
123
|
*,
|
|
124
|
-
label:
|
|
125
|
-
body:
|
|
126
|
-
delta:
|
|
124
|
+
label: _builtins.str = ...,
|
|
125
|
+
body: _builtins.str = ...,
|
|
126
|
+
delta: _builtins.str = ...,
|
|
127
127
|
direction: Global___Metric.MetricDirection.ValueType = ...,
|
|
128
128
|
color: Global___Metric.MetricColor.ValueType = ...,
|
|
129
|
-
help:
|
|
130
|
-
label_visibility:
|
|
131
|
-
show_border:
|
|
132
|
-
chart_data:
|
|
129
|
+
help: _builtins.str = ...,
|
|
130
|
+
label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
131
|
+
show_border: _builtins.bool = ...,
|
|
132
|
+
chart_data: _abc.Iterable[_builtins.float] | None = ...,
|
|
133
133
|
chart_type: Global___Metric.ChartType.ValueType = ...,
|
|
134
|
-
format:
|
|
134
|
+
format: _builtins.str = ...,
|
|
135
135
|
) -> None: ...
|
|
136
|
-
_HasFieldArgType:
|
|
137
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
138
|
-
_ClearFieldArgType:
|
|
136
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
137
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
138
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "chart_data", b"chart_data", "chart_type", b"chart_type", "color", b"color", "delta", b"delta", "direction", b"direction", "format", b"format", "help", b"help", "label", b"label", "label_visibility", b"label_visibility", "show_border", b"show_border"] # noqa: Y015
|
|
139
139
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
140
140
|
|
|
141
|
-
Global___Metric:
|
|
141
|
+
Global___Metric: _TypeAlias = Metric # noqa: Y015
|
|
@@ -17,208 +17,208 @@ 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 PageProfile_pb2 as _PageProfile_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 MetricsEvent(
|
|
36
|
+
@_typing.final
|
|
37
|
+
class MetricsEvent(_message.Message):
|
|
38
38
|
"""Metrics events:"""
|
|
39
39
|
|
|
40
|
-
DESCRIPTOR:
|
|
40
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
41
41
|
|
|
42
|
-
EVENT_FIELD_NUMBER:
|
|
43
|
-
ANONYMOUS_ID_FIELD_NUMBER:
|
|
44
|
-
MACHINE_ID_V3_FIELD_NUMBER:
|
|
45
|
-
MACHINE_ID_V4_FIELD_NUMBER:
|
|
46
|
-
REPORT_HASH_FIELD_NUMBER:
|
|
47
|
-
DEV_FIELD_NUMBER:
|
|
48
|
-
SOURCE_FIELD_NUMBER:
|
|
49
|
-
STREAMLIT_VERSION_FIELD_NUMBER:
|
|
50
|
-
IS_HELLO_FIELD_NUMBER:
|
|
51
|
-
APP_ID_FIELD_NUMBER:
|
|
52
|
-
SESSION_ID_FIELD_NUMBER:
|
|
53
|
-
PYTHON_VERSION_FIELD_NUMBER:
|
|
54
|
-
SERVER_OS_FIELD_NUMBER:
|
|
55
|
-
HAS_DISPLAY_FIELD_NUMBER:
|
|
56
|
-
IS_WEBDRIVER_FIELD_NUMBER:
|
|
57
|
-
HOSTED_AT_FIELD_NUMBER:
|
|
58
|
-
OWNER_FIELD_NUMBER:
|
|
59
|
-
REPO_FIELD_NUMBER:
|
|
60
|
-
BRANCH_FIELD_NUMBER:
|
|
61
|
-
MAIN_MODULE_FIELD_NUMBER:
|
|
62
|
-
CREATOR_ID_FIELD_NUMBER:
|
|
63
|
-
CONTEXT_PAGE_URL_FIELD_NUMBER:
|
|
64
|
-
CONTEXT_PAGE_TITLE_FIELD_NUMBER:
|
|
65
|
-
CONTEXT_PAGE_PATH_FIELD_NUMBER:
|
|
66
|
-
CONTEXT_PAGE_REFERRER_FIELD_NUMBER:
|
|
67
|
-
CONTEXT_PAGE_SEARCH_FIELD_NUMBER:
|
|
68
|
-
CONTEXT_LOCALE_FIELD_NUMBER:
|
|
69
|
-
CONTEXT_USER_AGENT_FIELD_NUMBER:
|
|
70
|
-
LABEL_FIELD_NUMBER:
|
|
71
|
-
COMMANDS_FIELD_NUMBER:
|
|
72
|
-
EXEC_TIME_FIELD_NUMBER:
|
|
73
|
-
PREP_TIME_FIELD_NUMBER:
|
|
74
|
-
CONFIG_FIELD_NUMBER:
|
|
75
|
-
UNCAUGHT_EXCEPTION_FIELD_NUMBER:
|
|
76
|
-
ATTRIBUTIONS_FIELD_NUMBER:
|
|
77
|
-
OS_FIELD_NUMBER:
|
|
78
|
-
TIMEZONE_FIELD_NUMBER:
|
|
79
|
-
HEADLESS_FIELD_NUMBER:
|
|
80
|
-
IS_FRAGMENT_RUN_FIELD_NUMBER:
|
|
81
|
-
NUMPAGES_FIELD_NUMBER:
|
|
82
|
-
PAGE_SCRIPT_HASH_FIELD_NUMBER:
|
|
83
|
-
ACTIVE_THEME_FIELD_NUMBER:
|
|
84
|
-
TOTAL_LOAD_TIME_FIELD_NUMBER:
|
|
85
|
-
BROWSER_INFO_FIELD_NUMBER:
|
|
86
|
-
SERVER_MODE_FIELD_NUMBER:
|
|
87
|
-
event:
|
|
42
|
+
EVENT_FIELD_NUMBER: _builtins.int
|
|
43
|
+
ANONYMOUS_ID_FIELD_NUMBER: _builtins.int
|
|
44
|
+
MACHINE_ID_V3_FIELD_NUMBER: _builtins.int
|
|
45
|
+
MACHINE_ID_V4_FIELD_NUMBER: _builtins.int
|
|
46
|
+
REPORT_HASH_FIELD_NUMBER: _builtins.int
|
|
47
|
+
DEV_FIELD_NUMBER: _builtins.int
|
|
48
|
+
SOURCE_FIELD_NUMBER: _builtins.int
|
|
49
|
+
STREAMLIT_VERSION_FIELD_NUMBER: _builtins.int
|
|
50
|
+
IS_HELLO_FIELD_NUMBER: _builtins.int
|
|
51
|
+
APP_ID_FIELD_NUMBER: _builtins.int
|
|
52
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
53
|
+
PYTHON_VERSION_FIELD_NUMBER: _builtins.int
|
|
54
|
+
SERVER_OS_FIELD_NUMBER: _builtins.int
|
|
55
|
+
HAS_DISPLAY_FIELD_NUMBER: _builtins.int
|
|
56
|
+
IS_WEBDRIVER_FIELD_NUMBER: _builtins.int
|
|
57
|
+
HOSTED_AT_FIELD_NUMBER: _builtins.int
|
|
58
|
+
OWNER_FIELD_NUMBER: _builtins.int
|
|
59
|
+
REPO_FIELD_NUMBER: _builtins.int
|
|
60
|
+
BRANCH_FIELD_NUMBER: _builtins.int
|
|
61
|
+
MAIN_MODULE_FIELD_NUMBER: _builtins.int
|
|
62
|
+
CREATOR_ID_FIELD_NUMBER: _builtins.int
|
|
63
|
+
CONTEXT_PAGE_URL_FIELD_NUMBER: _builtins.int
|
|
64
|
+
CONTEXT_PAGE_TITLE_FIELD_NUMBER: _builtins.int
|
|
65
|
+
CONTEXT_PAGE_PATH_FIELD_NUMBER: _builtins.int
|
|
66
|
+
CONTEXT_PAGE_REFERRER_FIELD_NUMBER: _builtins.int
|
|
67
|
+
CONTEXT_PAGE_SEARCH_FIELD_NUMBER: _builtins.int
|
|
68
|
+
CONTEXT_LOCALE_FIELD_NUMBER: _builtins.int
|
|
69
|
+
CONTEXT_USER_AGENT_FIELD_NUMBER: _builtins.int
|
|
70
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
71
|
+
COMMANDS_FIELD_NUMBER: _builtins.int
|
|
72
|
+
EXEC_TIME_FIELD_NUMBER: _builtins.int
|
|
73
|
+
PREP_TIME_FIELD_NUMBER: _builtins.int
|
|
74
|
+
CONFIG_FIELD_NUMBER: _builtins.int
|
|
75
|
+
UNCAUGHT_EXCEPTION_FIELD_NUMBER: _builtins.int
|
|
76
|
+
ATTRIBUTIONS_FIELD_NUMBER: _builtins.int
|
|
77
|
+
OS_FIELD_NUMBER: _builtins.int
|
|
78
|
+
TIMEZONE_FIELD_NUMBER: _builtins.int
|
|
79
|
+
HEADLESS_FIELD_NUMBER: _builtins.int
|
|
80
|
+
IS_FRAGMENT_RUN_FIELD_NUMBER: _builtins.int
|
|
81
|
+
NUMPAGES_FIELD_NUMBER: _builtins.int
|
|
82
|
+
PAGE_SCRIPT_HASH_FIELD_NUMBER: _builtins.int
|
|
83
|
+
ACTIVE_THEME_FIELD_NUMBER: _builtins.int
|
|
84
|
+
TOTAL_LOAD_TIME_FIELD_NUMBER: _builtins.int
|
|
85
|
+
BROWSER_INFO_FIELD_NUMBER: _builtins.int
|
|
86
|
+
SERVER_MODE_FIELD_NUMBER: _builtins.int
|
|
87
|
+
event: _builtins.str
|
|
88
88
|
"""Common Event Fields:"""
|
|
89
|
-
anonymous_id:
|
|
90
|
-
machine_id_v3:
|
|
91
|
-
machine_id_v4:
|
|
92
|
-
report_hash:
|
|
93
|
-
dev:
|
|
94
|
-
source:
|
|
95
|
-
streamlit_version:
|
|
96
|
-
is_hello:
|
|
97
|
-
app_id:
|
|
98
|
-
session_id:
|
|
99
|
-
python_version:
|
|
100
|
-
server_os:
|
|
101
|
-
has_display:
|
|
102
|
-
is_webdriver:
|
|
103
|
-
hosted_at:
|
|
89
|
+
anonymous_id: _builtins.str
|
|
90
|
+
machine_id_v3: _builtins.str
|
|
91
|
+
machine_id_v4: _builtins.str
|
|
92
|
+
report_hash: _builtins.str
|
|
93
|
+
dev: _builtins.bool
|
|
94
|
+
source: _builtins.str
|
|
95
|
+
streamlit_version: _builtins.str
|
|
96
|
+
is_hello: _builtins.bool
|
|
97
|
+
app_id: _builtins.str
|
|
98
|
+
session_id: _builtins.str
|
|
99
|
+
python_version: _builtins.str
|
|
100
|
+
server_os: _builtins.str
|
|
101
|
+
has_display: _builtins.bool
|
|
102
|
+
is_webdriver: _builtins.bool
|
|
103
|
+
hosted_at: _builtins.str
|
|
104
104
|
"""Host tracking fields:"""
|
|
105
|
-
owner:
|
|
106
|
-
repo:
|
|
107
|
-
branch:
|
|
108
|
-
main_module:
|
|
109
|
-
creator_id:
|
|
110
|
-
context_page_url:
|
|
105
|
+
owner: _builtins.str
|
|
106
|
+
repo: _builtins.str
|
|
107
|
+
branch: _builtins.str
|
|
108
|
+
main_module: _builtins.str
|
|
109
|
+
creator_id: _builtins.str
|
|
110
|
+
context_page_url: _builtins.str
|
|
111
111
|
"""Context fields:"""
|
|
112
|
-
context_page_title:
|
|
113
|
-
context_page_path:
|
|
114
|
-
context_page_referrer:
|
|
115
|
-
context_page_search:
|
|
116
|
-
context_locale:
|
|
117
|
-
context_user_agent:
|
|
118
|
-
label:
|
|
112
|
+
context_page_title: _builtins.str
|
|
113
|
+
context_page_path: _builtins.str
|
|
114
|
+
context_page_referrer: _builtins.str
|
|
115
|
+
context_page_search: _builtins.str
|
|
116
|
+
context_locale: _builtins.str
|
|
117
|
+
context_user_agent: _builtins.str
|
|
118
|
+
label: _builtins.str
|
|
119
119
|
"""Menu Click Event field:"""
|
|
120
|
-
exec_time:
|
|
121
|
-
prep_time:
|
|
122
|
-
uncaught_exception:
|
|
123
|
-
os:
|
|
124
|
-
timezone:
|
|
125
|
-
headless:
|
|
126
|
-
is_fragment_run:
|
|
127
|
-
numPages:
|
|
120
|
+
exec_time: _builtins.int
|
|
121
|
+
prep_time: _builtins.int
|
|
122
|
+
uncaught_exception: _builtins.str
|
|
123
|
+
os: _builtins.str
|
|
124
|
+
timezone: _builtins.str
|
|
125
|
+
headless: _builtins.bool
|
|
126
|
+
is_fragment_run: _builtins.bool
|
|
127
|
+
numPages: _builtins.int
|
|
128
128
|
"""Addtl for page profile metrics"""
|
|
129
|
-
page_script_hash:
|
|
130
|
-
active_theme:
|
|
131
|
-
total_load_time:
|
|
132
|
-
server_mode:
|
|
133
|
-
@property
|
|
134
|
-
def commands(self) ->
|
|
129
|
+
page_script_hash: _builtins.str
|
|
130
|
+
active_theme: _builtins.str
|
|
131
|
+
total_load_time: _builtins.int
|
|
132
|
+
server_mode: _builtins.str
|
|
133
|
+
@_builtins.property
|
|
134
|
+
def commands(self) -> _containers.RepeatedCompositeFieldContainer[_PageProfile_pb2.Command]:
|
|
135
135
|
"""Page Profile Event fields:
|
|
136
136
|
Same as PageProfile msg
|
|
137
137
|
"""
|
|
138
138
|
|
|
139
|
-
@property
|
|
140
|
-
def config(self) ->
|
|
141
|
-
@property
|
|
142
|
-
def attributions(self) ->
|
|
143
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
140
|
+
def config(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
141
|
+
@_builtins.property
|
|
142
|
+
def attributions(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
143
|
+
@_builtins.property
|
|
144
144
|
def browser_info(self) -> Global___BrowserInfo: ...
|
|
145
145
|
def __init__(
|
|
146
146
|
self,
|
|
147
147
|
*,
|
|
148
|
-
event:
|
|
149
|
-
anonymous_id:
|
|
150
|
-
machine_id_v3:
|
|
151
|
-
machine_id_v4:
|
|
152
|
-
report_hash:
|
|
153
|
-
dev:
|
|
154
|
-
source:
|
|
155
|
-
streamlit_version:
|
|
156
|
-
is_hello:
|
|
157
|
-
app_id:
|
|
158
|
-
session_id:
|
|
159
|
-
python_version:
|
|
160
|
-
server_os:
|
|
161
|
-
has_display:
|
|
162
|
-
is_webdriver:
|
|
163
|
-
hosted_at:
|
|
164
|
-
owner:
|
|
165
|
-
repo:
|
|
166
|
-
branch:
|
|
167
|
-
main_module:
|
|
168
|
-
creator_id:
|
|
169
|
-
context_page_url:
|
|
170
|
-
context_page_title:
|
|
171
|
-
context_page_path:
|
|
172
|
-
context_page_referrer:
|
|
173
|
-
context_page_search:
|
|
174
|
-
context_locale:
|
|
175
|
-
context_user_agent:
|
|
176
|
-
label:
|
|
177
|
-
commands:
|
|
178
|
-
exec_time:
|
|
179
|
-
prep_time:
|
|
180
|
-
config:
|
|
181
|
-
uncaught_exception:
|
|
182
|
-
attributions:
|
|
183
|
-
os:
|
|
184
|
-
timezone:
|
|
185
|
-
headless:
|
|
186
|
-
is_fragment_run:
|
|
187
|
-
numPages:
|
|
188
|
-
page_script_hash:
|
|
189
|
-
active_theme:
|
|
190
|
-
total_load_time:
|
|
148
|
+
event: _builtins.str = ...,
|
|
149
|
+
anonymous_id: _builtins.str = ...,
|
|
150
|
+
machine_id_v3: _builtins.str = ...,
|
|
151
|
+
machine_id_v4: _builtins.str = ...,
|
|
152
|
+
report_hash: _builtins.str = ...,
|
|
153
|
+
dev: _builtins.bool = ...,
|
|
154
|
+
source: _builtins.str = ...,
|
|
155
|
+
streamlit_version: _builtins.str = ...,
|
|
156
|
+
is_hello: _builtins.bool = ...,
|
|
157
|
+
app_id: _builtins.str = ...,
|
|
158
|
+
session_id: _builtins.str = ...,
|
|
159
|
+
python_version: _builtins.str = ...,
|
|
160
|
+
server_os: _builtins.str = ...,
|
|
161
|
+
has_display: _builtins.bool = ...,
|
|
162
|
+
is_webdriver: _builtins.bool = ...,
|
|
163
|
+
hosted_at: _builtins.str = ...,
|
|
164
|
+
owner: _builtins.str = ...,
|
|
165
|
+
repo: _builtins.str = ...,
|
|
166
|
+
branch: _builtins.str = ...,
|
|
167
|
+
main_module: _builtins.str = ...,
|
|
168
|
+
creator_id: _builtins.str = ...,
|
|
169
|
+
context_page_url: _builtins.str = ...,
|
|
170
|
+
context_page_title: _builtins.str = ...,
|
|
171
|
+
context_page_path: _builtins.str = ...,
|
|
172
|
+
context_page_referrer: _builtins.str = ...,
|
|
173
|
+
context_page_search: _builtins.str = ...,
|
|
174
|
+
context_locale: _builtins.str = ...,
|
|
175
|
+
context_user_agent: _builtins.str = ...,
|
|
176
|
+
label: _builtins.str = ...,
|
|
177
|
+
commands: _abc.Iterable[_PageProfile_pb2.Command] | None = ...,
|
|
178
|
+
exec_time: _builtins.int = ...,
|
|
179
|
+
prep_time: _builtins.int = ...,
|
|
180
|
+
config: _abc.Iterable[_builtins.str] | None = ...,
|
|
181
|
+
uncaught_exception: _builtins.str = ...,
|
|
182
|
+
attributions: _abc.Iterable[_builtins.str] | None = ...,
|
|
183
|
+
os: _builtins.str = ...,
|
|
184
|
+
timezone: _builtins.str = ...,
|
|
185
|
+
headless: _builtins.bool = ...,
|
|
186
|
+
is_fragment_run: _builtins.bool = ...,
|
|
187
|
+
numPages: _builtins.int = ...,
|
|
188
|
+
page_script_hash: _builtins.str = ...,
|
|
189
|
+
active_theme: _builtins.str = ...,
|
|
190
|
+
total_load_time: _builtins.int = ...,
|
|
191
191
|
browser_info: Global___BrowserInfo | None = ...,
|
|
192
|
-
server_mode:
|
|
192
|
+
server_mode: _builtins.str = ...,
|
|
193
193
|
) -> None: ...
|
|
194
|
-
_HasFieldArgType:
|
|
195
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
196
|
-
_ClearFieldArgType:
|
|
194
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["browser_info", b"browser_info"] # noqa: Y015
|
|
195
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
196
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["active_theme", b"active_theme", "anonymous_id", b"anonymous_id", "app_id", b"app_id", "attributions", b"attributions", "branch", b"branch", "browser_info", b"browser_info", "commands", b"commands", "config", b"config", "context_locale", b"context_locale", "context_page_path", b"context_page_path", "context_page_referrer", b"context_page_referrer", "context_page_search", b"context_page_search", "context_page_title", b"context_page_title", "context_page_url", b"context_page_url", "context_user_agent", b"context_user_agent", "creator_id", b"creator_id", "dev", b"dev", "event", b"event", "exec_time", b"exec_time", "has_display", b"has_display", "headless", b"headless", "hosted_at", b"hosted_at", "is_fragment_run", b"is_fragment_run", "is_hello", b"is_hello", "is_webdriver", b"is_webdriver", "label", b"label", "machine_id_v3", b"machine_id_v3", "machine_id_v4", b"machine_id_v4", "main_module", b"main_module", "numPages", b"numPages", "os", b"os", "owner", b"owner", "page_script_hash", b"page_script_hash", "prep_time", b"prep_time", "python_version", b"python_version", "repo", b"repo", "report_hash", b"report_hash", "server_mode", b"server_mode", "server_os", b"server_os", "session_id", b"session_id", "source", b"source", "streamlit_version", b"streamlit_version", "timezone", b"timezone", "total_load_time", b"total_load_time", "uncaught_exception", b"uncaught_exception"] # noqa: Y015
|
|
197
197
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
198
198
|
|
|
199
|
-
Global___MetricsEvent:
|
|
199
|
+
Global___MetricsEvent: _TypeAlias = MetricsEvent # noqa: Y015
|
|
200
200
|
|
|
201
|
-
@
|
|
202
|
-
class BrowserInfo(
|
|
203
|
-
DESCRIPTOR:
|
|
201
|
+
@_typing.final
|
|
202
|
+
class BrowserInfo(_message.Message):
|
|
203
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
204
204
|
|
|
205
|
-
BROWSER_NAME_FIELD_NUMBER:
|
|
206
|
-
BROWSER_VERSION_FIELD_NUMBER:
|
|
207
|
-
DEVICE_TYPE_FIELD_NUMBER:
|
|
208
|
-
OS_FIELD_NUMBER:
|
|
209
|
-
browser_name:
|
|
210
|
-
browser_version:
|
|
211
|
-
device_type:
|
|
212
|
-
os:
|
|
205
|
+
BROWSER_NAME_FIELD_NUMBER: _builtins.int
|
|
206
|
+
BROWSER_VERSION_FIELD_NUMBER: _builtins.int
|
|
207
|
+
DEVICE_TYPE_FIELD_NUMBER: _builtins.int
|
|
208
|
+
OS_FIELD_NUMBER: _builtins.int
|
|
209
|
+
browser_name: _builtins.str
|
|
210
|
+
browser_version: _builtins.str
|
|
211
|
+
device_type: _builtins.str
|
|
212
|
+
os: _builtins.str
|
|
213
213
|
def __init__(
|
|
214
214
|
self,
|
|
215
215
|
*,
|
|
216
|
-
browser_name:
|
|
217
|
-
browser_version:
|
|
218
|
-
device_type:
|
|
219
|
-
os:
|
|
216
|
+
browser_name: _builtins.str = ...,
|
|
217
|
+
browser_version: _builtins.str = ...,
|
|
218
|
+
device_type: _builtins.str = ...,
|
|
219
|
+
os: _builtins.str = ...,
|
|
220
220
|
) -> None: ...
|
|
221
|
-
_ClearFieldArgType:
|
|
221
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["browser_name", b"browser_name", "browser_version", b"browser_version", "device_type", b"device_type", "os", b"os"] # noqa: Y015
|
|
222
222
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
223
223
|
|
|
224
|
-
Global___BrowserInfo:
|
|
224
|
+
Global___BrowserInfo: _TypeAlias = BrowserInfo # noqa: Y015
|