streamlit-nightly 1.52.3.dev20260112__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 +1 -1
- 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/testing/v1/app_test.py +1 -1
- 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.52.3.dev20260113.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/RECORD +119 -119
- {streamlit_nightly-1.52.3.dev20260112.data → streamlit_nightly-1.52.3.dev20260113.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.52.3.dev20260112.dist-info → streamlit_nightly-1.52.3.dev20260113.dist-info}/top_level.txt +0 -0
|
@@ -17,75 +17,75 @@ 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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_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 DateInput(
|
|
38
|
-
DESCRIPTOR:
|
|
36
|
+
@_typing.final
|
|
37
|
+
class DateInput(_message.Message):
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
|
-
ID_FIELD_NUMBER:
|
|
41
|
-
LABEL_FIELD_NUMBER:
|
|
42
|
-
DEFAULT_FIELD_NUMBER:
|
|
43
|
-
MIN_FIELD_NUMBER:
|
|
44
|
-
MAX_FIELD_NUMBER:
|
|
45
|
-
IS_RANGE_FIELD_NUMBER:
|
|
46
|
-
HELP_FIELD_NUMBER:
|
|
47
|
-
FORM_ID_FIELD_NUMBER:
|
|
48
|
-
VALUE_FIELD_NUMBER:
|
|
49
|
-
SET_VALUE_FIELD_NUMBER:
|
|
50
|
-
DISABLED_FIELD_NUMBER:
|
|
51
|
-
LABEL_VISIBILITY_FIELD_NUMBER:
|
|
52
|
-
FORMAT_FIELD_NUMBER:
|
|
53
|
-
id:
|
|
54
|
-
label:
|
|
55
|
-
min:
|
|
56
|
-
max:
|
|
57
|
-
is_range:
|
|
58
|
-
help:
|
|
59
|
-
form_id:
|
|
60
|
-
set_value:
|
|
61
|
-
disabled:
|
|
62
|
-
format:
|
|
63
|
-
@property
|
|
64
|
-
def default(self) ->
|
|
65
|
-
@property
|
|
66
|
-
def value(self) ->
|
|
67
|
-
@property
|
|
68
|
-
def label_visibility(self) ->
|
|
40
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
41
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DEFAULT_FIELD_NUMBER: _builtins.int
|
|
43
|
+
MIN_FIELD_NUMBER: _builtins.int
|
|
44
|
+
MAX_FIELD_NUMBER: _builtins.int
|
|
45
|
+
IS_RANGE_FIELD_NUMBER: _builtins.int
|
|
46
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
47
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
48
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
49
|
+
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
50
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
51
|
+
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
52
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
53
|
+
id: _builtins.str
|
|
54
|
+
label: _builtins.str
|
|
55
|
+
min: _builtins.str
|
|
56
|
+
max: _builtins.str
|
|
57
|
+
is_range: _builtins.bool
|
|
58
|
+
help: _builtins.str
|
|
59
|
+
form_id: _builtins.str
|
|
60
|
+
set_value: _builtins.bool
|
|
61
|
+
disabled: _builtins.bool
|
|
62
|
+
format: _builtins.str
|
|
63
|
+
@_builtins.property
|
|
64
|
+
def default(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
65
|
+
@_builtins.property
|
|
66
|
+
def value(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
67
|
+
@_builtins.property
|
|
68
|
+
def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
69
69
|
def __init__(
|
|
70
70
|
self,
|
|
71
71
|
*,
|
|
72
|
-
id:
|
|
73
|
-
label:
|
|
74
|
-
default:
|
|
75
|
-
min:
|
|
76
|
-
max:
|
|
77
|
-
is_range:
|
|
78
|
-
help:
|
|
79
|
-
form_id:
|
|
80
|
-
value:
|
|
81
|
-
set_value:
|
|
82
|
-
disabled:
|
|
83
|
-
label_visibility:
|
|
84
|
-
format:
|
|
72
|
+
id: _builtins.str = ...,
|
|
73
|
+
label: _builtins.str = ...,
|
|
74
|
+
default: _abc.Iterable[_builtins.str] | None = ...,
|
|
75
|
+
min: _builtins.str = ...,
|
|
76
|
+
max: _builtins.str = ...,
|
|
77
|
+
is_range: _builtins.bool = ...,
|
|
78
|
+
help: _builtins.str = ...,
|
|
79
|
+
form_id: _builtins.str = ...,
|
|
80
|
+
value: _abc.Iterable[_builtins.str] | None = ...,
|
|
81
|
+
set_value: _builtins.bool = ...,
|
|
82
|
+
disabled: _builtins.bool = ...,
|
|
83
|
+
label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
84
|
+
format: _builtins.str = ...,
|
|
85
85
|
) -> None: ...
|
|
86
|
-
_HasFieldArgType:
|
|
87
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
88
|
-
_ClearFieldArgType:
|
|
86
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
87
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
88
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "value", b"value"] # noqa: Y015
|
|
89
89
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
90
90
|
|
|
91
|
-
Global___DateInput:
|
|
91
|
+
Global___DateInput: _TypeAlias = DateInput # noqa: Y015
|
|
@@ -17,78 +17,78 @@ 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 LabelVisibilityMessage_pb2 as _LabelVisibilityMessage_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 DateTimeInput(
|
|
38
|
-
DESCRIPTOR:
|
|
36
|
+
@_typing.final
|
|
37
|
+
class DateTimeInput(_message.Message):
|
|
38
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
39
|
|
|
40
|
-
ID_FIELD_NUMBER:
|
|
41
|
-
LABEL_FIELD_NUMBER:
|
|
42
|
-
DEFAULT_FIELD_NUMBER:
|
|
43
|
-
MIN_FIELD_NUMBER:
|
|
44
|
-
MAX_FIELD_NUMBER:
|
|
45
|
-
HELP_FIELD_NUMBER:
|
|
46
|
-
FORM_ID_FIELD_NUMBER:
|
|
47
|
-
VALUE_FIELD_NUMBER:
|
|
48
|
-
SET_VALUE_FIELD_NUMBER:
|
|
49
|
-
DISABLED_FIELD_NUMBER:
|
|
50
|
-
LABEL_VISIBILITY_FIELD_NUMBER:
|
|
51
|
-
FORMAT_FIELD_NUMBER:
|
|
52
|
-
STEP_FIELD_NUMBER:
|
|
53
|
-
IS_RANGE_FIELD_NUMBER:
|
|
54
|
-
id:
|
|
55
|
-
label:
|
|
56
|
-
min:
|
|
57
|
-
max:
|
|
58
|
-
help:
|
|
59
|
-
form_id:
|
|
60
|
-
set_value:
|
|
61
|
-
disabled:
|
|
62
|
-
format:
|
|
63
|
-
step:
|
|
64
|
-
is_range:
|
|
65
|
-
@property
|
|
66
|
-
def default(self) ->
|
|
67
|
-
@property
|
|
68
|
-
def value(self) ->
|
|
69
|
-
@property
|
|
70
|
-
def label_visibility(self) ->
|
|
40
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
41
|
+
LABEL_FIELD_NUMBER: _builtins.int
|
|
42
|
+
DEFAULT_FIELD_NUMBER: _builtins.int
|
|
43
|
+
MIN_FIELD_NUMBER: _builtins.int
|
|
44
|
+
MAX_FIELD_NUMBER: _builtins.int
|
|
45
|
+
HELP_FIELD_NUMBER: _builtins.int
|
|
46
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
47
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
48
|
+
SET_VALUE_FIELD_NUMBER: _builtins.int
|
|
49
|
+
DISABLED_FIELD_NUMBER: _builtins.int
|
|
50
|
+
LABEL_VISIBILITY_FIELD_NUMBER: _builtins.int
|
|
51
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
52
|
+
STEP_FIELD_NUMBER: _builtins.int
|
|
53
|
+
IS_RANGE_FIELD_NUMBER: _builtins.int
|
|
54
|
+
id: _builtins.str
|
|
55
|
+
label: _builtins.str
|
|
56
|
+
min: _builtins.str
|
|
57
|
+
max: _builtins.str
|
|
58
|
+
help: _builtins.str
|
|
59
|
+
form_id: _builtins.str
|
|
60
|
+
set_value: _builtins.bool
|
|
61
|
+
disabled: _builtins.bool
|
|
62
|
+
format: _builtins.str
|
|
63
|
+
step: _builtins.int
|
|
64
|
+
is_range: _builtins.bool
|
|
65
|
+
@_builtins.property
|
|
66
|
+
def default(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
67
|
+
@_builtins.property
|
|
68
|
+
def value(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
69
|
+
@_builtins.property
|
|
70
|
+
def label_visibility(self) -> _LabelVisibilityMessage_pb2.LabelVisibilityMessage: ...
|
|
71
71
|
def __init__(
|
|
72
72
|
self,
|
|
73
73
|
*,
|
|
74
|
-
id:
|
|
75
|
-
label:
|
|
76
|
-
default:
|
|
77
|
-
min:
|
|
78
|
-
max:
|
|
79
|
-
help:
|
|
80
|
-
form_id:
|
|
81
|
-
value:
|
|
82
|
-
set_value:
|
|
83
|
-
disabled:
|
|
84
|
-
label_visibility:
|
|
85
|
-
format:
|
|
86
|
-
step:
|
|
87
|
-
is_range:
|
|
74
|
+
id: _builtins.str = ...,
|
|
75
|
+
label: _builtins.str = ...,
|
|
76
|
+
default: _abc.Iterable[_builtins.str] | None = ...,
|
|
77
|
+
min: _builtins.str = ...,
|
|
78
|
+
max: _builtins.str = ...,
|
|
79
|
+
help: _builtins.str = ...,
|
|
80
|
+
form_id: _builtins.str = ...,
|
|
81
|
+
value: _abc.Iterable[_builtins.str] | None = ...,
|
|
82
|
+
set_value: _builtins.bool = ...,
|
|
83
|
+
disabled: _builtins.bool = ...,
|
|
84
|
+
label_visibility: _LabelVisibilityMessage_pb2.LabelVisibilityMessage | None = ...,
|
|
85
|
+
format: _builtins.str = ...,
|
|
86
|
+
step: _builtins.int = ...,
|
|
87
|
+
is_range: _builtins.bool = ...,
|
|
88
88
|
) -> None: ...
|
|
89
|
-
_HasFieldArgType:
|
|
90
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
91
|
-
_ClearFieldArgType:
|
|
89
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["label_visibility", b"label_visibility"] # noqa: Y015
|
|
90
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
91
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["default", b"default", "disabled", b"disabled", "form_id", b"form_id", "format", b"format", "help", b"help", "id", b"id", "is_range", b"is_range", "label", b"label", "label_visibility", b"label_visibility", "max", b"max", "min", b"min", "set_value", b"set_value", "step", b"step", "value", b"value"] # noqa: Y015
|
|
92
92
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
93
93
|
|
|
94
|
-
Global___DateTimeInput:
|
|
94
|
+
Global___DateTimeInput: _TypeAlias = DateTimeInput # noqa: Y015
|
|
@@ -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 DeckGlJsonChart(
|
|
38
|
-
DESCRIPTOR:
|
|
41
|
+
@_typing.final
|
|
42
|
+
class DeckGlJsonChart(_message.Message):
|
|
43
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
39
44
|
|
|
40
45
|
class _SelectionMode:
|
|
41
|
-
ValueType =
|
|
42
|
-
V:
|
|
46
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
47
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
43
48
|
|
|
44
|
-
class _SelectionModeEnumTypeWrapper(
|
|
45
|
-
DESCRIPTOR:
|
|
49
|
+
class _SelectionModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[DeckGlJsonChart._SelectionMode.ValueType], _builtins.type):
|
|
50
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
51
|
SINGLE_OBJECT: DeckGlJsonChart._SelectionMode.ValueType # 0
|
|
47
52
|
"""Only one object can be selected at a time."""
|
|
48
53
|
MULTI_OBJECT: DeckGlJsonChart._SelectionMode.ValueType # 1
|
|
@@ -56,54 +61,84 @@ class DeckGlJsonChart(google.protobuf.message.Message):
|
|
|
56
61
|
MULTI_OBJECT: DeckGlJsonChart.SelectionMode.ValueType # 1
|
|
57
62
|
"""Multiple objects can be selected at a time."""
|
|
58
63
|
|
|
59
|
-
JSON_FIELD_NUMBER:
|
|
60
|
-
TOOLTIP_FIELD_NUMBER:
|
|
61
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
62
|
-
ID_FIELD_NUMBER:
|
|
63
|
-
MAPBOX_TOKEN_FIELD_NUMBER:
|
|
64
|
-
WIDTH_FIELD_NUMBER:
|
|
65
|
-
HEIGHT_FIELD_NUMBER:
|
|
66
|
-
SELECTION_MODE_FIELD_NUMBER:
|
|
67
|
-
FORM_ID_FIELD_NUMBER:
|
|
68
|
-
json:
|
|
64
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
65
|
+
TOOLTIP_FIELD_NUMBER: _builtins.int
|
|
66
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
67
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
68
|
+
MAPBOX_TOKEN_FIELD_NUMBER: _builtins.int
|
|
69
|
+
WIDTH_FIELD_NUMBER: _builtins.int
|
|
70
|
+
HEIGHT_FIELD_NUMBER: _builtins.int
|
|
71
|
+
SELECTION_MODE_FIELD_NUMBER: _builtins.int
|
|
72
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
73
|
+
json: _builtins.str
|
|
69
74
|
"""The json of the pydeck object (https://deckgl.readthedocs.io/en/latest/deck.html)"""
|
|
70
|
-
tooltip:
|
|
71
|
-
|
|
72
|
-
"""
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
tooltip: _builtins.str
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
78
|
+
def use_container_width(self) -> _builtins.bool:
|
|
79
|
+
"""DEPRECATED: If True, will overwrite the chart width spec to fit to container.
|
|
80
|
+
Use widthConfig in layout configuration instead.
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
@use_container_width.setter
|
|
84
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
85
|
+
def use_container_width(self, value: _builtins.bool) -> None:
|
|
86
|
+
"""DEPRECATED: If True, will overwrite the chart width spec to fit to container.
|
|
87
|
+
Use widthConfig in layout configuration instead.
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
id: _builtins.str
|
|
76
91
|
"""ID, required for selection events."""
|
|
77
|
-
mapbox_token:
|
|
92
|
+
mapbox_token: _builtins.str
|
|
78
93
|
"""The Mapbox token, if any."""
|
|
79
|
-
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
96
|
+
def width(self) -> _builtins.int:
|
|
97
|
+
"""DEPRECATED: Width in pixels
|
|
98
|
+
Use widthConfig in layout configuration instead.
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
@width.setter
|
|
102
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
103
|
+
def width(self, value: _builtins.int) -> None:
|
|
104
|
+
"""DEPRECATED: Width in pixels
|
|
105
|
+
Use widthConfig in layout configuration instead.
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
@_builtins.property
|
|
109
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
110
|
+
def height(self) -> _builtins.int:
|
|
111
|
+
"""DEPRECATED: Height in pixels
|
|
112
|
+
Use heightConfig in layout configuration instead.
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
@height.setter
|
|
116
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
117
|
+
def height(self, value: _builtins.int) -> None:
|
|
118
|
+
"""DEPRECATED: Height in pixels
|
|
119
|
+
Use heightConfig in layout configuration instead.
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
form_id: _builtins.str
|
|
88
123
|
"""The form ID of the widget, this is required if the chart has selection events"""
|
|
89
|
-
@property
|
|
90
|
-
def selection_mode(self) ->
|
|
124
|
+
@_builtins.property
|
|
125
|
+
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[Global___DeckGlJsonChart.SelectionMode.ValueType]:
|
|
91
126
|
"""If non-empty, treat this instance as a Widget"""
|
|
92
127
|
|
|
93
128
|
def __init__(
|
|
94
129
|
self,
|
|
95
130
|
*,
|
|
96
|
-
json:
|
|
97
|
-
tooltip:
|
|
98
|
-
use_container_width:
|
|
99
|
-
id:
|
|
100
|
-
mapbox_token:
|
|
101
|
-
width:
|
|
102
|
-
height:
|
|
103
|
-
selection_mode:
|
|
104
|
-
form_id:
|
|
131
|
+
json: _builtins.str = ...,
|
|
132
|
+
tooltip: _builtins.str = ...,
|
|
133
|
+
use_container_width: _builtins.bool = ...,
|
|
134
|
+
id: _builtins.str = ...,
|
|
135
|
+
mapbox_token: _builtins.str = ...,
|
|
136
|
+
width: _builtins.int = ...,
|
|
137
|
+
height: _builtins.int = ...,
|
|
138
|
+
selection_mode: _abc.Iterable[Global___DeckGlJsonChart.SelectionMode.ValueType] | None = ...,
|
|
139
|
+
form_id: _builtins.str = ...,
|
|
105
140
|
) -> None: ...
|
|
106
|
-
_ClearFieldArgType:
|
|
141
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["form_id", b"form_id", "height", b"height", "id", b"id", "json", b"json", "mapbox_token", b"mapbox_token", "selection_mode", b"selection_mode", "tooltip", b"tooltip", "use_container_width", b"use_container_width", "width", b"width"] # noqa: Y015
|
|
107
142
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
108
143
|
|
|
109
|
-
Global___DeckGlJsonChart:
|
|
144
|
+
Global___DeckGlJsonChart: _TypeAlias = DeckGlJsonChart # noqa: Y015
|
streamlit/proto/Delta_pb2.pyi
CHANGED
|
@@ -17,75 +17,75 @@ 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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import ArrowNamedDataSet_pb2 as _ArrowNamedDataSet_pb2
|
|
23
|
+
from streamlit.proto import Block_pb2 as _Block_pb2
|
|
24
|
+
from streamlit.proto import Element_pb2 as _Element_pb2
|
|
25
|
+
from streamlit.proto import NamedDataSet_pb2 as _NamedDataSet_pb2
|
|
26
|
+
from streamlit.proto import Transient_pb2 as _Transient_pb2
|
|
27
|
+
import builtins as _builtins
|
|
28
28
|
import sys
|
|
29
|
-
import typing
|
|
29
|
+
import typing as _typing
|
|
30
30
|
|
|
31
31
|
if sys.version_info >= (3, 10):
|
|
32
|
-
|
|
32
|
+
from typing import TypeAlias as _TypeAlias
|
|
33
33
|
else:
|
|
34
|
-
import
|
|
34
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
35
35
|
|
|
36
|
-
DESCRIPTOR:
|
|
36
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
37
37
|
|
|
38
|
-
@
|
|
39
|
-
class Delta(
|
|
38
|
+
@_typing.final
|
|
39
|
+
class Delta(_message.Message):
|
|
40
40
|
"""A change to an element."""
|
|
41
41
|
|
|
42
|
-
DESCRIPTOR:
|
|
42
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
43
43
|
|
|
44
|
-
NEW_ELEMENT_FIELD_NUMBER:
|
|
45
|
-
ADD_BLOCK_FIELD_NUMBER:
|
|
46
|
-
NEW_TRANSIENT_FIELD_NUMBER:
|
|
47
|
-
ADD_ROWS_FIELD_NUMBER:
|
|
48
|
-
ARROW_ADD_ROWS_FIELD_NUMBER:
|
|
49
|
-
FRAGMENT_ID_FIELD_NUMBER:
|
|
50
|
-
fragment_id:
|
|
51
|
-
@property
|
|
52
|
-
def new_element(self) ->
|
|
44
|
+
NEW_ELEMENT_FIELD_NUMBER: _builtins.int
|
|
45
|
+
ADD_BLOCK_FIELD_NUMBER: _builtins.int
|
|
46
|
+
NEW_TRANSIENT_FIELD_NUMBER: _builtins.int
|
|
47
|
+
ADD_ROWS_FIELD_NUMBER: _builtins.int
|
|
48
|
+
ARROW_ADD_ROWS_FIELD_NUMBER: _builtins.int
|
|
49
|
+
FRAGMENT_ID_FIELD_NUMBER: _builtins.int
|
|
50
|
+
fragment_id: _builtins.str
|
|
51
|
+
@_builtins.property
|
|
52
|
+
def new_element(self) -> _Element_pb2.Element:
|
|
53
53
|
"""Append a new element to the frontend."""
|
|
54
54
|
|
|
55
|
-
@property
|
|
56
|
-
def add_block(self) ->
|
|
55
|
+
@_builtins.property
|
|
56
|
+
def add_block(self) -> _Block_pb2.Block:
|
|
57
57
|
"""Append a new block to the frontend."""
|
|
58
58
|
|
|
59
|
-
@property
|
|
60
|
-
def new_transient(self) ->
|
|
59
|
+
@_builtins.property
|
|
60
|
+
def new_transient(self) -> _Transient_pb2.Transient:
|
|
61
61
|
"""Append a new transient element (e.g. spinner) to the frontend."""
|
|
62
62
|
|
|
63
|
-
@property
|
|
64
|
-
def add_rows(self) ->
|
|
63
|
+
@_builtins.property
|
|
64
|
+
def add_rows(self) -> _NamedDataSet_pb2.NamedDataSet:
|
|
65
65
|
"""Append data to a DataFrame in for current element. The element to add to
|
|
66
66
|
is identified by the ID field, above. The dataframe is identified either
|
|
67
67
|
by NamedDataSet.name or by setting NamedDataSet.has_name to false.
|
|
68
68
|
All elements that contain a DataFrame should support add_rows.
|
|
69
69
|
"""
|
|
70
70
|
|
|
71
|
-
@property
|
|
72
|
-
def arrow_add_rows(self) ->
|
|
71
|
+
@_builtins.property
|
|
72
|
+
def arrow_add_rows(self) -> _ArrowNamedDataSet_pb2.ArrowNamedDataSet: ...
|
|
73
73
|
def __init__(
|
|
74
74
|
self,
|
|
75
75
|
*,
|
|
76
|
-
new_element:
|
|
77
|
-
add_block:
|
|
78
|
-
new_transient:
|
|
79
|
-
add_rows:
|
|
80
|
-
arrow_add_rows:
|
|
81
|
-
fragment_id:
|
|
76
|
+
new_element: _Element_pb2.Element | None = ...,
|
|
77
|
+
add_block: _Block_pb2.Block | None = ...,
|
|
78
|
+
new_transient: _Transient_pb2.Transient | None = ...,
|
|
79
|
+
add_rows: _NamedDataSet_pb2.NamedDataSet | None = ...,
|
|
80
|
+
arrow_add_rows: _ArrowNamedDataSet_pb2.ArrowNamedDataSet | None = ...,
|
|
81
|
+
fragment_id: _builtins.str = ...,
|
|
82
82
|
) -> None: ...
|
|
83
|
-
_HasFieldArgType:
|
|
84
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
85
|
-
_ClearFieldArgType:
|
|
83
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["add_block", b"add_block", "add_rows", b"add_rows", "arrow_add_rows", b"arrow_add_rows", "new_element", b"new_element", "new_transient", b"new_transient", "type", b"type"] # noqa: Y015
|
|
84
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
85
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["add_block", b"add_block", "add_rows", b"add_rows", "arrow_add_rows", b"arrow_add_rows", "fragment_id", b"fragment_id", "new_element", b"new_element", "new_transient", b"new_transient", "type", b"type"] # noqa: Y015
|
|
86
86
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
87
|
-
_WhichOneofReturnType_type:
|
|
88
|
-
_WhichOneofArgType_type:
|
|
87
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["new_element", "add_block", "new_transient", "add_rows", "arrow_add_rows"] # noqa: Y015
|
|
88
|
+
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
89
89
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_type) -> _WhichOneofReturnType_type | None: ...
|
|
90
90
|
|
|
91
|
-
Global___Delta:
|
|
91
|
+
Global___Delta: _TypeAlias = Delta # noqa: Y015
|