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/Block_pb2.pyi
CHANGED
|
@@ -17,71 +17,86 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
23
|
+
from streamlit.proto import GapSize_pb2 as _GapSize_pb2
|
|
24
|
+
from streamlit.proto import HeightConfig_pb2 as _HeightConfig_pb2
|
|
25
|
+
from streamlit.proto import WidthConfig_pb2 as _WidthConfig_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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
35
|
+
if sys.version_info >= (3, 13):
|
|
36
|
+
from warnings import deprecated as _deprecated
|
|
37
|
+
else:
|
|
38
|
+
from typing_extensions import deprecated as _deprecated
|
|
39
|
+
|
|
40
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
41
|
+
|
|
42
|
+
@_typing.final
|
|
43
|
+
class Block(_message.Message):
|
|
44
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
45
|
+
|
|
46
|
+
@_typing.final
|
|
47
|
+
class Vertical(_message.Message):
|
|
48
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
49
|
+
|
|
50
|
+
BORDER_FIELD_NUMBER: _builtins.int
|
|
51
|
+
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
52
|
+
border: _builtins.bool
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
55
|
+
def height(self) -> _builtins.int:
|
|
56
|
+
"""DEPRECATED: We use height_config on the top-level which is shared.
|
|
57
|
+
with other Block types.
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
@height.setter
|
|
61
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
62
|
+
def height(self, value: _builtins.int) -> None:
|
|
63
|
+
"""DEPRECATED: We use height_config on the top-level which is shared.
|
|
64
|
+
with other Block types.
|
|
65
|
+
"""
|
|
44
66
|
|
|
45
|
-
BORDER_FIELD_NUMBER: builtins.int
|
|
46
|
-
HEIGHT_FIELD_NUMBER: builtins.int
|
|
47
|
-
border: builtins.bool
|
|
48
|
-
height: builtins.int
|
|
49
|
-
"""DEPRECATED: We use height_config on the top-level which is shared.
|
|
50
|
-
with other Block types.
|
|
51
|
-
"""
|
|
52
67
|
def __init__(
|
|
53
68
|
self,
|
|
54
69
|
*,
|
|
55
|
-
border:
|
|
56
|
-
height:
|
|
70
|
+
border: _builtins.bool = ...,
|
|
71
|
+
height: _builtins.int = ...,
|
|
57
72
|
) -> None: ...
|
|
58
|
-
_ClearFieldArgType:
|
|
73
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["border", b"border", "height", b"height"] # noqa: Y015
|
|
59
74
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
60
75
|
|
|
61
|
-
@
|
|
62
|
-
class Horizontal(
|
|
63
|
-
DESCRIPTOR:
|
|
76
|
+
@_typing.final
|
|
77
|
+
class Horizontal(_message.Message):
|
|
78
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
64
79
|
|
|
65
|
-
GAP_FIELD_NUMBER:
|
|
66
|
-
gap:
|
|
80
|
+
GAP_FIELD_NUMBER: _builtins.int
|
|
81
|
+
gap: _builtins.str
|
|
67
82
|
def __init__(
|
|
68
83
|
self,
|
|
69
84
|
*,
|
|
70
|
-
gap:
|
|
85
|
+
gap: _builtins.str = ...,
|
|
71
86
|
) -> None: ...
|
|
72
|
-
_ClearFieldArgType:
|
|
87
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["gap", b"gap"] # noqa: Y015
|
|
73
88
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
74
89
|
|
|
75
|
-
@
|
|
76
|
-
class FlexContainer(
|
|
77
|
-
DESCRIPTOR:
|
|
90
|
+
@_typing.final
|
|
91
|
+
class FlexContainer(_message.Message):
|
|
92
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
78
93
|
|
|
79
94
|
class _Direction:
|
|
80
|
-
ValueType =
|
|
81
|
-
V:
|
|
95
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
96
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
82
97
|
|
|
83
|
-
class _DirectionEnumTypeWrapper(
|
|
84
|
-
DESCRIPTOR:
|
|
98
|
+
class _DirectionEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.FlexContainer._Direction.ValueType], _builtins.type):
|
|
99
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
85
100
|
DIRECTION_UNDEFINED: Block.FlexContainer._Direction.ValueType # 0
|
|
86
101
|
VERTICAL: Block.FlexContainer._Direction.ValueType # 1
|
|
87
102
|
HORIZONTAL: Block.FlexContainer._Direction.ValueType # 2
|
|
@@ -92,11 +107,11 @@ class Block(google.protobuf.message.Message):
|
|
|
92
107
|
HORIZONTAL: Block.FlexContainer.Direction.ValueType # 2
|
|
93
108
|
|
|
94
109
|
class _Justify:
|
|
95
|
-
ValueType =
|
|
96
|
-
V:
|
|
110
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
111
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
97
112
|
|
|
98
|
-
class _JustifyEnumTypeWrapper(
|
|
99
|
-
DESCRIPTOR:
|
|
113
|
+
class _JustifyEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.FlexContainer._Justify.ValueType], _builtins.type):
|
|
114
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
100
115
|
JUSTIFY_UNDEFINED: Block.FlexContainer._Justify.ValueType # 0
|
|
101
116
|
JUSTIFY_START: Block.FlexContainer._Justify.ValueType # 1
|
|
102
117
|
JUSTIFY_END: Block.FlexContainer._Justify.ValueType # 2
|
|
@@ -111,11 +126,11 @@ class Block(google.protobuf.message.Message):
|
|
|
111
126
|
SPACE_BETWEEN: Block.FlexContainer.Justify.ValueType # 4
|
|
112
127
|
|
|
113
128
|
class _Align:
|
|
114
|
-
ValueType =
|
|
115
|
-
V:
|
|
129
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
130
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
116
131
|
|
|
117
|
-
class _AlignEnumTypeWrapper(
|
|
118
|
-
DESCRIPTOR:
|
|
132
|
+
class _AlignEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.FlexContainer._Align.ValueType], _builtins.type):
|
|
133
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
119
134
|
ALIGN_UNDEFINED: Block.FlexContainer._Align.ValueType # 0
|
|
120
135
|
ALIGN_START: Block.FlexContainer._Align.ValueType # 1
|
|
121
136
|
ALIGN_END: Block.FlexContainer._Align.ValueType # 2
|
|
@@ -129,47 +144,47 @@ class Block(google.protobuf.message.Message):
|
|
|
129
144
|
ALIGN_CENTER: Block.FlexContainer.Align.ValueType # 3
|
|
130
145
|
STRETCH: Block.FlexContainer.Align.ValueType # 4
|
|
131
146
|
|
|
132
|
-
BORDER_FIELD_NUMBER:
|
|
133
|
-
GAP_CONFIG_FIELD_NUMBER:
|
|
134
|
-
SCALE_FIELD_NUMBER:
|
|
135
|
-
DIRECTION_FIELD_NUMBER:
|
|
136
|
-
WRAP_FIELD_NUMBER:
|
|
137
|
-
JUSTIFY_FIELD_NUMBER:
|
|
138
|
-
ALIGN_FIELD_NUMBER:
|
|
139
|
-
border:
|
|
140
|
-
scale:
|
|
147
|
+
BORDER_FIELD_NUMBER: _builtins.int
|
|
148
|
+
GAP_CONFIG_FIELD_NUMBER: _builtins.int
|
|
149
|
+
SCALE_FIELD_NUMBER: _builtins.int
|
|
150
|
+
DIRECTION_FIELD_NUMBER: _builtins.int
|
|
151
|
+
WRAP_FIELD_NUMBER: _builtins.int
|
|
152
|
+
JUSTIFY_FIELD_NUMBER: _builtins.int
|
|
153
|
+
ALIGN_FIELD_NUMBER: _builtins.int
|
|
154
|
+
border: _builtins.bool
|
|
155
|
+
scale: _builtins.float
|
|
141
156
|
direction: Global___Block.FlexContainer.Direction.ValueType
|
|
142
|
-
wrap:
|
|
157
|
+
wrap: _builtins.bool
|
|
143
158
|
justify: Global___Block.FlexContainer.Justify.ValueType
|
|
144
159
|
align: Global___Block.FlexContainer.Align.ValueType
|
|
145
|
-
@property
|
|
146
|
-
def gap_config(self) ->
|
|
160
|
+
@_builtins.property
|
|
161
|
+
def gap_config(self) -> _GapSize_pb2.GapConfig: ...
|
|
147
162
|
def __init__(
|
|
148
163
|
self,
|
|
149
164
|
*,
|
|
150
|
-
border:
|
|
151
|
-
gap_config:
|
|
152
|
-
scale:
|
|
165
|
+
border: _builtins.bool = ...,
|
|
166
|
+
gap_config: _GapSize_pb2.GapConfig | None = ...,
|
|
167
|
+
scale: _builtins.float = ...,
|
|
153
168
|
direction: Global___Block.FlexContainer.Direction.ValueType = ...,
|
|
154
|
-
wrap:
|
|
169
|
+
wrap: _builtins.bool = ...,
|
|
155
170
|
justify: Global___Block.FlexContainer.Justify.ValueType = ...,
|
|
156
171
|
align: Global___Block.FlexContainer.Align.ValueType = ...,
|
|
157
172
|
) -> None: ...
|
|
158
|
-
_HasFieldArgType:
|
|
159
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
160
|
-
_ClearFieldArgType:
|
|
173
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["gap_config", b"gap_config"] # noqa: Y015
|
|
174
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
175
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["align", b"align", "border", b"border", "direction", b"direction", "gap_config", b"gap_config", "justify", b"justify", "scale", b"scale", "wrap", b"wrap"] # noqa: Y015
|
|
161
176
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
162
177
|
|
|
163
|
-
@
|
|
164
|
-
class Column(
|
|
165
|
-
DESCRIPTOR:
|
|
178
|
+
@_typing.final
|
|
179
|
+
class Column(_message.Message):
|
|
180
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
166
181
|
|
|
167
182
|
class _VerticalAlignment:
|
|
168
|
-
ValueType =
|
|
169
|
-
V:
|
|
183
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
184
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
170
185
|
|
|
171
|
-
class _VerticalAlignmentEnumTypeWrapper(
|
|
172
|
-
DESCRIPTOR:
|
|
186
|
+
class _VerticalAlignmentEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.Column._VerticalAlignment.ValueType], _builtins.type):
|
|
187
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
173
188
|
TOP: Block.Column._VerticalAlignment.ValueType # 0
|
|
174
189
|
CENTER: Block.Column._VerticalAlignment.ValueType # 1
|
|
175
190
|
BOTTOM: Block.Column._VerticalAlignment.ValueType # 2
|
|
@@ -179,70 +194,78 @@ class Block(google.protobuf.message.Message):
|
|
|
179
194
|
CENTER: Block.Column.VerticalAlignment.ValueType # 1
|
|
180
195
|
BOTTOM: Block.Column.VerticalAlignment.ValueType # 2
|
|
181
196
|
|
|
182
|
-
WEIGHT_FIELD_NUMBER:
|
|
183
|
-
GAP_FIELD_NUMBER:
|
|
184
|
-
VERTICAL_ALIGNMENT_FIELD_NUMBER:
|
|
185
|
-
SHOW_BORDER_FIELD_NUMBER:
|
|
186
|
-
GAP_CONFIG_FIELD_NUMBER:
|
|
187
|
-
weight:
|
|
188
|
-
|
|
189
|
-
"""
|
|
197
|
+
WEIGHT_FIELD_NUMBER: _builtins.int
|
|
198
|
+
GAP_FIELD_NUMBER: _builtins.int
|
|
199
|
+
VERTICAL_ALIGNMENT_FIELD_NUMBER: _builtins.int
|
|
200
|
+
SHOW_BORDER_FIELD_NUMBER: _builtins.int
|
|
201
|
+
GAP_CONFIG_FIELD_NUMBER: _builtins.int
|
|
202
|
+
weight: _builtins.float
|
|
203
|
+
@_builtins.property
|
|
204
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
205
|
+
def gap(self) -> _builtins.str:
|
|
206
|
+
"""Deprecated. Use gap_size"""
|
|
207
|
+
|
|
208
|
+
@gap.setter
|
|
209
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
210
|
+
def gap(self, value: _builtins.str) -> None:
|
|
211
|
+
"""Deprecated. Use gap_size"""
|
|
212
|
+
|
|
190
213
|
vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType
|
|
191
|
-
show_border:
|
|
192
|
-
@property
|
|
193
|
-
def gap_config(self) ->
|
|
214
|
+
show_border: _builtins.bool
|
|
215
|
+
@_builtins.property
|
|
216
|
+
def gap_config(self) -> _GapSize_pb2.GapConfig: ...
|
|
194
217
|
def __init__(
|
|
195
218
|
self,
|
|
196
219
|
*,
|
|
197
|
-
weight:
|
|
198
|
-
gap:
|
|
220
|
+
weight: _builtins.float = ...,
|
|
221
|
+
gap: _builtins.str = ...,
|
|
199
222
|
vertical_alignment: Global___Block.Column.VerticalAlignment.ValueType = ...,
|
|
200
|
-
show_border:
|
|
201
|
-
gap_config:
|
|
223
|
+
show_border: _builtins.bool = ...,
|
|
224
|
+
gap_config: _GapSize_pb2.GapConfig | None = ...,
|
|
202
225
|
) -> None: ...
|
|
203
|
-
_HasFieldArgType:
|
|
204
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
205
|
-
_ClearFieldArgType:
|
|
226
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config", "gap_config", b"gap_config"] # noqa: Y015
|
|
227
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
228
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config", "gap", b"gap", "gap_config", b"gap_config", "show_border", b"show_border", "vertical_alignment", b"vertical_alignment", "weight", b"weight"] # noqa: Y015
|
|
206
229
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
207
|
-
_WhichOneofReturnType__gap_config:
|
|
208
|
-
_WhichOneofArgType__gap_config:
|
|
230
|
+
_WhichOneofReturnType__gap_config: _TypeAlias = _typing.Literal["gap_config"] # noqa: Y015
|
|
231
|
+
_WhichOneofArgType__gap_config: _TypeAlias = _typing.Literal["_gap_config", b"_gap_config"] # noqa: Y015
|
|
209
232
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__gap_config) -> _WhichOneofReturnType__gap_config | None: ...
|
|
210
233
|
|
|
211
|
-
@
|
|
212
|
-
class Expandable(
|
|
213
|
-
DESCRIPTOR:
|
|
234
|
+
@_typing.final
|
|
235
|
+
class Expandable(_message.Message):
|
|
236
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
214
237
|
|
|
215
|
-
LABEL_FIELD_NUMBER:
|
|
216
|
-
EXPANDED_FIELD_NUMBER:
|
|
217
|
-
ICON_FIELD_NUMBER:
|
|
218
|
-
label:
|
|
219
|
-
expanded:
|
|
220
|
-
icon:
|
|
238
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
239
|
+
EXPANDED_FIELD_NUMBER: _builtins.int
|
|
240
|
+
ICON_FIELD_NUMBER: _builtins.int
|
|
241
|
+
label: _builtins.str
|
|
242
|
+
expanded: _builtins.bool
|
|
243
|
+
icon: _builtins.str
|
|
221
244
|
def __init__(
|
|
222
245
|
self,
|
|
223
246
|
*,
|
|
224
|
-
label:
|
|
225
|
-
expanded:
|
|
226
|
-
icon:
|
|
247
|
+
label: _builtins.str = ...,
|
|
248
|
+
expanded: _builtins.bool | None = ...,
|
|
249
|
+
icon: _builtins.str = ...,
|
|
227
250
|
) -> None: ...
|
|
228
|
-
_HasFieldArgType:
|
|
229
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
230
|
-
_ClearFieldArgType:
|
|
251
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_expanded", b"_expanded", "expanded", b"expanded"] # noqa: Y015
|
|
252
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
253
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_expanded", b"_expanded", "expanded", b"expanded", "icon", b"icon", "label", b"label"] # noqa: Y015
|
|
231
254
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
232
|
-
_WhichOneofReturnType__expanded:
|
|
233
|
-
_WhichOneofArgType__expanded:
|
|
255
|
+
_WhichOneofReturnType__expanded: _TypeAlias = _typing.Literal["expanded"] # noqa: Y015
|
|
256
|
+
_WhichOneofArgType__expanded: _TypeAlias = _typing.Literal["_expanded", b"_expanded"] # noqa: Y015
|
|
234
257
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__expanded) -> _WhichOneofReturnType__expanded | None: ...
|
|
235
258
|
|
|
236
|
-
@
|
|
237
|
-
class Dialog(
|
|
238
|
-
DESCRIPTOR:
|
|
259
|
+
@_typing.final
|
|
260
|
+
class Dialog(_message.Message):
|
|
261
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
239
262
|
|
|
240
263
|
class _DialogWidth:
|
|
241
|
-
ValueType =
|
|
242
|
-
V:
|
|
264
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
265
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
243
266
|
|
|
244
|
-
class _DialogWidthEnumTypeWrapper(
|
|
245
|
-
DESCRIPTOR:
|
|
267
|
+
class _DialogWidthEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.Dialog._DialogWidth.ValueType], _builtins.type):
|
|
268
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
246
269
|
SMALL: Block.Dialog._DialogWidth.ValueType # 0
|
|
247
270
|
LARGE: Block.Dialog._DialogWidth.ValueType # 1
|
|
248
271
|
MEDIUM: Block.Dialog._DialogWidth.ValueType # 2
|
|
@@ -252,129 +275,137 @@ class Block(google.protobuf.message.Message):
|
|
|
252
275
|
LARGE: Block.Dialog.DialogWidth.ValueType # 1
|
|
253
276
|
MEDIUM: Block.Dialog.DialogWidth.ValueType # 2
|
|
254
277
|
|
|
255
|
-
TITLE_FIELD_NUMBER:
|
|
256
|
-
DISMISSIBLE_FIELD_NUMBER:
|
|
257
|
-
WIDTH_FIELD_NUMBER:
|
|
258
|
-
IS_OPEN_FIELD_NUMBER:
|
|
259
|
-
ID_FIELD_NUMBER:
|
|
260
|
-
ICON_FIELD_NUMBER:
|
|
261
|
-
title:
|
|
262
|
-
dismissible:
|
|
278
|
+
TITLE_FIELD_NUMBER: _builtins.int
|
|
279
|
+
DISMISSIBLE_FIELD_NUMBER: _builtins.int
|
|
280
|
+
WIDTH_FIELD_NUMBER: _builtins.int
|
|
281
|
+
IS_OPEN_FIELD_NUMBER: _builtins.int
|
|
282
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
283
|
+
ICON_FIELD_NUMBER: _builtins.int
|
|
284
|
+
title: _builtins.str
|
|
285
|
+
dismissible: _builtins.bool
|
|
263
286
|
width: Global___Block.Dialog.DialogWidth.ValueType
|
|
264
|
-
is_open:
|
|
265
|
-
id:
|
|
287
|
+
is_open: _builtins.bool
|
|
288
|
+
id: _builtins.str
|
|
266
289
|
"""If id is set, dismissal of the dialog will trigger a rerun."""
|
|
267
|
-
icon:
|
|
290
|
+
icon: _builtins.str
|
|
268
291
|
"""Optional icon shown next to the dialog title."""
|
|
269
292
|
def __init__(
|
|
270
293
|
self,
|
|
271
294
|
*,
|
|
272
|
-
title:
|
|
273
|
-
dismissible:
|
|
295
|
+
title: _builtins.str = ...,
|
|
296
|
+
dismissible: _builtins.bool = ...,
|
|
274
297
|
width: Global___Block.Dialog.DialogWidth.ValueType = ...,
|
|
275
|
-
is_open:
|
|
276
|
-
id:
|
|
277
|
-
icon:
|
|
298
|
+
is_open: _builtins.bool | None = ...,
|
|
299
|
+
id: _builtins.str = ...,
|
|
300
|
+
icon: _builtins.str = ...,
|
|
278
301
|
) -> None: ...
|
|
279
|
-
_HasFieldArgType:
|
|
280
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
281
|
-
_ClearFieldArgType:
|
|
302
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_is_open", b"_is_open", "is_open", b"is_open"] # noqa: Y015
|
|
303
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
304
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_is_open", b"_is_open", "dismissible", b"dismissible", "icon", b"icon", "id", b"id", "is_open", b"is_open", "title", b"title", "width", b"width"] # noqa: Y015
|
|
282
305
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
283
|
-
_WhichOneofReturnType__is_open:
|
|
284
|
-
_WhichOneofArgType__is_open:
|
|
306
|
+
_WhichOneofReturnType__is_open: _TypeAlias = _typing.Literal["is_open"] # noqa: Y015
|
|
307
|
+
_WhichOneofArgType__is_open: _TypeAlias = _typing.Literal["_is_open", b"_is_open"] # noqa: Y015
|
|
285
308
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__is_open) -> _WhichOneofReturnType__is_open | None: ...
|
|
286
309
|
|
|
287
|
-
@
|
|
288
|
-
class Form(
|
|
289
|
-
DESCRIPTOR:
|
|
290
|
-
|
|
291
|
-
FORM_ID_FIELD_NUMBER:
|
|
292
|
-
CLEAR_ON_SUBMIT_FIELD_NUMBER:
|
|
293
|
-
BORDER_FIELD_NUMBER:
|
|
294
|
-
ENTER_TO_SUBMIT_FIELD_NUMBER:
|
|
295
|
-
form_id:
|
|
296
|
-
clear_on_submit:
|
|
297
|
-
border:
|
|
298
|
-
enter_to_submit:
|
|
310
|
+
@_typing.final
|
|
311
|
+
class Form(_message.Message):
|
|
312
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
313
|
+
|
|
314
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
315
|
+
CLEAR_ON_SUBMIT_FIELD_NUMBER: _builtins.int
|
|
316
|
+
BORDER_FIELD_NUMBER: _builtins.int
|
|
317
|
+
ENTER_TO_SUBMIT_FIELD_NUMBER: _builtins.int
|
|
318
|
+
form_id: _builtins.str
|
|
319
|
+
clear_on_submit: _builtins.bool
|
|
320
|
+
border: _builtins.bool
|
|
321
|
+
enter_to_submit: _builtins.bool
|
|
299
322
|
def __init__(
|
|
300
323
|
self,
|
|
301
324
|
*,
|
|
302
|
-
form_id:
|
|
303
|
-
clear_on_submit:
|
|
304
|
-
border:
|
|
305
|
-
enter_to_submit:
|
|
325
|
+
form_id: _builtins.str = ...,
|
|
326
|
+
clear_on_submit: _builtins.bool = ...,
|
|
327
|
+
border: _builtins.bool = ...,
|
|
328
|
+
enter_to_submit: _builtins.bool = ...,
|
|
306
329
|
) -> None: ...
|
|
307
|
-
_ClearFieldArgType:
|
|
330
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["border", b"border", "clear_on_submit", b"clear_on_submit", "enter_to_submit", b"enter_to_submit", "form_id", b"form_id"] # noqa: Y015
|
|
308
331
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
309
332
|
|
|
310
|
-
@
|
|
311
|
-
class TabContainer(
|
|
312
|
-
DESCRIPTOR:
|
|
333
|
+
@_typing.final
|
|
334
|
+
class TabContainer(_message.Message):
|
|
335
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
313
336
|
|
|
314
|
-
DEFAULT_TAB_INDEX_FIELD_NUMBER:
|
|
315
|
-
default_tab_index:
|
|
337
|
+
DEFAULT_TAB_INDEX_FIELD_NUMBER: _builtins.int
|
|
338
|
+
default_tab_index: _builtins.int
|
|
316
339
|
def __init__(
|
|
317
340
|
self,
|
|
318
341
|
*,
|
|
319
|
-
default_tab_index:
|
|
342
|
+
default_tab_index: _builtins.int = ...,
|
|
320
343
|
) -> None: ...
|
|
321
|
-
_ClearFieldArgType:
|
|
344
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["default_tab_index", b"default_tab_index"] # noqa: Y015
|
|
322
345
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
323
346
|
|
|
324
|
-
@
|
|
325
|
-
class Tab(
|
|
326
|
-
DESCRIPTOR:
|
|
347
|
+
@_typing.final
|
|
348
|
+
class Tab(_message.Message):
|
|
349
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
327
350
|
|
|
328
|
-
LABEL_FIELD_NUMBER:
|
|
329
|
-
label:
|
|
351
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
352
|
+
label: _builtins.str
|
|
330
353
|
def __init__(
|
|
331
354
|
self,
|
|
332
355
|
*,
|
|
333
|
-
label:
|
|
356
|
+
label: _builtins.str = ...,
|
|
334
357
|
) -> None: ...
|
|
335
|
-
_ClearFieldArgType:
|
|
358
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["label", b"label"] # noqa: Y015
|
|
336
359
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
337
360
|
|
|
338
|
-
@
|
|
339
|
-
class Popover(
|
|
340
|
-
DESCRIPTOR:
|
|
341
|
-
|
|
342
|
-
LABEL_FIELD_NUMBER:
|
|
343
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
344
|
-
HELP_FIELD_NUMBER:
|
|
345
|
-
DISABLED_FIELD_NUMBER:
|
|
346
|
-
ICON_FIELD_NUMBER:
|
|
347
|
-
TYPE_FIELD_NUMBER:
|
|
348
|
-
label:
|
|
349
|
-
|
|
350
|
-
"""
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
361
|
+
@_typing.final
|
|
362
|
+
class Popover(_message.Message):
|
|
363
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
364
|
+
|
|
365
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
366
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
367
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
368
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
369
|
+
ICON_FIELD_NUMBER: _builtins.int
|
|
370
|
+
TYPE_FIELD_NUMBER: _builtins.int
|
|
371
|
+
label: _builtins.str
|
|
372
|
+
@_builtins.property
|
|
373
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
374
|
+
def use_container_width(self) -> _builtins.bool:
|
|
375
|
+
"""DEPRECATED: We use widthConfig on the top-level which is shared."""
|
|
376
|
+
|
|
377
|
+
@use_container_width.setter
|
|
378
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
379
|
+
def use_container_width(self, value: _builtins.bool) -> None:
|
|
380
|
+
"""DEPRECATED: We use widthConfig on the top-level which is shared."""
|
|
381
|
+
|
|
382
|
+
help: _builtins.str
|
|
383
|
+
disabled: _builtins.bool
|
|
384
|
+
icon: _builtins.str
|
|
385
|
+
type: _builtins.str
|
|
355
386
|
def __init__(
|
|
356
387
|
self,
|
|
357
388
|
*,
|
|
358
|
-
label:
|
|
359
|
-
use_container_width:
|
|
360
|
-
help:
|
|
361
|
-
disabled:
|
|
362
|
-
icon:
|
|
363
|
-
type:
|
|
389
|
+
label: _builtins.str = ...,
|
|
390
|
+
use_container_width: _builtins.bool = ...,
|
|
391
|
+
help: _builtins.str = ...,
|
|
392
|
+
disabled: _builtins.bool = ...,
|
|
393
|
+
icon: _builtins.str = ...,
|
|
394
|
+
type: _builtins.str = ...,
|
|
364
395
|
) -> None: ...
|
|
365
|
-
_ClearFieldArgType:
|
|
396
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "type", b"type", "use_container_width", b"use_container_width"] # noqa: Y015
|
|
366
397
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
367
398
|
|
|
368
|
-
@
|
|
369
|
-
class ChatMessage(
|
|
370
|
-
DESCRIPTOR:
|
|
399
|
+
@_typing.final
|
|
400
|
+
class ChatMessage(_message.Message):
|
|
401
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
371
402
|
|
|
372
403
|
class _AvatarType:
|
|
373
|
-
ValueType =
|
|
374
|
-
V:
|
|
404
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
405
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
375
406
|
|
|
376
|
-
class _AvatarTypeEnumTypeWrapper(
|
|
377
|
-
DESCRIPTOR:
|
|
407
|
+
class _AvatarTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Block.ChatMessage._AvatarType.ValueType], _builtins.type):
|
|
408
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
378
409
|
IMAGE: Block.ChatMessage._AvatarType.ValueType # 0
|
|
379
410
|
EMOJI: Block.ChatMessage._AvatarType.ValueType # 1
|
|
380
411
|
ICON: Block.ChatMessage._AvatarType.ValueType # 2
|
|
@@ -384,65 +415,65 @@ class Block(google.protobuf.message.Message):
|
|
|
384
415
|
EMOJI: Block.ChatMessage.AvatarType.ValueType # 1
|
|
385
416
|
ICON: Block.ChatMessage.AvatarType.ValueType # 2
|
|
386
417
|
|
|
387
|
-
NAME_FIELD_NUMBER:
|
|
388
|
-
AVATAR_FIELD_NUMBER:
|
|
389
|
-
AVATAR_TYPE_FIELD_NUMBER:
|
|
390
|
-
name:
|
|
391
|
-
avatar:
|
|
418
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
419
|
+
AVATAR_FIELD_NUMBER: _builtins.int
|
|
420
|
+
AVATAR_TYPE_FIELD_NUMBER: _builtins.int
|
|
421
|
+
name: _builtins.str
|
|
422
|
+
avatar: _builtins.str
|
|
392
423
|
avatar_type: Global___Block.ChatMessage.AvatarType.ValueType
|
|
393
424
|
def __init__(
|
|
394
425
|
self,
|
|
395
426
|
*,
|
|
396
|
-
name:
|
|
397
|
-
avatar:
|
|
427
|
+
name: _builtins.str = ...,
|
|
428
|
+
avatar: _builtins.str = ...,
|
|
398
429
|
avatar_type: Global___Block.ChatMessage.AvatarType.ValueType = ...,
|
|
399
430
|
) -> None: ...
|
|
400
|
-
_ClearFieldArgType:
|
|
431
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["avatar", b"avatar", "avatar_type", b"avatar_type", "name", b"name"] # noqa: Y015
|
|
401
432
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
402
433
|
|
|
403
|
-
VERTICAL_FIELD_NUMBER:
|
|
404
|
-
HORIZONTAL_FIELD_NUMBER:
|
|
405
|
-
COLUMN_FIELD_NUMBER:
|
|
406
|
-
EXPANDABLE_FIELD_NUMBER:
|
|
407
|
-
FORM_FIELD_NUMBER:
|
|
408
|
-
TAB_CONTAINER_FIELD_NUMBER:
|
|
409
|
-
TAB_FIELD_NUMBER:
|
|
410
|
-
CHAT_MESSAGE_FIELD_NUMBER:
|
|
411
|
-
POPOVER_FIELD_NUMBER:
|
|
412
|
-
DIALOG_FIELD_NUMBER:
|
|
413
|
-
FLEX_CONTAINER_FIELD_NUMBER:
|
|
414
|
-
ALLOW_EMPTY_FIELD_NUMBER:
|
|
415
|
-
ID_FIELD_NUMBER:
|
|
416
|
-
HEIGHT_CONFIG_FIELD_NUMBER:
|
|
417
|
-
WIDTH_CONFIG_FIELD_NUMBER:
|
|
418
|
-
allow_empty:
|
|
419
|
-
id:
|
|
420
|
-
@property
|
|
434
|
+
VERTICAL_FIELD_NUMBER: _builtins.int
|
|
435
|
+
HORIZONTAL_FIELD_NUMBER: _builtins.int
|
|
436
|
+
COLUMN_FIELD_NUMBER: _builtins.int
|
|
437
|
+
EXPANDABLE_FIELD_NUMBER: _builtins.int
|
|
438
|
+
FORM_FIELD_NUMBER: _builtins.int
|
|
439
|
+
TAB_CONTAINER_FIELD_NUMBER: _builtins.int
|
|
440
|
+
TAB_FIELD_NUMBER: _builtins.int
|
|
441
|
+
CHAT_MESSAGE_FIELD_NUMBER: _builtins.int
|
|
442
|
+
POPOVER_FIELD_NUMBER: _builtins.int
|
|
443
|
+
DIALOG_FIELD_NUMBER: _builtins.int
|
|
444
|
+
FLEX_CONTAINER_FIELD_NUMBER: _builtins.int
|
|
445
|
+
ALLOW_EMPTY_FIELD_NUMBER: _builtins.int
|
|
446
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
447
|
+
HEIGHT_CONFIG_FIELD_NUMBER: _builtins.int
|
|
448
|
+
WIDTH_CONFIG_FIELD_NUMBER: _builtins.int
|
|
449
|
+
allow_empty: _builtins.bool
|
|
450
|
+
id: _builtins.str
|
|
451
|
+
@_builtins.property
|
|
421
452
|
def vertical(self) -> Global___Block.Vertical: ...
|
|
422
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
423
454
|
def horizontal(self) -> Global___Block.Horizontal: ...
|
|
424
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
425
456
|
def column(self) -> Global___Block.Column: ...
|
|
426
|
-
@property
|
|
457
|
+
@_builtins.property
|
|
427
458
|
def expandable(self) -> Global___Block.Expandable: ...
|
|
428
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
429
460
|
def form(self) -> Global___Block.Form: ...
|
|
430
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
431
462
|
def tab_container(self) -> Global___Block.TabContainer: ...
|
|
432
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
433
464
|
def tab(self) -> Global___Block.Tab: ...
|
|
434
|
-
@property
|
|
465
|
+
@_builtins.property
|
|
435
466
|
def chat_message(self) -> Global___Block.ChatMessage: ...
|
|
436
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
437
468
|
def popover(self) -> Global___Block.Popover: ...
|
|
438
|
-
@property
|
|
469
|
+
@_builtins.property
|
|
439
470
|
def dialog(self) -> Global___Block.Dialog: ...
|
|
440
|
-
@property
|
|
471
|
+
@_builtins.property
|
|
441
472
|
def flex_container(self) -> Global___Block.FlexContainer: ...
|
|
442
|
-
@property
|
|
443
|
-
def height_config(self) ->
|
|
444
|
-
@property
|
|
445
|
-
def width_config(self) ->
|
|
473
|
+
@_builtins.property
|
|
474
|
+
def height_config(self) -> _HeightConfig_pb2.HeightConfig: ...
|
|
475
|
+
@_builtins.property
|
|
476
|
+
def width_config(self) -> _WidthConfig_pb2.WidthConfig: ...
|
|
446
477
|
def __init__(
|
|
447
478
|
self,
|
|
448
479
|
*,
|
|
@@ -457,30 +488,30 @@ class Block(google.protobuf.message.Message):
|
|
|
457
488
|
popover: Global___Block.Popover | None = ...,
|
|
458
489
|
dialog: Global___Block.Dialog | None = ...,
|
|
459
490
|
flex_container: Global___Block.FlexContainer | None = ...,
|
|
460
|
-
allow_empty:
|
|
461
|
-
id:
|
|
462
|
-
height_config:
|
|
463
|
-
width_config:
|
|
491
|
+
allow_empty: _builtins.bool = ...,
|
|
492
|
+
id: _builtins.str | None = ...,
|
|
493
|
+
height_config: _HeightConfig_pb2.HeightConfig | None = ...,
|
|
494
|
+
width_config: _WidthConfig_pb2.WidthConfig | None = ...,
|
|
464
495
|
) -> None: ...
|
|
465
|
-
_HasFieldArgType:
|
|
466
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
467
|
-
_ClearFieldArgType:
|
|
496
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_id", b"_id", "_width_config", b"_width_config", "chat_message", b"chat_message", "column", b"column", "dialog", b"dialog", "expandable", b"expandable", "flex_container", b"flex_container", "form", b"form", "height_config", b"height_config", "horizontal", b"horizontal", "id", b"id", "popover", b"popover", "tab", b"tab", "tab_container", b"tab_container", "type", b"type", "vertical", b"vertical", "width_config", b"width_config"] # noqa: Y015
|
|
497
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
498
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_height_config", b"_height_config", "_id", b"_id", "_width_config", b"_width_config", "allow_empty", b"allow_empty", "chat_message", b"chat_message", "column", b"column", "dialog", b"dialog", "expandable", b"expandable", "flex_container", b"flex_container", "form", b"form", "height_config", b"height_config", "horizontal", b"horizontal", "id", b"id", "popover", b"popover", "tab", b"tab", "tab_container", b"tab_container", "type", b"type", "vertical", b"vertical", "width_config", b"width_config"] # noqa: Y015
|
|
468
499
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
469
|
-
_WhichOneofReturnType__height_config:
|
|
470
|
-
_WhichOneofArgType__height_config:
|
|
471
|
-
_WhichOneofReturnType__id:
|
|
472
|
-
_WhichOneofArgType__id:
|
|
473
|
-
_WhichOneofReturnType__width_config:
|
|
474
|
-
_WhichOneofArgType__width_config:
|
|
475
|
-
_WhichOneofReturnType_type:
|
|
476
|
-
_WhichOneofArgType_type:
|
|
477
|
-
@
|
|
500
|
+
_WhichOneofReturnType__height_config: _TypeAlias = _typing.Literal["height_config"] # noqa: Y015
|
|
501
|
+
_WhichOneofArgType__height_config: _TypeAlias = _typing.Literal["_height_config", b"_height_config"] # noqa: Y015
|
|
502
|
+
_WhichOneofReturnType__id: _TypeAlias = _typing.Literal["id"] # noqa: Y015
|
|
503
|
+
_WhichOneofArgType__id: _TypeAlias = _typing.Literal["_id", b"_id"] # noqa: Y015
|
|
504
|
+
_WhichOneofReturnType__width_config: _TypeAlias = _typing.Literal["width_config"] # noqa: Y015
|
|
505
|
+
_WhichOneofArgType__width_config: _TypeAlias = _typing.Literal["_width_config", b"_width_config"] # noqa: Y015
|
|
506
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["vertical", "horizontal", "column", "expandable", "form", "tab_container", "tab", "chat_message", "popover", "dialog", "flex_container"] # noqa: Y015
|
|
507
|
+
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
508
|
+
@_typing.overload
|
|
478
509
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__height_config) -> _WhichOneofReturnType__height_config | None: ...
|
|
479
|
-
@
|
|
510
|
+
@_typing.overload
|
|
480
511
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__id) -> _WhichOneofReturnType__id | None: ...
|
|
481
|
-
@
|
|
512
|
+
@_typing.overload
|
|
482
513
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__width_config) -> _WhichOneofReturnType__width_config | None: ...
|
|
483
|
-
@
|
|
514
|
+
@_typing.overload
|
|
484
515
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_type) -> _WhichOneofReturnType_type | None: ...
|
|
485
516
|
|
|
486
|
-
Global___Block:
|
|
517
|
+
Global___Block: _TypeAlias = Block # noqa: Y015
|