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,32 +17,32 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
23
|
import sys
|
|
24
|
-
import typing
|
|
24
|
+
import typing as _typing
|
|
25
25
|
|
|
26
26
|
if sys.version_info >= (3, 10):
|
|
27
|
-
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
28
|
else:
|
|
29
|
-
import
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR:
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
32
|
|
|
33
|
-
@
|
|
34
|
-
class AuthRedirect(
|
|
35
|
-
DESCRIPTOR:
|
|
33
|
+
@_typing.final
|
|
34
|
+
class AuthRedirect(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
36
|
|
|
37
|
-
URL_FIELD_NUMBER:
|
|
38
|
-
url:
|
|
37
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
38
|
+
url: _builtins.str
|
|
39
39
|
"""URL TO REDIRECT TO"""
|
|
40
40
|
def __init__(
|
|
41
41
|
self,
|
|
42
42
|
*,
|
|
43
|
-
url:
|
|
43
|
+
url: _builtins.str = ...,
|
|
44
44
|
) -> None: ...
|
|
45
|
-
_ClearFieldArgType:
|
|
45
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["url", b"url"] # noqa: Y015
|
|
46
46
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
47
47
|
|
|
48
|
-
Global___AuthRedirect:
|
|
48
|
+
Global___AuthRedirect: _TypeAlias = AuthRedirect # noqa: Y015
|
|
@@ -17,36 +17,36 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
23
|
import sys
|
|
24
|
-
import typing
|
|
24
|
+
import typing as _typing
|
|
25
25
|
|
|
26
26
|
if sys.version_info >= (3, 10):
|
|
27
|
-
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
28
|
else:
|
|
29
|
-
import
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR:
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
32
|
|
|
33
|
-
@
|
|
34
|
-
class AutoRerun(
|
|
35
|
-
DESCRIPTOR:
|
|
33
|
+
@_typing.final
|
|
34
|
+
class AutoRerun(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
36
|
|
|
37
|
-
INTERVAL_FIELD_NUMBER:
|
|
38
|
-
FRAGMENT_ID_FIELD_NUMBER:
|
|
39
|
-
interval:
|
|
37
|
+
INTERVAL_FIELD_NUMBER: _builtins.int
|
|
38
|
+
FRAGMENT_ID_FIELD_NUMBER: _builtins.int
|
|
39
|
+
interval: _builtins.float
|
|
40
40
|
"""The interval of reruns in seconds"""
|
|
41
|
-
fragment_id:
|
|
41
|
+
fragment_id: _builtins.str
|
|
42
42
|
"""The fragment ID to rerun"""
|
|
43
43
|
def __init__(
|
|
44
44
|
self,
|
|
45
45
|
*,
|
|
46
|
-
interval:
|
|
47
|
-
fragment_id:
|
|
46
|
+
interval: _builtins.float = ...,
|
|
47
|
+
fragment_id: _builtins.str = ...,
|
|
48
48
|
) -> None: ...
|
|
49
|
-
_ClearFieldArgType:
|
|
49
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["fragment_id", b"fragment_id", "interval", b"interval"] # noqa: Y015
|
|
50
50
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
51
51
|
|
|
52
|
-
Global___AutoRerun:
|
|
52
|
+
Global___AutoRerun: _TypeAlias = AutoRerun # noqa: Y015
|
streamlit/proto/BackMsg_pb2.pyi
CHANGED
|
@@ -17,124 +17,124 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import ClientState_pb2 as _ClientState_pb2
|
|
23
|
+
from streamlit.proto import Common_pb2 as _Common_pb2
|
|
24
|
+
import builtins as _builtins
|
|
25
25
|
import sys
|
|
26
|
-
import typing
|
|
26
|
+
import typing as _typing
|
|
27
27
|
|
|
28
28
|
if sys.version_info >= (3, 10):
|
|
29
|
-
|
|
29
|
+
from typing import TypeAlias as _TypeAlias
|
|
30
30
|
else:
|
|
31
|
-
import
|
|
31
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR:
|
|
33
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
34
|
|
|
35
|
-
@
|
|
36
|
-
class BackMsg(
|
|
35
|
+
@_typing.final
|
|
36
|
+
class BackMsg(_message.Message):
|
|
37
37
|
"""A message from the browser to the server."""
|
|
38
38
|
|
|
39
|
-
DESCRIPTOR:
|
|
40
|
-
|
|
41
|
-
CLEAR_CACHE_FIELD_NUMBER:
|
|
42
|
-
SET_RUN_ON_SAVE_FIELD_NUMBER:
|
|
43
|
-
STOP_SCRIPT_FIELD_NUMBER:
|
|
44
|
-
RERUN_SCRIPT_FIELD_NUMBER:
|
|
45
|
-
LOAD_GIT_INFO_FIELD_NUMBER:
|
|
46
|
-
DEBUG_DISCONNECT_WEBSOCKET_FIELD_NUMBER:
|
|
47
|
-
DEBUG_SHUTDOWN_RUNTIME_FIELD_NUMBER:
|
|
48
|
-
FILE_URLS_REQUEST_FIELD_NUMBER:
|
|
49
|
-
APP_HEARTBEAT_FIELD_NUMBER:
|
|
50
|
-
DEFERRED_FILE_REQUEST_FIELD_NUMBER:
|
|
51
|
-
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER:
|
|
52
|
-
clear_cache:
|
|
39
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
40
|
+
|
|
41
|
+
CLEAR_CACHE_FIELD_NUMBER: _builtins.int
|
|
42
|
+
SET_RUN_ON_SAVE_FIELD_NUMBER: _builtins.int
|
|
43
|
+
STOP_SCRIPT_FIELD_NUMBER: _builtins.int
|
|
44
|
+
RERUN_SCRIPT_FIELD_NUMBER: _builtins.int
|
|
45
|
+
LOAD_GIT_INFO_FIELD_NUMBER: _builtins.int
|
|
46
|
+
DEBUG_DISCONNECT_WEBSOCKET_FIELD_NUMBER: _builtins.int
|
|
47
|
+
DEBUG_SHUTDOWN_RUNTIME_FIELD_NUMBER: _builtins.int
|
|
48
|
+
FILE_URLS_REQUEST_FIELD_NUMBER: _builtins.int
|
|
49
|
+
APP_HEARTBEAT_FIELD_NUMBER: _builtins.int
|
|
50
|
+
DEFERRED_FILE_REQUEST_FIELD_NUMBER: _builtins.int
|
|
51
|
+
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER: _builtins.int
|
|
52
|
+
clear_cache: _builtins.bool
|
|
53
53
|
"""DEPRECATED. Asks the server to run the script with this object
|
|
54
54
|
ReRun rerun = 4;
|
|
55
55
|
|
|
56
56
|
Requests that the app's @st_cache be cleared
|
|
57
57
|
"""
|
|
58
|
-
set_run_on_save:
|
|
58
|
+
set_run_on_save: _builtins.bool
|
|
59
59
|
"""Requests that the runOnSave behavior for this app be set
|
|
60
60
|
to the given value
|
|
61
61
|
"""
|
|
62
|
-
stop_script:
|
|
62
|
+
stop_script: _builtins.bool
|
|
63
63
|
"""Requests that the script's execution be stopped"""
|
|
64
|
-
load_git_info:
|
|
65
|
-
debug_disconnect_websocket:
|
|
64
|
+
load_git_info: _builtins.bool
|
|
65
|
+
debug_disconnect_websocket: _builtins.bool
|
|
66
66
|
"""Test and dev-mode only field used to ask the server to disconnect the
|
|
67
67
|
client's websocket connection. This message is IGNORED unless the
|
|
68
68
|
runtime is configured with global.developmentMode = True.
|
|
69
69
|
"""
|
|
70
|
-
debug_shutdown_runtime:
|
|
70
|
+
debug_shutdown_runtime: _builtins.bool
|
|
71
71
|
"""Test and dev-mode only field used to ask the server to shut down the
|
|
72
72
|
runtime. This message is IGNORED unless the runtime is configured with
|
|
73
73
|
global.developmentMode = True.
|
|
74
74
|
"""
|
|
75
|
-
app_heartbeat:
|
|
75
|
+
app_heartbeat: _builtins.bool
|
|
76
76
|
"""Sends an app heartbeat message through the websocket"""
|
|
77
|
-
debug_last_backmsg_id:
|
|
77
|
+
debug_last_backmsg_id: _builtins.str
|
|
78
78
|
"""An ID used to associate this BackMsg with the corresponding ForwardMsgs
|
|
79
79
|
that are sent to the client due to it. As its name suggests, this field
|
|
80
80
|
should only be used for testing.
|
|
81
81
|
"""
|
|
82
|
-
@property
|
|
83
|
-
def rerun_script(self) ->
|
|
82
|
+
@_builtins.property
|
|
83
|
+
def rerun_script(self) -> _ClientState_pb2.ClientState:
|
|
84
84
|
"""DEPRECATED. Set to true to ask the server to close the connection
|
|
85
85
|
bool close_connection = 10;
|
|
86
86
|
"""
|
|
87
87
|
|
|
88
|
-
@property
|
|
89
|
-
def file_urls_request(self) ->
|
|
88
|
+
@_builtins.property
|
|
89
|
+
def file_urls_request(self) -> _Common_pb2.FileURLsRequest:
|
|
90
90
|
"""Requests that the server generate URLs for getting/uploading/deleting
|
|
91
91
|
files for the `st.file_uploader` widget
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
95
95
|
def deferred_file_request(self) -> Global___DeferredFileRequest:
|
|
96
96
|
"""Requests that the server execute a deferred callable and return the URL"""
|
|
97
97
|
|
|
98
98
|
def __init__(
|
|
99
99
|
self,
|
|
100
100
|
*,
|
|
101
|
-
clear_cache:
|
|
102
|
-
set_run_on_save:
|
|
103
|
-
stop_script:
|
|
104
|
-
rerun_script:
|
|
105
|
-
load_git_info:
|
|
106
|
-
debug_disconnect_websocket:
|
|
107
|
-
debug_shutdown_runtime:
|
|
108
|
-
file_urls_request:
|
|
109
|
-
app_heartbeat:
|
|
101
|
+
clear_cache: _builtins.bool = ...,
|
|
102
|
+
set_run_on_save: _builtins.bool = ...,
|
|
103
|
+
stop_script: _builtins.bool = ...,
|
|
104
|
+
rerun_script: _ClientState_pb2.ClientState | None = ...,
|
|
105
|
+
load_git_info: _builtins.bool = ...,
|
|
106
|
+
debug_disconnect_websocket: _builtins.bool = ...,
|
|
107
|
+
debug_shutdown_runtime: _builtins.bool = ...,
|
|
108
|
+
file_urls_request: _Common_pb2.FileURLsRequest | None = ...,
|
|
109
|
+
app_heartbeat: _builtins.bool = ...,
|
|
110
110
|
deferred_file_request: Global___DeferredFileRequest | None = ...,
|
|
111
|
-
debug_last_backmsg_id:
|
|
111
|
+
debug_last_backmsg_id: _builtins.str = ...,
|
|
112
112
|
) -> None: ...
|
|
113
|
-
_HasFieldArgType:
|
|
114
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
115
|
-
_ClearFieldArgType:
|
|
113
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["app_heartbeat", b"app_heartbeat", "clear_cache", b"clear_cache", "debug_disconnect_websocket", b"debug_disconnect_websocket", "debug_shutdown_runtime", b"debug_shutdown_runtime", "deferred_file_request", b"deferred_file_request", "file_urls_request", b"file_urls_request", "load_git_info", b"load_git_info", "rerun_script", b"rerun_script", "set_run_on_save", b"set_run_on_save", "stop_script", b"stop_script", "type", b"type"] # noqa: Y015
|
|
114
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
115
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["app_heartbeat", b"app_heartbeat", "clear_cache", b"clear_cache", "debug_disconnect_websocket", b"debug_disconnect_websocket", "debug_last_backmsg_id", b"debug_last_backmsg_id", "debug_shutdown_runtime", b"debug_shutdown_runtime", "deferred_file_request", b"deferred_file_request", "file_urls_request", b"file_urls_request", "load_git_info", b"load_git_info", "rerun_script", b"rerun_script", "set_run_on_save", b"set_run_on_save", "stop_script", b"stop_script", "type", b"type"] # noqa: Y015
|
|
116
116
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
117
|
-
_WhichOneofReturnType_type:
|
|
118
|
-
_WhichOneofArgType_type:
|
|
117
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["clear_cache", "set_run_on_save", "stop_script", "rerun_script", "load_git_info", "debug_disconnect_websocket", "debug_shutdown_runtime", "file_urls_request", "app_heartbeat", "deferred_file_request"] # noqa: Y015
|
|
118
|
+
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
119
119
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_type) -> _WhichOneofReturnType_type | None: ...
|
|
120
120
|
|
|
121
|
-
Global___BackMsg:
|
|
121
|
+
Global___BackMsg: _TypeAlias = BackMsg # noqa: Y015
|
|
122
122
|
|
|
123
|
-
@
|
|
124
|
-
class DeferredFileRequest(
|
|
125
|
-
DESCRIPTOR:
|
|
123
|
+
@_typing.final
|
|
124
|
+
class DeferredFileRequest(_message.Message):
|
|
125
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
126
126
|
|
|
127
|
-
FILE_ID_FIELD_NUMBER:
|
|
128
|
-
SESSION_ID_FIELD_NUMBER:
|
|
129
|
-
file_id:
|
|
130
|
-
session_id:
|
|
127
|
+
FILE_ID_FIELD_NUMBER: _builtins.int
|
|
128
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
129
|
+
file_id: _builtins.str
|
|
130
|
+
session_id: _builtins.str
|
|
131
131
|
def __init__(
|
|
132
132
|
self,
|
|
133
133
|
*,
|
|
134
|
-
file_id:
|
|
135
|
-
session_id:
|
|
134
|
+
file_id: _builtins.str = ...,
|
|
135
|
+
session_id: _builtins.str = ...,
|
|
136
136
|
) -> None: ...
|
|
137
|
-
_ClearFieldArgType:
|
|
137
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["file_id", b"file_id", "session_id", b"session_id"] # noqa: Y015
|
|
138
138
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
139
139
|
|
|
140
|
-
Global___DeferredFileRequest:
|
|
140
|
+
Global___DeferredFileRequest: _TypeAlias = DeferredFileRequest # noqa: Y015
|
streamlit/proto/Balloons_pb2.pyi
CHANGED
|
@@ -17,34 +17,34 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
23
|
import sys
|
|
24
|
-
import typing
|
|
24
|
+
import typing as _typing
|
|
25
25
|
|
|
26
26
|
if sys.version_info >= (3, 10):
|
|
27
|
-
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
28
|
else:
|
|
29
|
-
import
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR:
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
32
|
|
|
33
|
-
@
|
|
34
|
-
class Balloons(
|
|
33
|
+
@_typing.final
|
|
34
|
+
class Balloons(_message.Message):
|
|
35
35
|
"""A python empty."""
|
|
36
36
|
|
|
37
|
-
DESCRIPTOR:
|
|
37
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
38
38
|
|
|
39
|
-
SHOW_FIELD_NUMBER:
|
|
40
|
-
show:
|
|
39
|
+
SHOW_FIELD_NUMBER: _builtins.int
|
|
40
|
+
show: _builtins.bool
|
|
41
41
|
"""Dummy boolean because protos need to have something."""
|
|
42
42
|
def __init__(
|
|
43
43
|
self,
|
|
44
44
|
*,
|
|
45
|
-
show:
|
|
45
|
+
show: _builtins.bool = ...,
|
|
46
46
|
) -> None: ...
|
|
47
|
-
_ClearFieldArgType:
|
|
47
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["show", b"show"] # noqa: Y015
|
|
48
48
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
49
49
|
|
|
50
|
-
Global___Balloons:
|
|
50
|
+
Global___Balloons: _TypeAlias = Balloons # noqa: Y015
|
|
@@ -17,160 +17,160 @@ 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 ArrowData_pb2 as _ArrowData_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 MixedData(
|
|
36
|
+
@_typing.final
|
|
37
|
+
class MixedData(_message.Message):
|
|
38
38
|
"""Mixed data structure that allows JSON with embedded Arrow references"""
|
|
39
39
|
|
|
40
|
-
DESCRIPTOR:
|
|
40
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
41
41
|
|
|
42
|
-
@
|
|
43
|
-
class ArrowBlobsEntry(
|
|
44
|
-
DESCRIPTOR:
|
|
42
|
+
@_typing.final
|
|
43
|
+
class ArrowBlobsEntry(_message.Message):
|
|
44
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
45
45
|
|
|
46
|
-
KEY_FIELD_NUMBER:
|
|
47
|
-
VALUE_FIELD_NUMBER:
|
|
48
|
-
key:
|
|
49
|
-
@property
|
|
50
|
-
def value(self) ->
|
|
46
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
47
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
48
|
+
key: _builtins.str
|
|
49
|
+
@_builtins.property
|
|
50
|
+
def value(self) -> _ArrowData_pb2.ArrowData: ...
|
|
51
51
|
def __init__(
|
|
52
52
|
self,
|
|
53
53
|
*,
|
|
54
|
-
key:
|
|
55
|
-
value:
|
|
54
|
+
key: _builtins.str = ...,
|
|
55
|
+
value: _ArrowData_pb2.ArrowData | None = ...,
|
|
56
56
|
) -> None: ...
|
|
57
|
-
_HasFieldArgType:
|
|
58
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
59
|
-
_ClearFieldArgType:
|
|
57
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
58
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
59
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
60
60
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
61
61
|
|
|
62
|
-
JSON_FIELD_NUMBER:
|
|
63
|
-
ARROW_BLOBS_FIELD_NUMBER:
|
|
64
|
-
json:
|
|
62
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
63
|
+
ARROW_BLOBS_FIELD_NUMBER: _builtins.int
|
|
64
|
+
json: _builtins.str
|
|
65
65
|
"""The main JSON structure with arrow references replaced by placeholders"""
|
|
66
|
-
@property
|
|
67
|
-
def arrow_blobs(self) ->
|
|
66
|
+
@_builtins.property
|
|
67
|
+
def arrow_blobs(self) -> _containers.MessageMap[_builtins.str, _ArrowData_pb2.ArrowData]:
|
|
68
68
|
"""Map of arrow data blobs keyed by reference ID"""
|
|
69
69
|
|
|
70
70
|
def __init__(
|
|
71
71
|
self,
|
|
72
72
|
*,
|
|
73
|
-
json:
|
|
74
|
-
arrow_blobs:
|
|
73
|
+
json: _builtins.str = ...,
|
|
74
|
+
arrow_blobs: _abc.Mapping[_builtins.str, _ArrowData_pb2.ArrowData] | None = ...,
|
|
75
75
|
) -> None: ...
|
|
76
|
-
_ClearFieldArgType:
|
|
76
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["arrow_blobs", b"arrow_blobs", "json", b"json"] # noqa: Y015
|
|
77
77
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
78
78
|
|
|
79
|
-
Global___MixedData:
|
|
79
|
+
Global___MixedData: _TypeAlias = MixedData # noqa: Y015
|
|
80
80
|
|
|
81
|
-
@
|
|
82
|
-
class BidiComponent(
|
|
81
|
+
@_typing.final
|
|
82
|
+
class BidiComponent(_message.Message):
|
|
83
83
|
"""Represents an instance of a bidirectional component."""
|
|
84
84
|
|
|
85
|
-
DESCRIPTOR:
|
|
86
|
-
|
|
87
|
-
ID_FIELD_NUMBER:
|
|
88
|
-
COMPONENT_NAME_FIELD_NUMBER:
|
|
89
|
-
JS_CONTENT_FIELD_NUMBER:
|
|
90
|
-
JS_SOURCE_PATH_FIELD_NUMBER:
|
|
91
|
-
FORM_ID_FIELD_NUMBER:
|
|
92
|
-
HTML_CONTENT_FIELD_NUMBER:
|
|
93
|
-
CSS_CONTENT_FIELD_NUMBER:
|
|
94
|
-
CSS_SOURCE_PATH_FIELD_NUMBER:
|
|
95
|
-
ISOLATE_STYLES_FIELD_NUMBER:
|
|
96
|
-
JSON_FIELD_NUMBER:
|
|
97
|
-
ARROW_DATA_FIELD_NUMBER:
|
|
98
|
-
BYTES_FIELD_NUMBER:
|
|
99
|
-
MIXED_FIELD_NUMBER:
|
|
100
|
-
id:
|
|
85
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
86
|
+
|
|
87
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
88
|
+
COMPONENT_NAME_FIELD_NUMBER: _builtins.int
|
|
89
|
+
JS_CONTENT_FIELD_NUMBER: _builtins.int
|
|
90
|
+
JS_SOURCE_PATH_FIELD_NUMBER: _builtins.int
|
|
91
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
92
|
+
HTML_CONTENT_FIELD_NUMBER: _builtins.int
|
|
93
|
+
CSS_CONTENT_FIELD_NUMBER: _builtins.int
|
|
94
|
+
CSS_SOURCE_PATH_FIELD_NUMBER: _builtins.int
|
|
95
|
+
ISOLATE_STYLES_FIELD_NUMBER: _builtins.int
|
|
96
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
97
|
+
ARROW_DATA_FIELD_NUMBER: _builtins.int
|
|
98
|
+
BYTES_FIELD_NUMBER: _builtins.int
|
|
99
|
+
MIXED_FIELD_NUMBER: _builtins.int
|
|
100
|
+
id: _builtins.str
|
|
101
101
|
"""The ID of the widget instance."""
|
|
102
|
-
component_name:
|
|
102
|
+
component_name: _builtins.str
|
|
103
103
|
"""The registered name of the component."""
|
|
104
|
-
js_content:
|
|
104
|
+
js_content: _builtins.str
|
|
105
105
|
"""The JavaScript content provided by the developer."""
|
|
106
|
-
js_source_path:
|
|
106
|
+
js_source_path: _builtins.str
|
|
107
107
|
"""The source path for the JavaScript content."""
|
|
108
|
-
form_id:
|
|
108
|
+
form_id: _builtins.str
|
|
109
109
|
"""The ID of the form this component belongs to, if any."""
|
|
110
|
-
html_content:
|
|
110
|
+
html_content: _builtins.str
|
|
111
111
|
"""The HTML content provided by the developer."""
|
|
112
|
-
css_content:
|
|
112
|
+
css_content: _builtins.str
|
|
113
113
|
"""The CSS content provided by the developer."""
|
|
114
|
-
css_source_path:
|
|
114
|
+
css_source_path: _builtins.str
|
|
115
115
|
"""The source path for the CSS content."""
|
|
116
|
-
isolate_styles:
|
|
116
|
+
isolate_styles: _builtins.bool
|
|
117
117
|
"""Whether to isolate styles from the parent."""
|
|
118
|
-
json:
|
|
118
|
+
json: _builtins.str
|
|
119
119
|
"""JSON-serialized value for generic data payloads."""
|
|
120
|
-
bytes:
|
|
120
|
+
bytes: _builtins.bytes
|
|
121
121
|
"""Arbitrary bytes payload."""
|
|
122
|
-
@property
|
|
123
|
-
def arrow_data(self) ->
|
|
122
|
+
@_builtins.property
|
|
123
|
+
def arrow_data(self) -> _ArrowData_pb2.ArrowData:
|
|
124
124
|
"""Data-only Apache Arrow buffer for dataframe-like payloads."""
|
|
125
125
|
|
|
126
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
127
127
|
def mixed(self) -> Global___MixedData:
|
|
128
128
|
"""Mixed data with JSON structure + embedded Arrow references"""
|
|
129
129
|
|
|
130
130
|
def __init__(
|
|
131
131
|
self,
|
|
132
132
|
*,
|
|
133
|
-
id:
|
|
134
|
-
component_name:
|
|
135
|
-
js_content:
|
|
136
|
-
js_source_path:
|
|
137
|
-
form_id:
|
|
138
|
-
html_content:
|
|
139
|
-
css_content:
|
|
140
|
-
css_source_path:
|
|
141
|
-
isolate_styles:
|
|
142
|
-
json:
|
|
143
|
-
arrow_data:
|
|
144
|
-
bytes:
|
|
133
|
+
id: _builtins.str = ...,
|
|
134
|
+
component_name: _builtins.str = ...,
|
|
135
|
+
js_content: _builtins.str | None = ...,
|
|
136
|
+
js_source_path: _builtins.str | None = ...,
|
|
137
|
+
form_id: _builtins.str = ...,
|
|
138
|
+
html_content: _builtins.str | None = ...,
|
|
139
|
+
css_content: _builtins.str | None = ...,
|
|
140
|
+
css_source_path: _builtins.str | None = ...,
|
|
141
|
+
isolate_styles: _builtins.bool = ...,
|
|
142
|
+
json: _builtins.str = ...,
|
|
143
|
+
arrow_data: _ArrowData_pb2.ArrowData | None = ...,
|
|
144
|
+
bytes: _builtins.bytes = ...,
|
|
145
145
|
mixed: Global___MixedData | None = ...,
|
|
146
146
|
) -> None: ...
|
|
147
|
-
_HasFieldArgType:
|
|
148
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
149
|
-
_ClearFieldArgType:
|
|
147
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "html_content", b"html_content", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"] # noqa: Y015
|
|
148
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
149
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "component_name", b"component_name", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "form_id", b"form_id", "html_content", b"html_content", "id", b"id", "isolate_styles", b"isolate_styles", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"] # noqa: Y015
|
|
150
150
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
151
|
-
_WhichOneofReturnType__css_content:
|
|
152
|
-
_WhichOneofArgType__css_content:
|
|
153
|
-
_WhichOneofReturnType__css_source_path:
|
|
154
|
-
_WhichOneofArgType__css_source_path:
|
|
155
|
-
_WhichOneofReturnType__html_content:
|
|
156
|
-
_WhichOneofArgType__html_content:
|
|
157
|
-
_WhichOneofReturnType__js_content:
|
|
158
|
-
_WhichOneofArgType__js_content:
|
|
159
|
-
_WhichOneofReturnType__js_source_path:
|
|
160
|
-
_WhichOneofArgType__js_source_path:
|
|
161
|
-
_WhichOneofReturnType_data:
|
|
162
|
-
_WhichOneofArgType_data:
|
|
163
|
-
@
|
|
151
|
+
_WhichOneofReturnType__css_content: _TypeAlias = _typing.Literal["css_content"] # noqa: Y015
|
|
152
|
+
_WhichOneofArgType__css_content: _TypeAlias = _typing.Literal["_css_content", b"_css_content"] # noqa: Y015
|
|
153
|
+
_WhichOneofReturnType__css_source_path: _TypeAlias = _typing.Literal["css_source_path"] # noqa: Y015
|
|
154
|
+
_WhichOneofArgType__css_source_path: _TypeAlias = _typing.Literal["_css_source_path", b"_css_source_path"] # noqa: Y015
|
|
155
|
+
_WhichOneofReturnType__html_content: _TypeAlias = _typing.Literal["html_content"] # noqa: Y015
|
|
156
|
+
_WhichOneofArgType__html_content: _TypeAlias = _typing.Literal["_html_content", b"_html_content"] # noqa: Y015
|
|
157
|
+
_WhichOneofReturnType__js_content: _TypeAlias = _typing.Literal["js_content"] # noqa: Y015
|
|
158
|
+
_WhichOneofArgType__js_content: _TypeAlias = _typing.Literal["_js_content", b"_js_content"] # noqa: Y015
|
|
159
|
+
_WhichOneofReturnType__js_source_path: _TypeAlias = _typing.Literal["js_source_path"] # noqa: Y015
|
|
160
|
+
_WhichOneofArgType__js_source_path: _TypeAlias = _typing.Literal["_js_source_path", b"_js_source_path"] # noqa: Y015
|
|
161
|
+
_WhichOneofReturnType_data: _TypeAlias = _typing.Literal["json", "arrow_data", "bytes", "mixed"] # noqa: Y015
|
|
162
|
+
_WhichOneofArgType_data: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
163
|
+
@_typing.overload
|
|
164
164
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__css_content) -> _WhichOneofReturnType__css_content | None: ...
|
|
165
|
-
@
|
|
165
|
+
@_typing.overload
|
|
166
166
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__css_source_path) -> _WhichOneofReturnType__css_source_path | None: ...
|
|
167
|
-
@
|
|
167
|
+
@_typing.overload
|
|
168
168
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__html_content) -> _WhichOneofReturnType__html_content | None: ...
|
|
169
|
-
@
|
|
169
|
+
@_typing.overload
|
|
170
170
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__js_content) -> _WhichOneofReturnType__js_content | None: ...
|
|
171
|
-
@
|
|
171
|
+
@_typing.overload
|
|
172
172
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__js_source_path) -> _WhichOneofReturnType__js_source_path | None: ...
|
|
173
|
-
@
|
|
173
|
+
@_typing.overload
|
|
174
174
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_data) -> _WhichOneofReturnType_data | None: ...
|
|
175
175
|
|
|
176
|
-
Global___BidiComponent:
|
|
176
|
+
Global___BidiComponent: _TypeAlias = BidiComponent # noqa: Y015
|