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,44 +17,44 @@ 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
|
|
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
|
+
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
|
|
32
|
-
|
|
33
|
-
DESCRIPTOR:
|
|
34
|
-
|
|
35
|
-
@
|
|
36
|
-
class PageProfile(
|
|
37
|
-
DESCRIPTOR:
|
|
38
|
-
|
|
39
|
-
COMMANDS_FIELD_NUMBER:
|
|
40
|
-
EXEC_TIME_FIELD_NUMBER:
|
|
41
|
-
PREP_TIME_FIELD_NUMBER:
|
|
42
|
-
CONFIG_FIELD_NUMBER:
|
|
43
|
-
UNCAUGHT_EXCEPTION_FIELD_NUMBER:
|
|
44
|
-
ATTRIBUTIONS_FIELD_NUMBER:
|
|
45
|
-
OS_FIELD_NUMBER:
|
|
46
|
-
TIMEZONE_FIELD_NUMBER:
|
|
47
|
-
HEADLESS_FIELD_NUMBER:
|
|
48
|
-
IS_FRAGMENT_RUN_FIELD_NUMBER:
|
|
49
|
-
SERVER_MODE_FIELD_NUMBER:
|
|
50
|
-
exec_time:
|
|
51
|
-
prep_time:
|
|
52
|
-
uncaught_exception:
|
|
53
|
-
os:
|
|
54
|
-
timezone:
|
|
55
|
-
headless:
|
|
56
|
-
is_fragment_run:
|
|
57
|
-
server_mode:
|
|
31
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
|
+
|
|
35
|
+
@_typing.final
|
|
36
|
+
class PageProfile(_message.Message):
|
|
37
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
38
|
+
|
|
39
|
+
COMMANDS_FIELD_NUMBER: _builtins.int
|
|
40
|
+
EXEC_TIME_FIELD_NUMBER: _builtins.int
|
|
41
|
+
PREP_TIME_FIELD_NUMBER: _builtins.int
|
|
42
|
+
CONFIG_FIELD_NUMBER: _builtins.int
|
|
43
|
+
UNCAUGHT_EXCEPTION_FIELD_NUMBER: _builtins.int
|
|
44
|
+
ATTRIBUTIONS_FIELD_NUMBER: _builtins.int
|
|
45
|
+
OS_FIELD_NUMBER: _builtins.int
|
|
46
|
+
TIMEZONE_FIELD_NUMBER: _builtins.int
|
|
47
|
+
HEADLESS_FIELD_NUMBER: _builtins.int
|
|
48
|
+
IS_FRAGMENT_RUN_FIELD_NUMBER: _builtins.int
|
|
49
|
+
SERVER_MODE_FIELD_NUMBER: _builtins.int
|
|
50
|
+
exec_time: _builtins.int
|
|
51
|
+
prep_time: _builtins.int
|
|
52
|
+
uncaught_exception: _builtins.str
|
|
53
|
+
os: _builtins.str
|
|
54
|
+
timezone: _builtins.str
|
|
55
|
+
headless: _builtins.bool
|
|
56
|
+
is_fragment_run: _builtins.bool
|
|
57
|
+
server_mode: _builtins.str
|
|
58
58
|
"""The server mode used to run the Streamlit app:
|
|
59
59
|
- "tornado": Traditional Tornado server (streamlit run)
|
|
60
60
|
- "starlette-managed": Starlette server via server.useStarlette config
|
|
@@ -62,85 +62,85 @@ class PageProfile(google.protobuf.message.Message):
|
|
|
62
62
|
- "asgi-server": st.App run directly with external ASGI server (uvicorn, gunicorn)
|
|
63
63
|
- "asgi-mounted": st.App mounted on another ASGI framework (FastAPI, Starlette)
|
|
64
64
|
"""
|
|
65
|
-
@property
|
|
66
|
-
def commands(self) ->
|
|
67
|
-
@property
|
|
68
|
-
def config(self) ->
|
|
69
|
-
@property
|
|
70
|
-
def attributions(self) ->
|
|
65
|
+
@_builtins.property
|
|
66
|
+
def commands(self) -> _containers.RepeatedCompositeFieldContainer[Global___Command]: ...
|
|
67
|
+
@_builtins.property
|
|
68
|
+
def config(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
69
|
+
@_builtins.property
|
|
70
|
+
def attributions(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
71
71
|
def __init__(
|
|
72
72
|
self,
|
|
73
73
|
*,
|
|
74
|
-
commands:
|
|
75
|
-
exec_time:
|
|
76
|
-
prep_time:
|
|
77
|
-
config:
|
|
78
|
-
uncaught_exception:
|
|
79
|
-
attributions:
|
|
80
|
-
os:
|
|
81
|
-
timezone:
|
|
82
|
-
headless:
|
|
83
|
-
is_fragment_run:
|
|
84
|
-
server_mode:
|
|
74
|
+
commands: _abc.Iterable[Global___Command] | None = ...,
|
|
75
|
+
exec_time: _builtins.int = ...,
|
|
76
|
+
prep_time: _builtins.int = ...,
|
|
77
|
+
config: _abc.Iterable[_builtins.str] | None = ...,
|
|
78
|
+
uncaught_exception: _builtins.str = ...,
|
|
79
|
+
attributions: _abc.Iterable[_builtins.str] | None = ...,
|
|
80
|
+
os: _builtins.str = ...,
|
|
81
|
+
timezone: _builtins.str = ...,
|
|
82
|
+
headless: _builtins.bool = ...,
|
|
83
|
+
is_fragment_run: _builtins.bool = ...,
|
|
84
|
+
server_mode: _builtins.str = ...,
|
|
85
85
|
) -> None: ...
|
|
86
|
-
_ClearFieldArgType:
|
|
86
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["attributions", b"attributions", "commands", b"commands", "config", b"config", "exec_time", b"exec_time", "headless", b"headless", "is_fragment_run", b"is_fragment_run", "os", b"os", "prep_time", b"prep_time", "server_mode", b"server_mode", "timezone", b"timezone", "uncaught_exception", b"uncaught_exception"] # noqa: Y015
|
|
87
87
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
88
88
|
|
|
89
|
-
Global___PageProfile:
|
|
89
|
+
Global___PageProfile: _TypeAlias = PageProfile # noqa: Y015
|
|
90
90
|
|
|
91
|
-
@
|
|
92
|
-
class Argument(
|
|
91
|
+
@_typing.final
|
|
92
|
+
class Argument(_message.Message):
|
|
93
93
|
"""The field names are used as part of the event json sent
|
|
94
94
|
to our metrics provider. we are using short names to
|
|
95
95
|
optimize for the size.
|
|
96
96
|
"""
|
|
97
97
|
|
|
98
|
-
DESCRIPTOR:
|
|
98
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
99
99
|
|
|
100
|
-
K_FIELD_NUMBER:
|
|
101
|
-
T_FIELD_NUMBER:
|
|
102
|
-
M_FIELD_NUMBER:
|
|
103
|
-
P_FIELD_NUMBER:
|
|
104
|
-
k:
|
|
100
|
+
K_FIELD_NUMBER: _builtins.int
|
|
101
|
+
T_FIELD_NUMBER: _builtins.int
|
|
102
|
+
M_FIELD_NUMBER: _builtins.int
|
|
103
|
+
P_FIELD_NUMBER: _builtins.int
|
|
104
|
+
k: _builtins.str
|
|
105
105
|
"""The keyword of the argument:"""
|
|
106
|
-
t:
|
|
106
|
+
t: _builtins.str
|
|
107
107
|
"""The type of the argument:"""
|
|
108
|
-
m:
|
|
108
|
+
m: _builtins.str
|
|
109
109
|
"""Some metadata about the argument value:"""
|
|
110
|
-
p:
|
|
110
|
+
p: _builtins.int
|
|
111
111
|
"""Contains the position (if positional argument):"""
|
|
112
112
|
def __init__(
|
|
113
113
|
self,
|
|
114
114
|
*,
|
|
115
|
-
k:
|
|
116
|
-
t:
|
|
117
|
-
m:
|
|
118
|
-
p:
|
|
115
|
+
k: _builtins.str = ...,
|
|
116
|
+
t: _builtins.str = ...,
|
|
117
|
+
m: _builtins.str = ...,
|
|
118
|
+
p: _builtins.int = ...,
|
|
119
119
|
) -> None: ...
|
|
120
|
-
_ClearFieldArgType:
|
|
120
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["k", b"k", "m", b"m", "p", b"p", "t", b"t"] # noqa: Y015
|
|
121
121
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
122
122
|
|
|
123
|
-
Global___Argument:
|
|
123
|
+
Global___Argument: _TypeAlias = Argument # noqa: Y015
|
|
124
124
|
|
|
125
|
-
@
|
|
126
|
-
class Command(
|
|
127
|
-
DESCRIPTOR:
|
|
125
|
+
@_typing.final
|
|
126
|
+
class Command(_message.Message):
|
|
127
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
128
128
|
|
|
129
|
-
NAME_FIELD_NUMBER:
|
|
130
|
-
ARGS_FIELD_NUMBER:
|
|
131
|
-
TIME_FIELD_NUMBER:
|
|
132
|
-
name:
|
|
133
|
-
time:
|
|
134
|
-
@property
|
|
135
|
-
def args(self) ->
|
|
129
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
130
|
+
ARGS_FIELD_NUMBER: _builtins.int
|
|
131
|
+
TIME_FIELD_NUMBER: _builtins.int
|
|
132
|
+
name: _builtins.str
|
|
133
|
+
time: _builtins.int
|
|
134
|
+
@_builtins.property
|
|
135
|
+
def args(self) -> _containers.RepeatedCompositeFieldContainer[Global___Argument]: ...
|
|
136
136
|
def __init__(
|
|
137
137
|
self,
|
|
138
138
|
*,
|
|
139
|
-
name:
|
|
140
|
-
args:
|
|
141
|
-
time:
|
|
139
|
+
name: _builtins.str = ...,
|
|
140
|
+
args: _abc.Iterable[Global___Argument] | None = ...,
|
|
141
|
+
time: _builtins.int = ...,
|
|
142
142
|
) -> None: ...
|
|
143
|
-
_ClearFieldArgType:
|
|
143
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["args", b"args", "name", b"name", "time", b"time"] # noqa: Y015
|
|
144
144
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
145
145
|
|
|
146
|
-
Global___Command:
|
|
146
|
+
Global___Command: _TypeAlias = Command # noqa: Y015
|
|
@@ -17,39 +17,39 @@ 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 AppPage_pb2 as _AppPage_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 PagesChanged(
|
|
36
|
+
@_typing.final
|
|
37
|
+
class PagesChanged(_message.Message):
|
|
38
38
|
"""DEPRECATED - We don't use the proto anymore.
|
|
39
39
|
Message used to tell the client that the app's pages have changed.
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
|
-
DESCRIPTOR:
|
|
42
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
43
43
|
|
|
44
|
-
APP_PAGES_FIELD_NUMBER:
|
|
45
|
-
@property
|
|
46
|
-
def app_pages(self) ->
|
|
44
|
+
APP_PAGES_FIELD_NUMBER: _builtins.int
|
|
45
|
+
@_builtins.property
|
|
46
|
+
def app_pages(self) -> _containers.RepeatedCompositeFieldContainer[_AppPage_pb2.AppPage]: ...
|
|
47
47
|
def __init__(
|
|
48
48
|
self,
|
|
49
49
|
*,
|
|
50
|
-
app_pages:
|
|
50
|
+
app_pages: _abc.Iterable[_AppPage_pb2.AppPage] | None = ...,
|
|
51
51
|
) -> None: ...
|
|
52
|
-
_ClearFieldArgType:
|
|
52
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["app_pages", b"app_pages"] # noqa: Y015
|
|
53
53
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
54
54
|
|
|
55
|
-
Global___PagesChanged:
|
|
55
|
+
Global___PagesChanged: _TypeAlias = PagesChanged # noqa: Y015
|
|
@@ -17,37 +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
|
-
|
|
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 ParentMessage(
|
|
33
|
+
@_typing.final
|
|
34
|
+
class ParentMessage(_message.Message):
|
|
35
35
|
"""NOTE: This proto type is used by some external services so needs to remain
|
|
36
36
|
relatively stable. While it isn't entirely set in stone, changing it
|
|
37
37
|
may require a good amount of effort so should be avoided if possible.
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
|
-
DESCRIPTOR:
|
|
40
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
41
41
|
|
|
42
|
-
MESSAGE_FIELD_NUMBER:
|
|
43
|
-
message:
|
|
42
|
+
MESSAGE_FIELD_NUMBER: _builtins.int
|
|
43
|
+
message: _builtins.str
|
|
44
44
|
"""Message to send to the host."""
|
|
45
45
|
def __init__(
|
|
46
46
|
self,
|
|
47
47
|
*,
|
|
48
|
-
message:
|
|
48
|
+
message: _builtins.str = ...,
|
|
49
49
|
) -> None: ...
|
|
50
|
-
_ClearFieldArgType:
|
|
50
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["message", b"message"] # noqa: Y015
|
|
51
51
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
52
52
|
|
|
53
|
-
Global___ParentMessage:
|
|
53
|
+
Global___ParentMessage: _TypeAlias = ParentMessage # 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 PlotlyChart(
|
|
38
|
-
DESCRIPTOR:
|
|
41
|
+
@_typing.final
|
|
42
|
+
class PlotlyChart(_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[PlotlyChart._SelectionMode.ValueType], _builtins.type):
|
|
50
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
46
51
|
POINTS: PlotlyChart._SelectionMode.ValueType # 0
|
|
47
52
|
"""Point selection mode"""
|
|
48
53
|
BOX: PlotlyChart._SelectionMode.ValueType # 1
|
|
@@ -60,79 +65,89 @@ class PlotlyChart(google.protobuf.message.Message):
|
|
|
60
65
|
LASSO: PlotlyChart.SelectionMode.ValueType # 2
|
|
61
66
|
"""Lasso selection mode"""
|
|
62
67
|
|
|
63
|
-
USE_CONTAINER_WIDTH_FIELD_NUMBER:
|
|
64
|
-
THEME_FIELD_NUMBER:
|
|
65
|
-
ID_FIELD_NUMBER:
|
|
66
|
-
SELECTION_MODE_FIELD_NUMBER:
|
|
67
|
-
FORM_ID_FIELD_NUMBER:
|
|
68
|
-
SPEC_FIELD_NUMBER:
|
|
69
|
-
CONFIG_FIELD_NUMBER:
|
|
70
|
-
URL_FIELD_NUMBER:
|
|
71
|
-
FIGURE_FIELD_NUMBER:
|
|
72
|
-
|
|
73
|
-
"""
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
USE_CONTAINER_WIDTH_FIELD_NUMBER: _builtins.int
|
|
69
|
+
THEME_FIELD_NUMBER: _builtins.int
|
|
70
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
71
|
+
SELECTION_MODE_FIELD_NUMBER: _builtins.int
|
|
72
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
73
|
+
SPEC_FIELD_NUMBER: _builtins.int
|
|
74
|
+
CONFIG_FIELD_NUMBER: _builtins.int
|
|
75
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
76
|
+
FIGURE_FIELD_NUMBER: _builtins.int
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
79
|
+
def use_container_width(self) -> _builtins.bool:
|
|
80
|
+
"""DEPRECATED: If True, will overwrite the chart width spec to fit to container.
|
|
81
|
+
Use widthConfig in layout configuration instead.
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
@use_container_width.setter
|
|
85
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
86
|
+
def use_container_width(self, value: _builtins.bool) -> None:
|
|
87
|
+
"""DEPRECATED: If True, will overwrite the chart width spec to fit to container.
|
|
88
|
+
Use widthConfig in layout configuration instead.
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
theme: _builtins.str
|
|
77
92
|
"""override the properties with a theme. Currently, only "streamlit" or None are accepted."""
|
|
78
|
-
id:
|
|
93
|
+
id: _builtins.str
|
|
79
94
|
"""The unique element ID of this chart."""
|
|
80
|
-
form_id:
|
|
95
|
+
form_id: _builtins.str
|
|
81
96
|
"""Form ID, filled if selections are activated."""
|
|
82
|
-
spec:
|
|
97
|
+
spec: _builtins.str
|
|
83
98
|
"""JSON-serialized dict containing keys from the set {data, frames, layout}."""
|
|
84
|
-
config:
|
|
99
|
+
config: _builtins.str
|
|
85
100
|
"""JSON-serialized dict with Plotly's config object."""
|
|
86
|
-
url:
|
|
101
|
+
url: _builtins.str
|
|
87
102
|
"""DEPRECATED and unused."""
|
|
88
|
-
@property
|
|
89
|
-
def selection_mode(self) ->
|
|
103
|
+
@_builtins.property
|
|
104
|
+
def selection_mode(self) -> _containers.RepeatedScalarFieldContainer[Global___PlotlyChart.SelectionMode.ValueType]:
|
|
90
105
|
"""Activate selections types on the chart."""
|
|
91
106
|
|
|
92
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
93
108
|
def figure(self) -> Global___Figure:
|
|
94
109
|
"""DEPRECATED and unused."""
|
|
95
110
|
|
|
96
111
|
def __init__(
|
|
97
112
|
self,
|
|
98
113
|
*,
|
|
99
|
-
use_container_width:
|
|
100
|
-
theme:
|
|
101
|
-
id:
|
|
102
|
-
selection_mode:
|
|
103
|
-
form_id:
|
|
104
|
-
spec:
|
|
105
|
-
config:
|
|
106
|
-
url:
|
|
114
|
+
use_container_width: _builtins.bool = ...,
|
|
115
|
+
theme: _builtins.str = ...,
|
|
116
|
+
id: _builtins.str = ...,
|
|
117
|
+
selection_mode: _abc.Iterable[Global___PlotlyChart.SelectionMode.ValueType] | None = ...,
|
|
118
|
+
form_id: _builtins.str = ...,
|
|
119
|
+
spec: _builtins.str = ...,
|
|
120
|
+
config: _builtins.str = ...,
|
|
121
|
+
url: _builtins.str = ...,
|
|
107
122
|
figure: Global___Figure | None = ...,
|
|
108
123
|
) -> None: ...
|
|
109
|
-
_HasFieldArgType:
|
|
110
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
111
|
-
_ClearFieldArgType:
|
|
124
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["chart", b"chart", "figure", b"figure", "url", b"url"] # noqa: Y015
|
|
125
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
126
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["chart", b"chart", "config", b"config", "figure", b"figure", "form_id", b"form_id", "id", b"id", "selection_mode", b"selection_mode", "spec", b"spec", "theme", b"theme", "url", b"url", "use_container_width", b"use_container_width"] # noqa: Y015
|
|
112
127
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
113
|
-
_WhichOneofReturnType_chart:
|
|
114
|
-
_WhichOneofArgType_chart:
|
|
128
|
+
_WhichOneofReturnType_chart: _TypeAlias = _typing.Literal["url", "figure"] # noqa: Y015
|
|
129
|
+
_WhichOneofArgType_chart: _TypeAlias = _typing.Literal["chart", b"chart"] # noqa: Y015
|
|
115
130
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_chart) -> _WhichOneofReturnType_chart | None: ...
|
|
116
131
|
|
|
117
|
-
Global___PlotlyChart:
|
|
132
|
+
Global___PlotlyChart: _TypeAlias = PlotlyChart # noqa: Y015
|
|
118
133
|
|
|
119
|
-
@
|
|
120
|
-
class Figure(
|
|
134
|
+
@_typing.final
|
|
135
|
+
class Figure(_message.Message):
|
|
121
136
|
"""DEPRECATED and unused."""
|
|
122
137
|
|
|
123
|
-
DESCRIPTOR:
|
|
138
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
124
139
|
|
|
125
|
-
SPEC_FIELD_NUMBER:
|
|
126
|
-
CONFIG_FIELD_NUMBER:
|
|
127
|
-
spec:
|
|
128
|
-
config:
|
|
140
|
+
SPEC_FIELD_NUMBER: _builtins.int
|
|
141
|
+
CONFIG_FIELD_NUMBER: _builtins.int
|
|
142
|
+
spec: _builtins.str
|
|
143
|
+
config: _builtins.str
|
|
129
144
|
def __init__(
|
|
130
145
|
self,
|
|
131
146
|
*,
|
|
132
|
-
spec:
|
|
133
|
-
config:
|
|
147
|
+
spec: _builtins.str = ...,
|
|
148
|
+
config: _builtins.str = ...,
|
|
134
149
|
) -> None: ...
|
|
135
|
-
_ClearFieldArgType:
|
|
150
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "spec", b"spec"] # noqa: Y015
|
|
136
151
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
137
152
|
|
|
138
|
-
Global___Figure:
|
|
153
|
+
Global___Figure: _TypeAlias = Figure # noqa: Y015
|
streamlit/proto/Progress_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 Progress(
|
|
35
|
-
DESCRIPTOR:
|
|
33
|
+
@_typing.final
|
|
34
|
+
class Progress(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
36
|
|
|
37
|
-
VALUE_FIELD_NUMBER:
|
|
38
|
-
TEXT_FIELD_NUMBER:
|
|
39
|
-
value:
|
|
40
|
-
text:
|
|
37
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
38
|
+
TEXT_FIELD_NUMBER: _builtins.int
|
|
39
|
+
value: _builtins.int
|
|
40
|
+
text: _builtins.str
|
|
41
41
|
def __init__(
|
|
42
42
|
self,
|
|
43
43
|
*,
|
|
44
|
-
value:
|
|
45
|
-
text:
|
|
44
|
+
value: _builtins.int = ...,
|
|
45
|
+
text: _builtins.str = ...,
|
|
46
46
|
) -> None: ...
|
|
47
|
-
_ClearFieldArgType:
|
|
47
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["text", b"text", "value", b"value"] # noqa: Y015
|
|
48
48
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
49
49
|
|
|
50
|
-
Global___Progress:
|
|
50
|
+
Global___Progress: _TypeAlias = Progress # noqa: Y015
|