streamlit-nightly 1.52.3.dev20260112__py3-none-any.whl → 1.53.1.dev20260114__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit/__init__.py +1 -1
- streamlit/auth_util.py +1 -1
- streamlit/cli_util.py +1 -1
- streamlit/commands/logo.py +2 -0
- streamlit/commands/page_config.py +16 -16
- streamlit/components/v2/__init__.py +2 -2
- streamlit/components/v2/bidi_component/main.py +2 -2
- streamlit/connections/base_connection.py +16 -4
- streamlit/connections/snowflake_connection.py +255 -206
- streamlit/dataframe_util.py +1 -3
- streamlit/elements/arrow.py +5 -1
- streamlit/elements/form.py +2 -2
- streamlit/elements/lib/color_util.py +1 -1
- streamlit/elements/lib/image_utils.py +1 -1
- streamlit/elements/metric.py +49 -48
- streamlit/elements/vega_charts.py +4 -1
- streamlit/elements/widgets/button.py +9 -9
- streamlit/elements/widgets/chat.py +5 -9
- streamlit/elements/widgets/data_editor.py +3 -3
- streamlit/elements/widgets/file_uploader.py +10 -11
- streamlit/elements/widgets/multiselect.py +1 -1
- streamlit/elements/widgets/select_slider.py +4 -0
- streamlit/elements/widgets/time_widgets.py +1 -1
- streamlit/elements/write.py +1 -2
- streamlit/errors.py +2 -0
- streamlit/external/langchain/streamlit_callback_handler.py +1 -1
- streamlit/proto/Alert_pb2.pyi +31 -31
- streamlit/proto/AppPage_pb2.pyi +30 -30
- streamlit/proto/ArrowData_pb2.pyi +15 -15
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +25 -25
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +45 -45
- streamlit/proto/Arrow_pb2.pyi +126 -97
- streamlit/proto/AudioInput_pb2.pyi +39 -39
- streamlit/proto/Audio_pb2.pyi +39 -39
- streamlit/proto/AuthRedirect_pb2.pyi +15 -15
- streamlit/proto/AutoRerun_pb2.pyi +18 -18
- streamlit/proto/BackMsg_pb2.pyi +64 -64
- streamlit/proto/Balloons_pb2.pyi +15 -15
- streamlit/proto/BidiComponent_pb2.pyi +100 -100
- streamlit/proto/Block_pb2.pyi +295 -264
- streamlit/proto/BokehChart_pb2.pyi +21 -21
- streamlit/proto/ButtonGroup_pb2.pyi +96 -96
- streamlit/proto/ButtonLikeIconPosition_pb2.pyi +12 -12
- streamlit/proto/Button_pb2.pyi +63 -50
- streamlit/proto/CameraInput_pb2.pyi +34 -34
- streamlit/proto/ChatInput_pb2.pyi +63 -63
- streamlit/proto/Checkbox_pb2.pyi +49 -49
- streamlit/proto/ClientState_pb2.pyi +85 -85
- streamlit/proto/Code_pb2.pyi +41 -28
- streamlit/proto/ColorPicker_pb2.pyi +43 -43
- streamlit/proto/Common_pb2.pyi +175 -175
- streamlit/proto/Components_pb2.pyi +110 -110
- streamlit/proto/DataFrame_pb2.pyi +209 -209
- streamlit/proto/DateInput_pb2.pyi +59 -59
- streamlit/proto/DateTimeInput_pb2.pyi +62 -62
- streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -56
- streamlit/proto/Delta_pb2.pyi +44 -44
- streamlit/proto/DocString_pb2.pyi +51 -51
- streamlit/proto/DownloadButton_pb2.pyi +59 -59
- streamlit/proto/Element_pb2.pyi +319 -319
- streamlit/proto/Empty_pb2.pyi +10 -10
- streamlit/proto/Exception_pb2.pyi +37 -37
- streamlit/proto/Favicon_pb2.pyi +15 -15
- streamlit/proto/FileUploader_pb2.pyi +49 -49
- streamlit/proto/ForwardMsg_pb2.pyi +176 -170
- streamlit/proto/GapSize_pb2.pyi +23 -23
- streamlit/proto/GitInfo_pb2.pyi +37 -37
- streamlit/proto/GraphVizChart_pb2.pyi +38 -25
- streamlit/proto/Heading_pb2.pyi +30 -30
- streamlit/proto/HeightConfig_pb2.pyi +31 -31
- streamlit/proto/Html_pb2.pyi +18 -18
- streamlit/proto/IFrame_pb2.pyi +76 -47
- streamlit/proto/Image_pb2.pyi +49 -36
- streamlit/proto/Json_pb2.pyi +25 -25
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +18 -18
- streamlit/proto/LinkButton_pb2.pyi +43 -43
- streamlit/proto/Logo_pb2.pyi +24 -24
- streamlit/proto/Markdown_pb2.pyi +30 -30
- streamlit/proto/Metric_pb2.pyi +59 -59
- streamlit/proto/MetricsEvent_pb2.pyi +171 -171
- streamlit/proto/MultiSelect_pb2.pyi +72 -66
- streamlit/proto/NamedDataSet_pb2.pyi +25 -25
- streamlit/proto/Navigation_pb2.pyi +35 -35
- streamlit/proto/NewSession_pb2.pyi +511 -498
- streamlit/proto/NumberInput_pb2.pyi +79 -79
- streamlit/proto/PageConfig_pb2.pyi +71 -71
- streamlit/proto/PageInfo_pb2.pyi +15 -15
- streamlit/proto/PageLink_pb2.pyi +47 -47
- streamlit/proto/PageNotFound_pb2.pyi +15 -15
- streamlit/proto/PageProfile_pb2.pyi +85 -85
- streamlit/proto/PagesChanged_pb2.pyi +19 -19
- streamlit/proto/ParentMessage_pb2.pyi +15 -15
- streamlit/proto/PlotlyChart_pb2.pyi +79 -64
- streamlit/proto/Progress_pb2.pyi +18 -18
- streamlit/proto/Radio_pb2.pyi +62 -62
- streamlit/proto/RootContainer_pb2.pyi +12 -12
- streamlit/proto/Selectbox_pb2.pyi +80 -70
- streamlit/proto/SessionEvent_pb2.pyi +27 -27
- streamlit/proto/SessionStatus_pb2.pyi +18 -18
- streamlit/proto/Skeleton_pb2.pyi +25 -25
- streamlit/proto/Slider_pb2.pyi +74 -74
- streamlit/proto/Snow_pb2.pyi +15 -15
- streamlit/proto/Space_pb2.pyi +10 -10
- streamlit/proto/Spinner_pb2.pyi +21 -21
- streamlit/proto/TextAlignmentConfig_pb2.pyi +18 -18
- streamlit/proto/TextArea_pb2.pyi +72 -59
- streamlit/proto/TextInput_pb2.pyi +67 -67
- streamlit/proto/Text_pb2.pyi +18 -18
- streamlit/proto/TimeInput_pb2.pyi +52 -52
- streamlit/proto/Toast_pb2.pyi +25 -25
- streamlit/proto/Transient_pb2.pyi +19 -19
- streamlit/proto/VegaLiteChart_pb2.pyi +32 -32
- streamlit/proto/Video_pb2.pyi +65 -65
- streamlit/proto/WidgetStates_pb2.pyi +91 -85
- streamlit/proto/WidthConfig_pb2.pyi +31 -31
- streamlit/proto/openmetrics_data_model_pb2.pyi +269 -269
- streamlit/runtime/app_session.py +1 -1
- streamlit/runtime/caching/cache_data_api.py +25 -21
- streamlit/runtime/caching/cache_resource_api.py +69 -41
- streamlit/runtime/connection_factory.py +67 -41
- streamlit/runtime/credentials.py +2 -2
- streamlit/runtime/metrics_util.py +3 -3
- streamlit/runtime/secrets.py +1 -1
- streamlit/runtime/stats.py +1 -3
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +304 -304
- streamlit/static/static/js/{ErrorOutline.esm.BjVqd_6R.js → ErrorOutline.esm.BAZUU4id.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.DJCSsghl.js → FileDownload.esm.C6tTTniR.js} +1 -1
- streamlit/static/static/js/{FileHelper.C---TH7o.js → FileHelper.BOHlwlc9.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.C-6BC487.js → FormClearHelper.D4lty7rT.js} +1 -1
- streamlit/static/static/js/{InputInstructions.sxc3InCI.js → InputInstructions.BWw9lhud.js} +1 -1
- streamlit/static/static/js/{Particles.S8yD7iW-.js → Particles.BDi7fIn-.js} +1 -1
- streamlit/static/static/js/{ProgressBar.BiYsyZCC.js → ProgressBar.DCHh4N3P.js} +1 -1
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.9jZF8jX1.js → StreamlitSyntaxHighlighter.BRydQwEj.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.BdA4Q1rZ.js → TableChart.esm.7KFX5I_G.js} +1 -1
- streamlit/static/static/js/{Toolbar.B9DaaDfN.js → Toolbar.guIuiwEF.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.DxODTLS2.js → WidgetLabelHelpIconInline.CzodezAH.js} +1 -1
- streamlit/static/static/js/{base-input.Gf1cKuQR.js → base-input.Cg7NpsfS.js} +1 -1
- streamlit/static/static/js/{checkbox.CnoNruf3.js → checkbox.Bs20OTna.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.B48AepiL.js → createDownloadLinkElement.DSqCyu38.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.Cmdq9aqU.js → data-grid-overlay-editor.Ch4SqNfY.js} +1 -1
- streamlit/static/static/js/{downloader.CQLoQdMX.js → downloader.Oj5CTGJA.js} +1 -1
- streamlit/static/static/js/{embed.oKwocwU8.js → embed.CqzzUq73.js} +1 -1
- streamlit/static/static/js/{es6.BRxlY_y5.js → es6.CYrlw0Vn.js} +2 -2
- streamlit/static/static/js/{formatNumber.DaagZyZe.js → formatNumber.CT_v8e75.js} +1 -1
- streamlit/static/static/js/{iconPosition.Q3hNvmK4.js → iconPosition.DPAvXTmd.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.B6EBvI9L.js → iframeResizer.contentWindow.T4DvQsIf.js} +1 -1
- streamlit/static/static/js/{index.BoX8d5rK.js → index.AGYZDQZm.js} +1 -1
- streamlit/static/static/js/{index.KtjGDGY5.js → index.B3HdcUdo.js} +1 -1
- streamlit/static/static/js/{index.B9kZB0o1.js → index.B8ZZdPqF.js} +1 -1
- streamlit/static/static/js/{index.CFCBhOfx.js → index.B9Oowxt8.js} +1 -1
- streamlit/static/static/js/{index.CCQ5p_WC.js → index.BEzgNZOm.js} +1 -1
- streamlit/static/static/js/{index.D1pK_Vw2.js → index.BJnWg9Jq.js} +1 -1
- streamlit/static/static/js/{index.na9UBuse.js → index.BPxuKK0S.js} +1 -1
- streamlit/static/static/js/{index.QTaWooav.js → index.BTA0d5oq.js} +1 -1
- streamlit/static/static/js/{index.pU9mQeVC.js → index.BTqav7_K.js} +1 -1
- streamlit/static/static/js/{index.BXEC4cf3.js → index.BZ8xp-w9.js} +1 -1
- streamlit/static/static/js/{index.BF23fbfs.js → index.BoWBzl6h.js} +1 -1
- streamlit/static/static/js/index.Bqgt60FU.js +1 -0
- streamlit/static/static/js/{index.Dh5SAThV.js → index.BsYYrijt.js} +1 -1
- streamlit/static/static/js/{index.19_qtO6t.js → index.CGRIbGGV.js} +1 -1
- streamlit/static/static/js/{index.CSfsEKCF.js → index.CJQq5LcR.js} +1 -1
- streamlit/static/static/js/{index.Fu73QtkD.js → index.CPYB1awG.js} +1 -1
- streamlit/static/static/js/{index.BzwlrgZO.js → index.CVKk1nkB.js} +1 -1
- streamlit/static/static/js/{index.B03eQZoH.js → index.CVXiBeDI.js} +1 -1
- streamlit/static/static/js/{index.BRfGUOQ-.js → index.CXVpBAvU.js} +4 -4
- streamlit/static/static/js/{index.slgxPafU.js → index.Cfe-tCQJ.js} +1 -1
- streamlit/static/static/js/{index.D6X2coHR.js → index.ClFk8x0U.js} +1 -1
- streamlit/static/static/js/{index.WXybx2Xq.js → index.CnXxoVEM.js} +1 -1
- streamlit/static/static/js/{index.j4fnjyHo.js → index.Cw4eSvJ7.js} +1 -1
- streamlit/static/static/js/{index.KN1VmyYN.js → index.D6HCANv6.js} +1 -1
- streamlit/static/static/js/{index.CP-hoxJM.js → index.D7KbBAWb.js} +1 -1
- streamlit/static/static/js/{index.CCFwVy90.js → index.D84XHt50.js} +1 -1
- streamlit/static/static/js/{index.BkSwGJoh.js → index.DL_Ooizi.js} +1 -1
- streamlit/static/static/js/{index.QHnxuesF.js → index.DNyw7S7Z.js} +1 -1
- streamlit/static/static/js/{index.BAI9aHCq.js → index.DPlPEuq6.js} +1 -1
- streamlit/static/static/js/{index.CJ4oJe0V.js → index.DQzRwgrT.js} +1 -1
- streamlit/static/static/js/{index.CVlg41MB.js → index.DXRGd--0.js} +1 -1
- streamlit/static/static/js/{index.CIbgt5wY.js → index.DZDt5hYD.js} +1 -1
- streamlit/static/static/js/{index.BVT89mQw.js → index.DesNeXSA.js} +1 -1
- streamlit/static/static/js/{index.Boa0Egng.js → index.Dg9k4R8B.js} +1 -1
- streamlit/static/static/js/{index.43b777iP.js → index.Do9A7QCt.js} +1 -1
- streamlit/static/static/js/{index.DJ7P09eb.js → index.DrSH3pK3.js} +1 -1
- streamlit/static/static/js/{index.OpATzEaW.js → index.Dtd5z2rM.js} +1 -1
- streamlit/static/static/js/{index.BnfTPrHb.js → index.DzldU3Hy.js} +1 -1
- streamlit/static/static/js/{index.C0fSEz-3.js → index.GZi6GTJa.js} +1 -1
- streamlit/static/static/js/{index.CYE7b5Du.js → index.LOA31DFn.js} +1 -1
- streamlit/static/static/js/{index.Ca7MUNWJ.js → index.MtwRNvlS.js} +1 -1
- streamlit/static/static/js/{index.BbSFVZ3p.js → index.XHtvnZ0-.js} +1 -1
- streamlit/static/static/js/{index.CvIqsWy1.js → index.Yj6vcyFD.js} +1 -1
- streamlit/static/static/js/{index.BGBTkulf.js → index.b-MrPulo.js} +1 -1
- streamlit/static/static/js/{index.DGYHxruh.js → index.hcUYvTqs.js} +1 -1
- streamlit/static/static/js/{index.CvB9JBqS.js → index.tLZuZM89.js} +6 -6
- streamlit/static/static/js/{index.Xg-Qttib.js → index.wngeYhKj.js} +1 -1
- streamlit/static/static/js/{index.whRT3Vm3.js → index.xCV2qwtw.js} +1 -1
- streamlit/static/static/js/{input.CPzINTl-.js → input.CYXuTqoa.js} +1 -1
- streamlit/static/static/js/{main.DSPn8dUe.js → main.BE-siVKv.js} +1 -1
- streamlit/static/static/js/{memory.CfD8IGoU.js → memory.V554ztRg.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.4Ae0qegV.js → number-overlay-editor.BiUTOXIl.js} +1 -1
- streamlit/static/static/js/{pandasStylerUtils.D2EjZ7k6.js → pandasStylerUtils.Dej3Tstq.js} +1 -1
- streamlit/static/static/js/{sandbox.C6vcPIm0.js → sandbox.gpd7KGMo.js} +1 -1
- streamlit/static/static/js/{styled-components.BBmp8buj.js → styled-components.Coj4dr6D.js} +1 -1
- streamlit/static/static/js/{throttle.BPcPpy-S.js → throttle.gZUdtYp7.js} +1 -1
- streamlit/static/static/js/{timepicker.ryzkTs2C.js → timepicker.B-Y4aU15.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.Dg1nDaB_.js → toConsumableArray.CcKcKvEd.js} +1 -1
- streamlit/static/static/js/uniqueId.PRn3V1WU.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.A4U5lzAm.js → useBasicWidgetState.D-fc_aIL.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.DWJgLlNz.js → useIntlLocale.CY32IeNt.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.BrBonw8t.js → useTextInputAutoExpand.C0jK7TwF.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.BkOWyNVX.js → useUpdateUiValue.CDQloDgB.js} +1 -1
- streamlit/static/static/js/{useWaveformController.CBlvXlgZ.js → useWaveformController.BLEIAIDo.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.D4cpOyNe.js → withCalculatedWidth.B3oSlRC0.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.BMim3w94.js → withFullScreenWrapper.Cw_ebNmr.js} +1 -1
- streamlit/testing/v1/app_test.py +1 -1
- streamlit/user_info.py +225 -166
- streamlit/web/server/starlette/starlette_routes.py +1 -3
- streamlit/web/server/stats_request_handler.py +1 -3
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/RECORD +223 -223
- streamlit/static/static/js/index.CrPjcPY1.js +0 -1
- streamlit/static/static/js/uniqueId.BFHzT5KQ.js +0 -1
- {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.53.1.dev20260114.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.53.1.dev20260114.dist-info}/top_level.txt +0 -0
|
@@ -17,49 +17,49 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import Arrow_pb2 as _Arrow_pb2
|
|
23
|
+
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
|
-
import typing
|
|
25
|
+
import typing as _typing
|
|
26
26
|
|
|
27
27
|
if sys.version_info >= (3, 10):
|
|
28
|
-
|
|
28
|
+
from typing import TypeAlias as _TypeAlias
|
|
29
29
|
else:
|
|
30
|
-
import
|
|
30
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR:
|
|
32
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
33
33
|
|
|
34
|
-
@
|
|
35
|
-
class ArrowNamedDataSet(
|
|
34
|
+
@_typing.final
|
|
35
|
+
class ArrowNamedDataSet(_message.Message):
|
|
36
36
|
"""A dataset that can be referenced by name."""
|
|
37
37
|
|
|
38
|
-
DESCRIPTOR:
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
|
-
NAME_FIELD_NUMBER:
|
|
41
|
-
HAS_NAME_FIELD_NUMBER:
|
|
42
|
-
DATA_FIELD_NUMBER:
|
|
43
|
-
name:
|
|
40
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
41
|
+
HAS_NAME_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
43
|
+
name: _builtins.str
|
|
44
44
|
"""The dataset name."""
|
|
45
|
-
has_name:
|
|
45
|
+
has_name: _builtins.bool
|
|
46
46
|
"""True if the name field (above) was manually set. This is used to get
|
|
47
47
|
around proto3 not having a way to check whether something was set.
|
|
48
48
|
"""
|
|
49
|
-
@property
|
|
50
|
-
def data(self) ->
|
|
49
|
+
@_builtins.property
|
|
50
|
+
def data(self) -> _Arrow_pb2.Arrow:
|
|
51
51
|
"""The data itself."""
|
|
52
52
|
|
|
53
53
|
def __init__(
|
|
54
54
|
self,
|
|
55
55
|
*,
|
|
56
|
-
name:
|
|
57
|
-
has_name:
|
|
58
|
-
data:
|
|
56
|
+
name: _builtins.str = ...,
|
|
57
|
+
has_name: _builtins.bool = ...,
|
|
58
|
+
data: _Arrow_pb2.Arrow | None = ...,
|
|
59
59
|
) -> None: ...
|
|
60
|
-
_HasFieldArgType:
|
|
61
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
62
|
-
_ClearFieldArgType:
|
|
60
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
61
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
62
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "has_name", b"has_name", "name", b"name"] # noqa: Y015
|
|
63
63
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
64
64
|
|
|
65
|
-
Global___ArrowNamedDataSet:
|
|
65
|
+
Global___ArrowNamedDataSet: _TypeAlias = ArrowNamedDataSet # noqa: Y015
|
|
@@ -17,76 +17,76 @@ 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
|
-
|
|
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 streamlit.proto import ArrowNamedDataSet_pb2 as _ArrowNamedDataSet_pb2
|
|
25
|
+
from streamlit.proto import Arrow_pb2 as _Arrow_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 ArrowVegaLiteChart(
|
|
39
|
-
DESCRIPTOR:
|
|
37
|
+
@_typing.final
|
|
38
|
+
class ArrowVegaLiteChart(_message.Message):
|
|
39
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
40
40
|
|
|
41
|
-
SPEC_FIELD_NUMBER:
|
|
42
|
-
DATA_FIELD_NUMBER:
|
|
43
|
-
DATASETS_FIELD_NUMBER:
|
|
44
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
45
|
-
THEME_FIELD_NUMBER:
|
|
46
|
-
ID_FIELD_NUMBER:
|
|
47
|
-
SELECTION_MODE_FIELD_NUMBER:
|
|
48
|
-
FORM_ID_FIELD_NUMBER:
|
|
49
|
-
spec:
|
|
41
|
+
SPEC_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
43
|
+
DATASETS_FIELD_NUMBER: _builtins.int
|
|
44
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
45
|
+
THEME_FIELD_NUMBER: _builtins.int
|
|
46
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
47
|
+
SELECTION_MODE_FIELD_NUMBER: _builtins.int
|
|
48
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
49
|
+
spec: _builtins.str
|
|
50
50
|
"""The a JSON-formatted string with the Vega-Lite spec."""
|
|
51
|
-
use_container_width:
|
|
51
|
+
use_container_width: _builtins.bool
|
|
52
52
|
"""If True, will overwrite the chart width spec to fit to container."""
|
|
53
|
-
theme:
|
|
53
|
+
theme: _builtins.str
|
|
54
54
|
"""override the properties with a theme. Currently, only "streamlit" or None are accepted."""
|
|
55
|
-
id:
|
|
55
|
+
id: _builtins.str
|
|
56
56
|
"""ID, required for selection events."""
|
|
57
|
-
form_id:
|
|
57
|
+
form_id: _builtins.str
|
|
58
58
|
"""The form ID of the widget, this is required if selections are activated on the chart."""
|
|
59
|
-
@property
|
|
60
|
-
def data(self) ->
|
|
59
|
+
@_builtins.property
|
|
60
|
+
def data(self) -> _Arrow_pb2.Arrow:
|
|
61
61
|
"""The dataframe that will be used as the chart's main data source, if
|
|
62
62
|
specified using Vega-Lite's inline API.
|
|
63
63
|
"""
|
|
64
64
|
|
|
65
|
-
@property
|
|
66
|
-
def datasets(self) ->
|
|
65
|
+
@_builtins.property
|
|
66
|
+
def datasets(self) -> _containers.RepeatedCompositeFieldContainer[_ArrowNamedDataSet_pb2.ArrowNamedDataSet]:
|
|
67
67
|
"""Dataframes associated with this chart using Vega-Lite's datasets API, if
|
|
68
68
|
any. The data is either in `data` field or in the `datasets` field.
|
|
69
69
|
"""
|
|
70
70
|
|
|
71
|
-
@property
|
|
72
|
-
def selection_mode(self) ->
|
|
71
|
+
@_builtins.property
|
|
72
|
+
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
73
73
|
"""Named selection parameters that are activated to trigger reruns."""
|
|
74
74
|
|
|
75
75
|
def __init__(
|
|
76
76
|
self,
|
|
77
77
|
*,
|
|
78
|
-
spec:
|
|
79
|
-
data:
|
|
80
|
-
datasets:
|
|
81
|
-
use_container_width:
|
|
82
|
-
theme:
|
|
83
|
-
id:
|
|
84
|
-
selection_mode:
|
|
85
|
-
form_id:
|
|
78
|
+
spec: _builtins.str = ...,
|
|
79
|
+
data: _Arrow_pb2.Arrow | None = ...,
|
|
80
|
+
datasets: _abc.Iterable[_ArrowNamedDataSet_pb2.ArrowNamedDataSet] | None = ...,
|
|
81
|
+
use_container_width: _builtins.bool = ...,
|
|
82
|
+
theme: _builtins.str = ...,
|
|
83
|
+
id: _builtins.str = ...,
|
|
84
|
+
selection_mode: _abc.Iterable[_builtins.str] | None = ...,
|
|
85
|
+
form_id: _builtins.str = ...,
|
|
86
86
|
) -> None: ...
|
|
87
|
-
_HasFieldArgType:
|
|
88
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
89
|
-
_ClearFieldArgType:
|
|
87
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
88
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
89
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "datasets", b"datasets", "form_id", b"form_id", "id", b"id", "selection_mode", b"selection_mode", "spec", b"spec", "theme", b"theme", "use_container_width", b"use_container_width"] # noqa: Y015
|
|
90
90
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
91
91
|
|
|
92
|
-
Global___ArrowVegaLiteChart:
|
|
92
|
+
Global___ArrowVegaLiteChart: _TypeAlias = ArrowVegaLiteChart # noqa: Y015
|
streamlit/proto/Arrow_pb2.pyi
CHANGED
|
@@ -17,32 +17,37 @@ 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
|
|
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
|
+
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
|
-
|
|
34
|
+
if sys.version_info >= (3, 13):
|
|
35
|
+
from warnings import deprecated as _deprecated
|
|
36
|
+
else:
|
|
37
|
+
from typing_extensions import deprecated as _deprecated
|
|
38
|
+
|
|
39
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
35
40
|
|
|
36
|
-
@
|
|
37
|
-
class Arrow(
|
|
38
|
-
DESCRIPTOR:
|
|
41
|
+
@_typing.final
|
|
42
|
+
class Arrow(_message.Message):
|
|
43
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
44
|
|
|
40
45
|
class _EditingMode:
|
|
41
|
-
ValueType =
|
|
42
|
-
V:
|
|
46
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
47
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
48
|
|
|
44
|
-
class _EditingModeEnumTypeWrapper(
|
|
45
|
-
DESCRIPTOR:
|
|
49
|
+
class _EditingModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Arrow._EditingMode.ValueType], _builtins.type):
|
|
50
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
51
|
READ_ONLY: Arrow._EditingMode.ValueType # 0
|
|
47
52
|
"""Read-only table."""
|
|
48
53
|
FIXED: Arrow._EditingMode.ValueType # 1
|
|
@@ -69,11 +74,11 @@ class Arrow(google.protobuf.message.Message):
|
|
|
69
74
|
"""Activates editing and allow deleting rows (no adding)."""
|
|
70
75
|
|
|
71
76
|
class _SelectionMode:
|
|
72
|
-
ValueType =
|
|
73
|
-
V:
|
|
77
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
78
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
74
79
|
|
|
75
|
-
class _SelectionModeEnumTypeWrapper(
|
|
76
|
-
DESCRIPTOR:
|
|
80
|
+
class _SelectionModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Arrow._SelectionMode.ValueType], _builtins.type):
|
|
81
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
77
82
|
SINGLE_ROW: Arrow._SelectionMode.ValueType # 0
|
|
78
83
|
"""Only one row can be selected at a time."""
|
|
79
84
|
MULTI_ROW: Arrow._SelectionMode.ValueType # 1
|
|
@@ -104,11 +109,11 @@ class Arrow(google.protobuf.message.Message):
|
|
|
104
109
|
"""Multiple cells (continuous range) can be selected."""
|
|
105
110
|
|
|
106
111
|
class _BorderMode:
|
|
107
|
-
ValueType =
|
|
108
|
-
V:
|
|
112
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
113
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
109
114
|
|
|
110
|
-
class _BorderModeEnumTypeWrapper(
|
|
111
|
-
DESCRIPTOR:
|
|
115
|
+
class _BorderModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Arrow._BorderMode.ValueType], _builtins.type):
|
|
116
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
112
117
|
ALL: Arrow._BorderMode.ValueType # 0
|
|
113
118
|
"""Show borders around the table and between cells."""
|
|
114
119
|
NONE: Arrow._BorderMode.ValueType # 1
|
|
@@ -126,122 +131,146 @@ class Arrow(google.protobuf.message.Message):
|
|
|
126
131
|
HORIZONTAL: Arrow.BorderMode.ValueType # 2
|
|
127
132
|
"""Show only horizontal borders between rows."""
|
|
128
133
|
|
|
129
|
-
DATA_FIELD_NUMBER:
|
|
130
|
-
STYLER_FIELD_NUMBER:
|
|
131
|
-
WIDTH_FIELD_NUMBER:
|
|
132
|
-
HEIGHT_FIELD_NUMBER:
|
|
133
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
134
|
-
ID_FIELD_NUMBER:
|
|
135
|
-
COLUMNS_FIELD_NUMBER:
|
|
136
|
-
EDITING_MODE_FIELD_NUMBER:
|
|
137
|
-
DISABLED_FIELD_NUMBER:
|
|
138
|
-
FORM_ID_FIELD_NUMBER:
|
|
139
|
-
COLUMN_ORDER_FIELD_NUMBER:
|
|
140
|
-
SELECTION_MODE_FIELD_NUMBER:
|
|
141
|
-
ROW_HEIGHT_FIELD_NUMBER:
|
|
142
|
-
BORDER_MODE_FIELD_NUMBER:
|
|
143
|
-
PLACEHOLDER_FIELD_NUMBER:
|
|
144
|
-
data:
|
|
134
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
135
|
+
STYLER_FIELD_NUMBER: _builtins.int
|
|
136
|
+
WIDTH_FIELD_NUMBER: _builtins.int
|
|
137
|
+
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
138
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
139
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
140
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
141
|
+
EDITING_MODE_FIELD_NUMBER: _builtins.int
|
|
142
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
143
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
144
|
+
COLUMN_ORDER_FIELD_NUMBER: _builtins.int
|
|
145
|
+
SELECTION_MODE_FIELD_NUMBER: _builtins.int
|
|
146
|
+
ROW_HEIGHT_FIELD_NUMBER: _builtins.int
|
|
147
|
+
BORDER_MODE_FIELD_NUMBER: _builtins.int
|
|
148
|
+
PLACEHOLDER_FIELD_NUMBER: _builtins.int
|
|
149
|
+
data: _builtins.bytes
|
|
145
150
|
"""The serialized arrow dataframe"""
|
|
146
|
-
|
|
147
|
-
"""
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
@_builtins.property
|
|
152
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
153
|
+
def width(self) -> _builtins.int:
|
|
154
|
+
"""DEPRECATED: Width in pixels. Use Element.width_config instead."""
|
|
155
|
+
|
|
156
|
+
@width.setter
|
|
157
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
158
|
+
def width(self, value: _builtins.int) -> None:
|
|
159
|
+
"""DEPRECATED: Width in pixels. Use Element.width_config instead."""
|
|
160
|
+
|
|
161
|
+
@_builtins.property
|
|
162
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
163
|
+
def height(self) -> _builtins.int:
|
|
164
|
+
"""DEPRECATED: Height in pixels. Use Element.height_config instead."""
|
|
165
|
+
|
|
166
|
+
@height.setter
|
|
167
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
168
|
+
def height(self, value: _builtins.int) -> None:
|
|
169
|
+
"""DEPRECATED: Height in pixels. Use Element.height_config instead."""
|
|
170
|
+
|
|
171
|
+
@_builtins.property
|
|
172
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
173
|
+
def use_container_width(self) -> _builtins.bool:
|
|
174
|
+
"""DEPRECATED: Use Element.width_config.use_stretch instead."""
|
|
175
|
+
|
|
176
|
+
@use_container_width.setter
|
|
177
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
178
|
+
def use_container_width(self, value: _builtins.bool) -> None:
|
|
179
|
+
"""DEPRECATED: Use Element.width_config.use_stretch instead."""
|
|
180
|
+
|
|
181
|
+
id: _builtins.str
|
|
153
182
|
"""The id of the widget, this is required if the dataframe is editable"""
|
|
154
|
-
columns:
|
|
183
|
+
columns: _builtins.str
|
|
155
184
|
"""Column configuration as JSON"""
|
|
156
185
|
editing_mode: Global___Arrow.EditingMode.ValueType
|
|
157
186
|
"""Activate table editing"""
|
|
158
|
-
disabled:
|
|
187
|
+
disabled: _builtins.bool
|
|
159
188
|
"""Deactivates editing"""
|
|
160
|
-
form_id:
|
|
189
|
+
form_id: _builtins.str
|
|
161
190
|
"""The form ID of the widget, this is required if the dataframe is editable"""
|
|
162
|
-
row_height:
|
|
191
|
+
row_height: _builtins.int
|
|
163
192
|
"""Row height in pixels"""
|
|
164
193
|
border_mode: Global___Arrow.BorderMode.ValueType
|
|
165
194
|
"""How to show borders around the table and between cells. Note that this property
|
|
166
195
|
is only used for `st.table` at the moment.
|
|
167
196
|
"""
|
|
168
|
-
placeholder:
|
|
197
|
+
placeholder: _builtins.str
|
|
169
198
|
"""Placeholder string used when rendering missing values (e.g. nulls, NaNs)."""
|
|
170
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
171
200
|
def styler(self) -> Global___Styler:
|
|
172
201
|
"""Pandas styler information"""
|
|
173
202
|
|
|
174
|
-
@property
|
|
175
|
-
def column_order(self) ->
|
|
203
|
+
@_builtins.property
|
|
204
|
+
def column_order(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
176
205
|
"""Defines the order in which columns are displayed"""
|
|
177
206
|
|
|
178
|
-
@property
|
|
179
|
-
def selection_mode(self) ->
|
|
207
|
+
@_builtins.property
|
|
208
|
+
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[Global___Arrow.SelectionMode.ValueType]:
|
|
180
209
|
"""Activated dataframe selections events"""
|
|
181
210
|
|
|
182
211
|
def __init__(
|
|
183
212
|
self,
|
|
184
213
|
*,
|
|
185
|
-
data:
|
|
214
|
+
data: _builtins.bytes = ...,
|
|
186
215
|
styler: Global___Styler | None = ...,
|
|
187
|
-
width:
|
|
188
|
-
height:
|
|
189
|
-
use_container_width:
|
|
190
|
-
id:
|
|
191
|
-
columns:
|
|
216
|
+
width: _builtins.int = ...,
|
|
217
|
+
height: _builtins.int = ...,
|
|
218
|
+
use_container_width: _builtins.bool = ...,
|
|
219
|
+
id: _builtins.str = ...,
|
|
220
|
+
columns: _builtins.str = ...,
|
|
192
221
|
editing_mode: Global___Arrow.EditingMode.ValueType = ...,
|
|
193
|
-
disabled:
|
|
194
|
-
form_id:
|
|
195
|
-
column_order:
|
|
196
|
-
selection_mode:
|
|
197
|
-
row_height:
|
|
222
|
+
disabled: _builtins.bool = ...,
|
|
223
|
+
form_id: _builtins.str = ...,
|
|
224
|
+
column_order: _abc.Iterable[_builtins.str] | None = ...,
|
|
225
|
+
selection_mode: _abc.Iterable[Global___Arrow.SelectionMode.ValueType] | None = ...,
|
|
226
|
+
row_height: _builtins.int | None = ...,
|
|
198
227
|
border_mode: Global___Arrow.BorderMode.ValueType = ...,
|
|
199
|
-
placeholder:
|
|
228
|
+
placeholder: _builtins.str | None = ...,
|
|
200
229
|
) -> None: ...
|
|
201
|
-
_HasFieldArgType:
|
|
202
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
203
|
-
_ClearFieldArgType:
|
|
230
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "placeholder", b"placeholder", "row_height", b"row_height", "styler", b"styler"] # noqa: Y015
|
|
231
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
232
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder", "_row_height", b"_row_height", "border_mode", b"border_mode", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "height", b"height", "id", b"id", "placeholder", b"placeholder", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler", "use_container_width", b"use_container_width", "width", b"width"] # noqa: Y015
|
|
204
233
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
205
|
-
_WhichOneofReturnType__placeholder:
|
|
206
|
-
_WhichOneofArgType__placeholder:
|
|
207
|
-
_WhichOneofReturnType__row_height:
|
|
208
|
-
_WhichOneofArgType__row_height:
|
|
209
|
-
@
|
|
234
|
+
_WhichOneofReturnType__placeholder: _TypeAlias = _typing.Literal["placeholder"] # noqa: Y015
|
|
235
|
+
_WhichOneofArgType__placeholder: _TypeAlias = _typing.Literal["_placeholder", b"_placeholder"] # noqa: Y015
|
|
236
|
+
_WhichOneofReturnType__row_height: _TypeAlias = _typing.Literal["row_height"] # noqa: Y015
|
|
237
|
+
_WhichOneofArgType__row_height: _TypeAlias = _typing.Literal["_row_height", b"_row_height"] # noqa: Y015
|
|
238
|
+
@_typing.overload
|
|
210
239
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__placeholder) -> _WhichOneofReturnType__placeholder | None: ...
|
|
211
|
-
@
|
|
240
|
+
@_typing.overload
|
|
212
241
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__row_height) -> _WhichOneofReturnType__row_height | None: ...
|
|
213
242
|
|
|
214
|
-
Global___Arrow:
|
|
243
|
+
Global___Arrow: _TypeAlias = Arrow # noqa: Y015
|
|
215
244
|
|
|
216
|
-
@
|
|
217
|
-
class Styler(
|
|
218
|
-
DESCRIPTOR:
|
|
245
|
+
@_typing.final
|
|
246
|
+
class Styler(_message.Message):
|
|
247
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
219
248
|
|
|
220
|
-
UUID_FIELD_NUMBER:
|
|
221
|
-
CAPTION_FIELD_NUMBER:
|
|
222
|
-
STYLES_FIELD_NUMBER:
|
|
223
|
-
DISPLAY_VALUES_FIELD_NUMBER:
|
|
224
|
-
uuid:
|
|
249
|
+
UUID_FIELD_NUMBER: _builtins.int
|
|
250
|
+
CAPTION_FIELD_NUMBER: _builtins.int
|
|
251
|
+
STYLES_FIELD_NUMBER: _builtins.int
|
|
252
|
+
DISPLAY_VALUES_FIELD_NUMBER: _builtins.int
|
|
253
|
+
uuid: _builtins.str
|
|
225
254
|
"""The Styler's source UUID (if the user provided one), or the path-based
|
|
226
255
|
hash that we generate (if no source UUID was provided).
|
|
227
256
|
"""
|
|
228
|
-
caption:
|
|
257
|
+
caption: _builtins.str
|
|
229
258
|
"""The table's caption."""
|
|
230
|
-
styles:
|
|
259
|
+
styles: _builtins.str
|
|
231
260
|
"""`styles` contains the CSS for the entire source table."""
|
|
232
|
-
display_values:
|
|
261
|
+
display_values: _builtins.bytes
|
|
233
262
|
"""display_values is another ArrowTable: a copy of the source table, but
|
|
234
263
|
with all the display values formatted to the user-specified rules.
|
|
235
264
|
"""
|
|
236
265
|
def __init__(
|
|
237
266
|
self,
|
|
238
267
|
*,
|
|
239
|
-
uuid:
|
|
240
|
-
caption:
|
|
241
|
-
styles:
|
|
242
|
-
display_values:
|
|
268
|
+
uuid: _builtins.str = ...,
|
|
269
|
+
caption: _builtins.str = ...,
|
|
270
|
+
styles: _builtins.str = ...,
|
|
271
|
+
display_values: _builtins.bytes = ...,
|
|
243
272
|
) -> None: ...
|
|
244
|
-
_ClearFieldArgType:
|
|
273
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["caption", b"caption", "display_values", b"display_values", "styles", b"styles", "uuid", b"uuid"] # noqa: Y015
|
|
245
274
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
246
275
|
|
|
247
|
-
Global___Styler:
|
|
276
|
+
Global___Styler: _TypeAlias = Styler # noqa: Y015
|
|
@@ -17,56 +17,56 @@ See the License for the specific language governing permissions and
|
|
|
17
17
|
limitations under the License.
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_pb2
|
|
23
|
+
import builtins as _builtins
|
|
24
24
|
import sys
|
|
25
|
-
import typing
|
|
25
|
+
import typing as _typing
|
|
26
26
|
|
|
27
27
|
if sys.version_info >= (3, 10):
|
|
28
|
-
|
|
28
|
+
from typing import TypeAlias as _TypeAlias
|
|
29
29
|
else:
|
|
30
|
-
import
|
|
30
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR:
|
|
32
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
33
33
|
|
|
34
|
-
@
|
|
35
|
-
class AudioInput(
|
|
36
|
-
DESCRIPTOR:
|
|
34
|
+
@_typing.final
|
|
35
|
+
class AudioInput(_message.Message):
|
|
36
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
37
37
|
|
|
38
|
-
ID_FIELD_NUMBER:
|
|
39
|
-
LABEL_FIELD_NUMBER:
|
|
40
|
-
HELP_FIELD_NUMBER:
|
|
41
|
-
FORM_ID_FIELD_NUMBER:
|
|
42
|
-
DISABLED_FIELD_NUMBER:
|
|
43
|
-
LABEL_VISIBILITY_FIELD_NUMBER:
|
|
44
|
-
SAMPLE_RATE_FIELD_NUMBER:
|
|
45
|
-
id:
|
|
46
|
-
label:
|
|
47
|
-
help:
|
|
48
|
-
form_id:
|
|
49
|
-
disabled:
|
|
50
|
-
sample_rate:
|
|
51
|
-
@property
|
|
52
|
-
def label_visibility(self) ->
|
|
38
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
39
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
40
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
41
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
43
|
+
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
44
|
+
SAMPLE_RATE_FIELD_NUMBER: _builtins.int
|
|
45
|
+
id: _builtins.str
|
|
46
|
+
label: _builtins.str
|
|
47
|
+
help: _builtins.str
|
|
48
|
+
form_id: _builtins.str
|
|
49
|
+
disabled: _builtins.bool
|
|
50
|
+
sample_rate: _builtins.int
|
|
51
|
+
@_builtins.property
|
|
52
|
+
def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
53
53
|
def __init__(
|
|
54
54
|
self,
|
|
55
55
|
*,
|
|
56
|
-
id:
|
|
57
|
-
label:
|
|
58
|
-
help:
|
|
59
|
-
form_id:
|
|
60
|
-
disabled:
|
|
61
|
-
label_visibility:
|
|
62
|
-
sample_rate:
|
|
56
|
+
id: _builtins.str = ...,
|
|
57
|
+
label: _builtins.str = ...,
|
|
58
|
+
help: _builtins.str = ...,
|
|
59
|
+
form_id: _builtins.str = ...,
|
|
60
|
+
disabled: _builtins.bool = ...,
|
|
61
|
+
label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
62
|
+
sample_rate: _builtins.int | None = ...,
|
|
63
63
|
) -> None: ...
|
|
64
|
-
_HasFieldArgType:
|
|
65
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
66
|
-
_ClearFieldArgType:
|
|
64
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_sample_rate", b"_sample_rate", "label_visibility", b"label_visibility", "sample_rate", b"sample_rate"] # noqa: Y015
|
|
65
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
66
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_sample_rate", b"_sample_rate", "disabled", b"disabled", "form_id", b"form_id", "help", b"help", "id", b"id", "label", b"label", "label_visibility", b"label_visibility", "sample_rate", b"sample_rate"] # noqa: Y015
|
|
67
67
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
68
|
-
_WhichOneofReturnType__sample_rate:
|
|
69
|
-
_WhichOneofArgType__sample_rate:
|
|
68
|
+
_WhichOneofReturnType__sample_rate: _TypeAlias = _typing.Literal["sample_rate"] # noqa: Y015
|
|
69
|
+
_WhichOneofArgType__sample_rate: _TypeAlias = _typing.Literal["_sample_rate", b"_sample_rate"] # noqa: Y015
|
|
70
70
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__sample_rate) -> _WhichOneofReturnType__sample_rate | None: ...
|
|
71
71
|
|
|
72
|
-
Global___AudioInput:
|
|
72
|
+
Global___AudioInput: _TypeAlias = AudioInput # noqa: Y015
|