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,26 +17,31 @@ 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
|
|
26
|
-
|
|
27
|
-
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
|
+
from streamlit.proto import AppPage_pb2 as _AppPage_pb2
|
|
26
|
+
from streamlit.proto import SessionStatus_pb2 as _SessionStatus_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
|
-
|
|
36
|
+
if sys.version_info >= (3, 13):
|
|
37
|
+
from warnings import deprecated as _deprecated
|
|
38
|
+
else:
|
|
39
|
+
from typing_extensions import deprecated as _deprecated
|
|
40
|
+
|
|
41
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
37
42
|
|
|
38
|
-
@
|
|
39
|
-
class NewSession(
|
|
43
|
+
@_typing.final
|
|
44
|
+
class NewSession(_message.Message):
|
|
40
45
|
"""NOTE: These proto types are used by some external services so need to
|
|
41
46
|
remain relatively stable. While they aren't entirely set in stone, changing
|
|
42
47
|
them may require a good amount of effort so should be avoided if possible.
|
|
@@ -44,31 +49,31 @@ class NewSession(google.protobuf.message.Message):
|
|
|
44
49
|
This is the first message that is sent when a new session starts.
|
|
45
50
|
"""
|
|
46
51
|
|
|
47
|
-
DESCRIPTOR:
|
|
48
|
-
|
|
49
|
-
INITIALIZE_FIELD_NUMBER:
|
|
50
|
-
SCRIPT_RUN_ID_FIELD_NUMBER:
|
|
51
|
-
NAME_FIELD_NUMBER:
|
|
52
|
-
MAIN_SCRIPT_PATH_FIELD_NUMBER:
|
|
53
|
-
CONFIG_FIELD_NUMBER:
|
|
54
|
-
CUSTOM_THEME_FIELD_NUMBER:
|
|
55
|
-
APP_PAGES_FIELD_NUMBER:
|
|
56
|
-
PAGE_SCRIPT_HASH_FIELD_NUMBER:
|
|
57
|
-
FRAGMENT_IDS_THIS_RUN_FIELD_NUMBER:
|
|
58
|
-
MAIN_SCRIPT_HASH_FIELD_NUMBER:
|
|
59
|
-
script_run_id:
|
|
52
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
53
|
+
|
|
54
|
+
INITIALIZE_FIELD_NUMBER: _builtins.int
|
|
55
|
+
SCRIPT_RUN_ID_FIELD_NUMBER: _builtins.int
|
|
56
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
57
|
+
MAIN_SCRIPT_PATH_FIELD_NUMBER: _builtins.int
|
|
58
|
+
CONFIG_FIELD_NUMBER: _builtins.int
|
|
59
|
+
CUSTOM_THEME_FIELD_NUMBER: _builtins.int
|
|
60
|
+
APP_PAGES_FIELD_NUMBER: _builtins.int
|
|
61
|
+
PAGE_SCRIPT_HASH_FIELD_NUMBER: _builtins.int
|
|
62
|
+
FRAGMENT_IDS_THIS_RUN_FIELD_NUMBER: _builtins.int
|
|
63
|
+
MAIN_SCRIPT_HASH_FIELD_NUMBER: _builtins.int
|
|
64
|
+
script_run_id: _builtins.str
|
|
60
65
|
"""The script run ID"""
|
|
61
|
-
name:
|
|
66
|
+
name: _builtins.str
|
|
62
67
|
"""The basename of the script that launched this app. Example: 'foo.py'"""
|
|
63
|
-
main_script_path:
|
|
68
|
+
main_script_path: _builtins.str
|
|
64
69
|
"""The full path of the script that launched this app. Example:
|
|
65
70
|
'/foo/bar/foo.py'
|
|
66
71
|
"""
|
|
67
|
-
page_script_hash:
|
|
72
|
+
page_script_hash: _builtins.str
|
|
68
73
|
"""A hash of the script corresponding to the page currently being viewed."""
|
|
69
|
-
main_script_hash:
|
|
74
|
+
main_script_hash: _builtins.str
|
|
70
75
|
"""Hash of the main script running (ie streamlit run main_script.py)"""
|
|
71
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
72
77
|
def initialize(self) -> Global___Initialize:
|
|
73
78
|
"""Initialization data. This data does *not* change from rerun to rerun,
|
|
74
79
|
but we send it every time so that we don't have to track whether the
|
|
@@ -76,24 +81,24 @@ class NewSession(google.protobuf.message.Message):
|
|
|
76
81
|
performing initialization logic only once.
|
|
77
82
|
"""
|
|
78
83
|
|
|
79
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
80
85
|
def config(self) -> Global___Config:
|
|
81
86
|
"""Config options that are (mostly) defined in the .streamlit/config.toml
|
|
82
87
|
file.
|
|
83
88
|
"""
|
|
84
89
|
|
|
85
|
-
@property
|
|
90
|
+
@_builtins.property
|
|
86
91
|
def custom_theme(self) -> Global___CustomThemeConfig:
|
|
87
92
|
"""Theme configuration options defined in the .streamlit/config.toml file.
|
|
88
93
|
See the "theme" config section.
|
|
89
94
|
"""
|
|
90
95
|
|
|
91
|
-
@property
|
|
92
|
-
def app_pages(self) ->
|
|
96
|
+
@_builtins.property
|
|
97
|
+
def app_pages(self) -> _containers.RepeatedCompositeFieldContainer[_AppPage_pb2.AppPage]:
|
|
93
98
|
"""A list of all of this app's pages, in order and including the main page."""
|
|
94
99
|
|
|
95
|
-
@property
|
|
96
|
-
def fragment_ids_this_run(self) ->
|
|
100
|
+
@_builtins.property
|
|
101
|
+
def fragment_ids_this_run(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
97
102
|
"""The fragment IDs being run in this session if it corresponds to a fragment
|
|
98
103
|
script run.
|
|
99
104
|
"""
|
|
@@ -102,55 +107,55 @@ class NewSession(google.protobuf.message.Message):
|
|
|
102
107
|
self,
|
|
103
108
|
*,
|
|
104
109
|
initialize: Global___Initialize | None = ...,
|
|
105
|
-
script_run_id:
|
|
106
|
-
name:
|
|
107
|
-
main_script_path:
|
|
110
|
+
script_run_id: _builtins.str = ...,
|
|
111
|
+
name: _builtins.str = ...,
|
|
112
|
+
main_script_path: _builtins.str = ...,
|
|
108
113
|
config: Global___Config | None = ...,
|
|
109
114
|
custom_theme: Global___CustomThemeConfig | None = ...,
|
|
110
|
-
app_pages:
|
|
111
|
-
page_script_hash:
|
|
112
|
-
fragment_ids_this_run:
|
|
113
|
-
main_script_hash:
|
|
115
|
+
app_pages: _abc.Iterable[_AppPage_pb2.AppPage] | None = ...,
|
|
116
|
+
page_script_hash: _builtins.str = ...,
|
|
117
|
+
fragment_ids_this_run: _abc.Iterable[_builtins.str] | None = ...,
|
|
118
|
+
main_script_hash: _builtins.str = ...,
|
|
114
119
|
) -> None: ...
|
|
115
|
-
_HasFieldArgType:
|
|
116
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
117
|
-
_ClearFieldArgType:
|
|
120
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["config", b"config", "custom_theme", b"custom_theme", "initialize", b"initialize"] # noqa: Y015
|
|
121
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
122
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["app_pages", b"app_pages", "config", b"config", "custom_theme", b"custom_theme", "fragment_ids_this_run", b"fragment_ids_this_run", "initialize", b"initialize", "main_script_hash", b"main_script_hash", "main_script_path", b"main_script_path", "name", b"name", "page_script_hash", b"page_script_hash", "script_run_id", b"script_run_id"] # noqa: Y015
|
|
118
123
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
119
124
|
|
|
120
|
-
Global___NewSession:
|
|
125
|
+
Global___NewSession: _TypeAlias = NewSession # noqa: Y015
|
|
121
126
|
|
|
122
|
-
@
|
|
123
|
-
class Initialize(
|
|
127
|
+
@_typing.final
|
|
128
|
+
class Initialize(_message.Message):
|
|
124
129
|
"""Contains the session status that existed at the time the user connected.
|
|
125
130
|
The contents of this message don't change over the lifetime of the app by
|
|
126
131
|
definition.
|
|
127
132
|
"""
|
|
128
133
|
|
|
129
|
-
DESCRIPTOR:
|
|
134
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
130
135
|
|
|
131
|
-
USER_INFO_FIELD_NUMBER:
|
|
132
|
-
ENVIRONMENT_INFO_FIELD_NUMBER:
|
|
133
|
-
SESSION_STATUS_FIELD_NUMBER:
|
|
134
|
-
COMMAND_LINE_FIELD_NUMBER:
|
|
135
|
-
SESSION_ID_FIELD_NUMBER:
|
|
136
|
-
IS_HELLO_FIELD_NUMBER:
|
|
137
|
-
command_line:
|
|
136
|
+
USER_INFO_FIELD_NUMBER: _builtins.int
|
|
137
|
+
ENVIRONMENT_INFO_FIELD_NUMBER: _builtins.int
|
|
138
|
+
SESSION_STATUS_FIELD_NUMBER: _builtins.int
|
|
139
|
+
COMMAND_LINE_FIELD_NUMBER: _builtins.int
|
|
140
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
141
|
+
IS_HELLO_FIELD_NUMBER: _builtins.int
|
|
142
|
+
command_line: _builtins.str
|
|
138
143
|
"""DEPRECATED: We no longer send this to the frontend for security reasons.
|
|
139
144
|
The actual command line as a string
|
|
140
145
|
"""
|
|
141
|
-
session_id:
|
|
146
|
+
session_id: _builtins.str
|
|
142
147
|
"""The AppSession.id for this connection's AppSession.
|
|
143
148
|
This is used to associate uploaded files with the client that uploaded
|
|
144
149
|
them.
|
|
145
150
|
"""
|
|
146
|
-
is_hello:
|
|
151
|
+
is_hello: _builtins.bool
|
|
147
152
|
"""True if the command used to start this app was `streamlit hello`."""
|
|
148
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
149
154
|
def user_info(self) -> Global___UserInfo: ...
|
|
150
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
151
156
|
def environment_info(self) -> Global___EnvironmentInfo: ...
|
|
152
|
-
@property
|
|
153
|
-
def session_status(self) ->
|
|
157
|
+
@_builtins.property
|
|
158
|
+
def session_status(self) -> _SessionStatus_pb2.SessionStatus:
|
|
154
159
|
"""The session status at the time the connection was established"""
|
|
155
160
|
|
|
156
161
|
def __init__(
|
|
@@ -158,32 +163,32 @@ class Initialize(google.protobuf.message.Message):
|
|
|
158
163
|
*,
|
|
159
164
|
user_info: Global___UserInfo | None = ...,
|
|
160
165
|
environment_info: Global___EnvironmentInfo | None = ...,
|
|
161
|
-
session_status:
|
|
162
|
-
command_line:
|
|
163
|
-
session_id:
|
|
164
|
-
is_hello:
|
|
166
|
+
session_status: _SessionStatus_pb2.SessionStatus | None = ...,
|
|
167
|
+
command_line: _builtins.str = ...,
|
|
168
|
+
session_id: _builtins.str = ...,
|
|
169
|
+
is_hello: _builtins.bool = ...,
|
|
165
170
|
) -> None: ...
|
|
166
|
-
_HasFieldArgType:
|
|
167
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
168
|
-
_ClearFieldArgType:
|
|
171
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["environment_info", b"environment_info", "session_status", b"session_status", "user_info", b"user_info"] # noqa: Y015
|
|
172
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
173
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["command_line", b"command_line", "environment_info", b"environment_info", "is_hello", b"is_hello", "session_id", b"session_id", "session_status", b"session_status", "user_info", b"user_info"] # noqa: Y015
|
|
169
174
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
170
175
|
|
|
171
|
-
Global___Initialize:
|
|
176
|
+
Global___Initialize: _TypeAlias = Initialize # noqa: Y015
|
|
172
177
|
|
|
173
|
-
@
|
|
174
|
-
class Config(
|
|
178
|
+
@_typing.final
|
|
179
|
+
class Config(_message.Message):
|
|
175
180
|
"""App configuration options, initialized mainly from the
|
|
176
181
|
.streamlit/config.toml file.
|
|
177
182
|
"""
|
|
178
183
|
|
|
179
|
-
DESCRIPTOR:
|
|
184
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
180
185
|
|
|
181
186
|
class _ToolbarMode:
|
|
182
|
-
ValueType =
|
|
183
|
-
V:
|
|
187
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
188
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
184
189
|
|
|
185
|
-
class _ToolbarModeEnumTypeWrapper(
|
|
186
|
-
DESCRIPTOR:
|
|
190
|
+
class _ToolbarModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Config._ToolbarMode.ValueType], _builtins.type):
|
|
191
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
187
192
|
AUTO: Config._ToolbarMode.ValueType # 0
|
|
188
193
|
DEVELOPER: Config._ToolbarMode.ValueType # 1
|
|
189
194
|
VIEWER: Config._ToolbarMode.ValueType # 2
|
|
@@ -197,44 +202,44 @@ class Config(google.protobuf.message.Message):
|
|
|
197
202
|
VIEWER: Config.ToolbarMode.ValueType # 2
|
|
198
203
|
MINIMAL: Config.ToolbarMode.ValueType # 3
|
|
199
204
|
|
|
200
|
-
GATHER_USAGE_STATS_FIELD_NUMBER:
|
|
201
|
-
MAX_CACHED_MESSAGE_AGE_FIELD_NUMBER:
|
|
202
|
-
MAPBOX_TOKEN_FIELD_NUMBER:
|
|
203
|
-
ALLOW_RUN_ON_SAVE_FIELD_NUMBER:
|
|
204
|
-
HIDE_TOP_BAR_FIELD_NUMBER:
|
|
205
|
-
HIDE_SIDEBAR_NAV_FIELD_NUMBER:
|
|
206
|
-
TOOLBAR_MODE_FIELD_NUMBER:
|
|
207
|
-
gather_usage_stats:
|
|
205
|
+
GATHER_USAGE_STATS_FIELD_NUMBER: _builtins.int
|
|
206
|
+
MAX_CACHED_MESSAGE_AGE_FIELD_NUMBER: _builtins.int
|
|
207
|
+
MAPBOX_TOKEN_FIELD_NUMBER: _builtins.int
|
|
208
|
+
ALLOW_RUN_ON_SAVE_FIELD_NUMBER: _builtins.int
|
|
209
|
+
HIDE_TOP_BAR_FIELD_NUMBER: _builtins.int
|
|
210
|
+
HIDE_SIDEBAR_NAV_FIELD_NUMBER: _builtins.int
|
|
211
|
+
TOOLBAR_MODE_FIELD_NUMBER: _builtins.int
|
|
212
|
+
gather_usage_stats: _builtins.bool
|
|
208
213
|
"""See config option "browser.gatherUsageStats"."""
|
|
209
|
-
max_cached_message_age:
|
|
214
|
+
max_cached_message_age: _builtins.int
|
|
210
215
|
"""See config option "global.maxCachedMessageAge"."""
|
|
211
|
-
mapbox_token:
|
|
216
|
+
mapbox_token: _builtins.str
|
|
212
217
|
"""DEPRECATED: the mapbox token was moved to the DeckGlJsonChart message."""
|
|
213
|
-
allow_run_on_save:
|
|
218
|
+
allow_run_on_save: _builtins.bool
|
|
214
219
|
"""See config option "server.allowRunOnSave"."""
|
|
215
|
-
hide_top_bar:
|
|
220
|
+
hide_top_bar: _builtins.bool
|
|
216
221
|
"""See config option "ui.hideTopBar"."""
|
|
217
|
-
hide_sidebar_nav:
|
|
222
|
+
hide_sidebar_nav: _builtins.bool
|
|
218
223
|
"""See config option "client.showSidebarNavigation"."""
|
|
219
224
|
toolbar_mode: Global___Config.ToolbarMode.ValueType
|
|
220
225
|
def __init__(
|
|
221
226
|
self,
|
|
222
227
|
*,
|
|
223
|
-
gather_usage_stats:
|
|
224
|
-
max_cached_message_age:
|
|
225
|
-
mapbox_token:
|
|
226
|
-
allow_run_on_save:
|
|
227
|
-
hide_top_bar:
|
|
228
|
-
hide_sidebar_nav:
|
|
228
|
+
gather_usage_stats: _builtins.bool = ...,
|
|
229
|
+
max_cached_message_age: _builtins.int = ...,
|
|
230
|
+
mapbox_token: _builtins.str = ...,
|
|
231
|
+
allow_run_on_save: _builtins.bool = ...,
|
|
232
|
+
hide_top_bar: _builtins.bool = ...,
|
|
233
|
+
hide_sidebar_nav: _builtins.bool = ...,
|
|
229
234
|
toolbar_mode: Global___Config.ToolbarMode.ValueType = ...,
|
|
230
235
|
) -> None: ...
|
|
231
|
-
_ClearFieldArgType:
|
|
236
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["allow_run_on_save", b"allow_run_on_save", "gather_usage_stats", b"gather_usage_stats", "hide_sidebar_nav", b"hide_sidebar_nav", "hide_top_bar", b"hide_top_bar", "mapbox_token", b"mapbox_token", "max_cached_message_age", b"max_cached_message_age", "toolbar_mode", b"toolbar_mode"] # noqa: Y015
|
|
232
237
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
233
238
|
|
|
234
|
-
Global___Config:
|
|
239
|
+
Global___Config: _TypeAlias = Config # noqa: Y015
|
|
235
240
|
|
|
236
|
-
@
|
|
237
|
-
class CustomThemeConfig(
|
|
241
|
+
@_typing.final
|
|
242
|
+
class CustomThemeConfig(_message.Message):
|
|
238
243
|
"""Custom theme configuration options. Like other config options, these are set
|
|
239
244
|
in .streamlit/config.toml.
|
|
240
245
|
|
|
@@ -242,14 +247,14 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
242
247
|
rename its proto fields!
|
|
243
248
|
"""
|
|
244
249
|
|
|
245
|
-
DESCRIPTOR:
|
|
250
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
246
251
|
|
|
247
252
|
class _BaseTheme:
|
|
248
|
-
ValueType =
|
|
249
|
-
V:
|
|
253
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
254
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
250
255
|
|
|
251
|
-
class _BaseThemeEnumTypeWrapper(
|
|
252
|
-
DESCRIPTOR:
|
|
256
|
+
class _BaseThemeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[CustomThemeConfig._BaseTheme.ValueType], _builtins.type):
|
|
257
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
253
258
|
LIGHT: CustomThemeConfig._BaseTheme.ValueType # 0
|
|
254
259
|
DARK: CustomThemeConfig._BaseTheme.ValueType # 1
|
|
255
260
|
|
|
@@ -258,11 +263,11 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
258
263
|
DARK: CustomThemeConfig.BaseTheme.ValueType # 1
|
|
259
264
|
|
|
260
265
|
class _FontFamily:
|
|
261
|
-
ValueType =
|
|
262
|
-
V:
|
|
266
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
267
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
263
268
|
|
|
264
|
-
class _FontFamilyEnumTypeWrapper(
|
|
265
|
-
DESCRIPTOR:
|
|
269
|
+
class _FontFamilyEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[CustomThemeConfig._FontFamily.ValueType], _builtins.type):
|
|
270
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
266
271
|
SANS_SERIF: CustomThemeConfig._FontFamily.ValueType # 0
|
|
267
272
|
SERIF: CustomThemeConfig._FontFamily.ValueType # 1
|
|
268
273
|
MONOSPACE: CustomThemeConfig._FontFamily.ValueType # 2
|
|
@@ -274,507 +279,515 @@ class CustomThemeConfig(google.protobuf.message.Message):
|
|
|
274
279
|
SERIF: CustomThemeConfig.FontFamily.ValueType # 1
|
|
275
280
|
MONOSPACE: CustomThemeConfig.FontFamily.ValueType # 2
|
|
276
281
|
|
|
277
|
-
PRIMARY_COLOR_FIELD_NUMBER:
|
|
278
|
-
SECONDARY_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
279
|
-
BACKGROUND_COLOR_FIELD_NUMBER:
|
|
280
|
-
TEXT_COLOR_FIELD_NUMBER:
|
|
281
|
-
FONT_FIELD_NUMBER:
|
|
282
|
-
BASE_FIELD_NUMBER:
|
|
283
|
-
WIDGET_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
284
|
-
WIDGET_BORDER_COLOR_FIELD_NUMBER:
|
|
285
|
-
RADII_FIELD_NUMBER:
|
|
286
|
-
HEADING_FONT_FIELD_NUMBER:
|
|
287
|
-
BODY_FONT_FIELD_NUMBER:
|
|
288
|
-
CODE_FONT_FIELD_NUMBER:
|
|
289
|
-
FONT_FACES_FIELD_NUMBER:
|
|
290
|
-
FONT_SOURCES_FIELD_NUMBER:
|
|
291
|
-
FONT_SIZES_FIELD_NUMBER:
|
|
292
|
-
SKELETON_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
293
|
-
BASE_RADIUS_FIELD_NUMBER:
|
|
294
|
-
BUTTON_RADIUS_FIELD_NUMBER:
|
|
295
|
-
BORDER_COLOR_FIELD_NUMBER:
|
|
296
|
-
DATAFRAME_BORDER_COLOR_FIELD_NUMBER:
|
|
297
|
-
SHOW_WIDGET_BORDER_FIELD_NUMBER:
|
|
298
|
-
LINK_COLOR_FIELD_NUMBER:
|
|
299
|
-
LINK_UNDERLINE_FIELD_NUMBER:
|
|
300
|
-
BASE_FONT_SIZE_FIELD_NUMBER:
|
|
301
|
-
BASE_FONT_WEIGHT_FIELD_NUMBER:
|
|
302
|
-
CODE_FONT_WEIGHT_FIELD_NUMBER:
|
|
303
|
-
CODE_FONT_SIZE_FIELD_NUMBER:
|
|
304
|
-
HEADING_FONT_SIZES_FIELD_NUMBER:
|
|
305
|
-
HEADING_FONT_WEIGHTS_FIELD_NUMBER:
|
|
306
|
-
SHOW_SIDEBAR_BORDER_FIELD_NUMBER:
|
|
307
|
-
CODE_TEXT_COLOR_FIELD_NUMBER:
|
|
308
|
-
CODE_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
309
|
-
DATAFRAME_HEADER_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
310
|
-
CHART_CATEGORICAL_COLORS_FIELD_NUMBER:
|
|
311
|
-
CHART_SEQUENTIAL_COLORS_FIELD_NUMBER:
|
|
312
|
-
RED_COLOR_FIELD_NUMBER:
|
|
313
|
-
ORANGE_COLOR_FIELD_NUMBER:
|
|
314
|
-
YELLOW_COLOR_FIELD_NUMBER:
|
|
315
|
-
BLUE_COLOR_FIELD_NUMBER:
|
|
316
|
-
GREEN_COLOR_FIELD_NUMBER:
|
|
317
|
-
VIOLET_COLOR_FIELD_NUMBER:
|
|
318
|
-
GRAY_COLOR_FIELD_NUMBER:
|
|
319
|
-
RED_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
320
|
-
ORANGE_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
321
|
-
YELLOW_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
322
|
-
BLUE_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
323
|
-
GREEN_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
324
|
-
VIOLET_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
325
|
-
GRAY_BACKGROUND_COLOR_FIELD_NUMBER:
|
|
326
|
-
RED_TEXT_COLOR_FIELD_NUMBER:
|
|
327
|
-
ORANGE_TEXT_COLOR_FIELD_NUMBER:
|
|
328
|
-
YELLOW_TEXT_COLOR_FIELD_NUMBER:
|
|
329
|
-
BLUE_TEXT_COLOR_FIELD_NUMBER:
|
|
330
|
-
GREEN_TEXT_COLOR_FIELD_NUMBER:
|
|
331
|
-
VIOLET_TEXT_COLOR_FIELD_NUMBER:
|
|
332
|
-
GRAY_TEXT_COLOR_FIELD_NUMBER:
|
|
333
|
-
SIDEBAR_FIELD_NUMBER:
|
|
334
|
-
LIGHT_FIELD_NUMBER:
|
|
335
|
-
DARK_FIELD_NUMBER:
|
|
336
|
-
primary_color:
|
|
337
|
-
secondary_background_color:
|
|
338
|
-
background_color:
|
|
339
|
-
text_color:
|
|
282
|
+
PRIMARY_COLOR_FIELD_NUMBER: _builtins.int
|
|
283
|
+
SECONDARY_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
284
|
+
BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
285
|
+
TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
286
|
+
FONT_FIELD_NUMBER: _builtins.int
|
|
287
|
+
BASE_FIELD_NUMBER: _builtins.int
|
|
288
|
+
WIDGET_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
289
|
+
WIDGET_BORDER_COLOR_FIELD_NUMBER: _builtins.int
|
|
290
|
+
RADII_FIELD_NUMBER: _builtins.int
|
|
291
|
+
HEADING_FONT_FIELD_NUMBER: _builtins.int
|
|
292
|
+
BODY_FONT_FIELD_NUMBER: _builtins.int
|
|
293
|
+
CODE_FONT_FIELD_NUMBER: _builtins.int
|
|
294
|
+
FONT_FACES_FIELD_NUMBER: _builtins.int
|
|
295
|
+
FONT_SOURCES_FIELD_NUMBER: _builtins.int
|
|
296
|
+
FONT_SIZES_FIELD_NUMBER: _builtins.int
|
|
297
|
+
SKELETON_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
298
|
+
BASE_RADIUS_FIELD_NUMBER: _builtins.int
|
|
299
|
+
BUTTON_RADIUS_FIELD_NUMBER: _builtins.int
|
|
300
|
+
BORDER_COLOR_FIELD_NUMBER: _builtins.int
|
|
301
|
+
DATAFRAME_BORDER_COLOR_FIELD_NUMBER: _builtins.int
|
|
302
|
+
SHOW_WIDGET_BORDER_FIELD_NUMBER: _builtins.int
|
|
303
|
+
LINK_COLOR_FIELD_NUMBER: _builtins.int
|
|
304
|
+
LINK_UNDERLINE_FIELD_NUMBER: _builtins.int
|
|
305
|
+
BASE_FONT_SIZE_FIELD_NUMBER: _builtins.int
|
|
306
|
+
BASE_FONT_WEIGHT_FIELD_NUMBER: _builtins.int
|
|
307
|
+
CODE_FONT_WEIGHT_FIELD_NUMBER: _builtins.int
|
|
308
|
+
CODE_FONT_SIZE_FIELD_NUMBER: _builtins.int
|
|
309
|
+
HEADING_FONT_SIZES_FIELD_NUMBER: _builtins.int
|
|
310
|
+
HEADING_FONT_WEIGHTS_FIELD_NUMBER: _builtins.int
|
|
311
|
+
SHOW_SIDEBAR_BORDER_FIELD_NUMBER: _builtins.int
|
|
312
|
+
CODE_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
313
|
+
CODE_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
314
|
+
DATAFRAME_HEADER_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
315
|
+
CHART_CATEGORICAL_COLORS_FIELD_NUMBER: _builtins.int
|
|
316
|
+
CHART_SEQUENTIAL_COLORS_FIELD_NUMBER: _builtins.int
|
|
317
|
+
RED_COLOR_FIELD_NUMBER: _builtins.int
|
|
318
|
+
ORANGE_COLOR_FIELD_NUMBER: _builtins.int
|
|
319
|
+
YELLOW_COLOR_FIELD_NUMBER: _builtins.int
|
|
320
|
+
BLUE_COLOR_FIELD_NUMBER: _builtins.int
|
|
321
|
+
GREEN_COLOR_FIELD_NUMBER: _builtins.int
|
|
322
|
+
VIOLET_COLOR_FIELD_NUMBER: _builtins.int
|
|
323
|
+
GRAY_COLOR_FIELD_NUMBER: _builtins.int
|
|
324
|
+
RED_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
325
|
+
ORANGE_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
326
|
+
YELLOW_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
327
|
+
BLUE_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
328
|
+
GREEN_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
329
|
+
VIOLET_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
330
|
+
GRAY_BACKGROUND_COLOR_FIELD_NUMBER: _builtins.int
|
|
331
|
+
RED_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
332
|
+
ORANGE_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
333
|
+
YELLOW_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
334
|
+
BLUE_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
335
|
+
GREEN_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
336
|
+
VIOLET_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
337
|
+
GRAY_TEXT_COLOR_FIELD_NUMBER: _builtins.int
|
|
338
|
+
SIDEBAR_FIELD_NUMBER: _builtins.int
|
|
339
|
+
LIGHT_FIELD_NUMBER: _builtins.int
|
|
340
|
+
DARK_FIELD_NUMBER: _builtins.int
|
|
341
|
+
primary_color: _builtins.str
|
|
342
|
+
secondary_background_color: _builtins.str
|
|
343
|
+
background_color: _builtins.str
|
|
344
|
+
text_color: _builtins.str
|
|
340
345
|
font: Global___CustomThemeConfig.FontFamily.ValueType
|
|
341
346
|
"""DEPRECATED: Use body_font instead:"""
|
|
342
347
|
base: Global___CustomThemeConfig.BaseTheme.ValueType
|
|
343
|
-
widget_background_color:
|
|
348
|
+
widget_background_color: _builtins.str
|
|
344
349
|
"""DEPRECATED: This color is not applied anymore:"""
|
|
345
|
-
widget_border_color:
|
|
350
|
+
widget_border_color: _builtins.str
|
|
346
351
|
"""DEPRECATED: Use the border_color and show_widget_border instead:"""
|
|
347
|
-
heading_font:
|
|
348
|
-
body_font:
|
|
349
|
-
code_font:
|
|
350
|
-
skeleton_background_color:
|
|
352
|
+
heading_font: _builtins.str
|
|
353
|
+
body_font: _builtins.str
|
|
354
|
+
code_font: _builtins.str
|
|
355
|
+
skeleton_background_color: _builtins.str
|
|
351
356
|
"""DEPRECATED: This color is not applied anymore:"""
|
|
352
|
-
base_radius:
|
|
353
|
-
button_radius:
|
|
354
|
-
border_color:
|
|
355
|
-
dataframe_border_color:
|
|
356
|
-
show_widget_border:
|
|
357
|
-
link_color:
|
|
358
|
-
link_underline:
|
|
359
|
-
base_font_size:
|
|
360
|
-
base_font_weight:
|
|
361
|
-
code_font_weight:
|
|
362
|
-
code_font_size:
|
|
363
|
-
show_sidebar_border:
|
|
364
|
-
code_text_color:
|
|
365
|
-
code_background_color:
|
|
366
|
-
dataframe_header_background_color:
|
|
367
|
-
red_color:
|
|
357
|
+
base_radius: _builtins.str
|
|
358
|
+
button_radius: _builtins.str
|
|
359
|
+
border_color: _builtins.str
|
|
360
|
+
dataframe_border_color: _builtins.str
|
|
361
|
+
show_widget_border: _builtins.bool
|
|
362
|
+
link_color: _builtins.str
|
|
363
|
+
link_underline: _builtins.bool
|
|
364
|
+
base_font_size: _builtins.int
|
|
365
|
+
base_font_weight: _builtins.int
|
|
366
|
+
code_font_weight: _builtins.int
|
|
367
|
+
code_font_size: _builtins.str
|
|
368
|
+
show_sidebar_border: _builtins.bool
|
|
369
|
+
code_text_color: _builtins.str
|
|
370
|
+
code_background_color: _builtins.str
|
|
371
|
+
dataframe_header_background_color: _builtins.str
|
|
372
|
+
red_color: _builtins.str
|
|
368
373
|
"""Main color configs:"""
|
|
369
|
-
orange_color:
|
|
370
|
-
yellow_color:
|
|
371
|
-
blue_color:
|
|
372
|
-
green_color:
|
|
373
|
-
violet_color:
|
|
374
|
-
gray_color:
|
|
375
|
-
red_background_color:
|
|
374
|
+
orange_color: _builtins.str
|
|
375
|
+
yellow_color: _builtins.str
|
|
376
|
+
blue_color: _builtins.str
|
|
377
|
+
green_color: _builtins.str
|
|
378
|
+
violet_color: _builtins.str
|
|
379
|
+
gray_color: _builtins.str
|
|
380
|
+
red_background_color: _builtins.str
|
|
376
381
|
"""Background color configs:"""
|
|
377
|
-
orange_background_color:
|
|
378
|
-
yellow_background_color:
|
|
379
|
-
blue_background_color:
|
|
380
|
-
green_background_color:
|
|
381
|
-
violet_background_color:
|
|
382
|
-
gray_background_color:
|
|
383
|
-
red_text_color:
|
|
382
|
+
orange_background_color: _builtins.str
|
|
383
|
+
yellow_background_color: _builtins.str
|
|
384
|
+
blue_background_color: _builtins.str
|
|
385
|
+
green_background_color: _builtins.str
|
|
386
|
+
violet_background_color: _builtins.str
|
|
387
|
+
gray_background_color: _builtins.str
|
|
388
|
+
red_text_color: _builtins.str
|
|
384
389
|
"""Text color configs:"""
|
|
385
|
-
orange_text_color:
|
|
386
|
-
yellow_text_color:
|
|
387
|
-
blue_text_color:
|
|
388
|
-
green_text_color:
|
|
389
|
-
violet_text_color:
|
|
390
|
-
gray_text_color:
|
|
391
|
-
@property
|
|
390
|
+
orange_text_color: _builtins.str
|
|
391
|
+
yellow_text_color: _builtins.str
|
|
392
|
+
blue_text_color: _builtins.str
|
|
393
|
+
green_text_color: _builtins.str
|
|
394
|
+
violet_text_color: _builtins.str
|
|
395
|
+
gray_text_color: _builtins.str
|
|
396
|
+
@_builtins.property
|
|
392
397
|
def radii(self) -> Global___Radii:
|
|
393
398
|
"""DEPRECATED: Please use the base_radius theme config instead:"""
|
|
394
399
|
|
|
395
|
-
@property
|
|
396
|
-
def font_faces(self) ->
|
|
397
|
-
@property
|
|
398
|
-
def font_sources(self) ->
|
|
399
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
401
|
+
def font_faces(self) -> _containers.RepeatedCompositeFieldContainer[Global___FontFace]: ...
|
|
402
|
+
@_builtins.property
|
|
403
|
+
def font_sources(self) -> _containers.RepeatedCompositeFieldContainer[Global___FontSource]: ...
|
|
404
|
+
@_builtins.property
|
|
400
405
|
def font_sizes(self) -> Global___FontSizes:
|
|
401
406
|
"""DEPRECATED: Please use the base_font_size theme config instead:"""
|
|
402
407
|
|
|
403
|
-
@property
|
|
404
|
-
def heading_font_sizes(self) ->
|
|
405
|
-
@property
|
|
406
|
-
def heading_font_weights(self) ->
|
|
407
|
-
@property
|
|
408
|
-
def chart_categorical_colors(self) ->
|
|
409
|
-
@property
|
|
410
|
-
def chart_sequential_colors(self) ->
|
|
411
|
-
@property
|
|
408
|
+
@_builtins.property
|
|
409
|
+
def heading_font_sizes(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
410
|
+
@_builtins.property
|
|
411
|
+
def heading_font_weights(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]: ...
|
|
412
|
+
@_builtins.property
|
|
413
|
+
def chart_categorical_colors(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
414
|
+
@_builtins.property
|
|
415
|
+
def chart_sequential_colors(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
416
|
+
@_builtins.property
|
|
412
417
|
def sidebar(self) -> Global___CustomThemeConfig:
|
|
413
418
|
"""Theme sections:"""
|
|
414
419
|
|
|
415
|
-
@property
|
|
420
|
+
@_builtins.property
|
|
416
421
|
def light(self) -> Global___CustomThemeConfig: ...
|
|
417
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
418
423
|
def dark(self) -> Global___CustomThemeConfig: ...
|
|
419
424
|
def __init__(
|
|
420
425
|
self,
|
|
421
426
|
*,
|
|
422
|
-
primary_color:
|
|
423
|
-
secondary_background_color:
|
|
424
|
-
background_color:
|
|
425
|
-
text_color:
|
|
427
|
+
primary_color: _builtins.str = ...,
|
|
428
|
+
secondary_background_color: _builtins.str = ...,
|
|
429
|
+
background_color: _builtins.str = ...,
|
|
430
|
+
text_color: _builtins.str = ...,
|
|
426
431
|
font: Global___CustomThemeConfig.FontFamily.ValueType = ...,
|
|
427
432
|
base: Global___CustomThemeConfig.BaseTheme.ValueType = ...,
|
|
428
|
-
widget_background_color:
|
|
429
|
-
widget_border_color:
|
|
433
|
+
widget_background_color: _builtins.str = ...,
|
|
434
|
+
widget_border_color: _builtins.str = ...,
|
|
430
435
|
radii: Global___Radii | None = ...,
|
|
431
|
-
heading_font:
|
|
432
|
-
body_font:
|
|
433
|
-
code_font:
|
|
434
|
-
font_faces:
|
|
435
|
-
font_sources:
|
|
436
|
+
heading_font: _builtins.str = ...,
|
|
437
|
+
body_font: _builtins.str = ...,
|
|
438
|
+
code_font: _builtins.str = ...,
|
|
439
|
+
font_faces: _abc.Iterable[Global___FontFace] | None = ...,
|
|
440
|
+
font_sources: _abc.Iterable[Global___FontSource] | None = ...,
|
|
436
441
|
font_sizes: Global___FontSizes | None = ...,
|
|
437
|
-
skeleton_background_color:
|
|
438
|
-
base_radius:
|
|
439
|
-
button_radius:
|
|
440
|
-
border_color:
|
|
441
|
-
dataframe_border_color:
|
|
442
|
-
show_widget_border:
|
|
443
|
-
link_color:
|
|
444
|
-
link_underline:
|
|
445
|
-
base_font_size:
|
|
446
|
-
base_font_weight:
|
|
447
|
-
code_font_weight:
|
|
448
|
-
code_font_size:
|
|
449
|
-
heading_font_sizes:
|
|
450
|
-
heading_font_weights:
|
|
451
|
-
show_sidebar_border:
|
|
452
|
-
code_text_color:
|
|
453
|
-
code_background_color:
|
|
454
|
-
dataframe_header_background_color:
|
|
455
|
-
chart_categorical_colors:
|
|
456
|
-
chart_sequential_colors:
|
|
457
|
-
red_color:
|
|
458
|
-
orange_color:
|
|
459
|
-
yellow_color:
|
|
460
|
-
blue_color:
|
|
461
|
-
green_color:
|
|
462
|
-
violet_color:
|
|
463
|
-
gray_color:
|
|
464
|
-
red_background_color:
|
|
465
|
-
orange_background_color:
|
|
466
|
-
yellow_background_color:
|
|
467
|
-
blue_background_color:
|
|
468
|
-
green_background_color:
|
|
469
|
-
violet_background_color:
|
|
470
|
-
gray_background_color:
|
|
471
|
-
red_text_color:
|
|
472
|
-
orange_text_color:
|
|
473
|
-
yellow_text_color:
|
|
474
|
-
blue_text_color:
|
|
475
|
-
green_text_color:
|
|
476
|
-
violet_text_color:
|
|
477
|
-
gray_text_color:
|
|
442
|
+
skeleton_background_color: _builtins.str = ...,
|
|
443
|
+
base_radius: _builtins.str | None = ...,
|
|
444
|
+
button_radius: _builtins.str | None = ...,
|
|
445
|
+
border_color: _builtins.str | None = ...,
|
|
446
|
+
dataframe_border_color: _builtins.str | None = ...,
|
|
447
|
+
show_widget_border: _builtins.bool | None = ...,
|
|
448
|
+
link_color: _builtins.str | None = ...,
|
|
449
|
+
link_underline: _builtins.bool | None = ...,
|
|
450
|
+
base_font_size: _builtins.int | None = ...,
|
|
451
|
+
base_font_weight: _builtins.int | None = ...,
|
|
452
|
+
code_font_weight: _builtins.int | None = ...,
|
|
453
|
+
code_font_size: _builtins.str | None = ...,
|
|
454
|
+
heading_font_sizes: _abc.Iterable[_builtins.str] | None = ...,
|
|
455
|
+
heading_font_weights: _abc.Iterable[_builtins.int] | None = ...,
|
|
456
|
+
show_sidebar_border: _builtins.bool | None = ...,
|
|
457
|
+
code_text_color: _builtins.str | None = ...,
|
|
458
|
+
code_background_color: _builtins.str | None = ...,
|
|
459
|
+
dataframe_header_background_color: _builtins.str | None = ...,
|
|
460
|
+
chart_categorical_colors: _abc.Iterable[_builtins.str] | None = ...,
|
|
461
|
+
chart_sequential_colors: _abc.Iterable[_builtins.str] | None = ...,
|
|
462
|
+
red_color: _builtins.str | None = ...,
|
|
463
|
+
orange_color: _builtins.str | None = ...,
|
|
464
|
+
yellow_color: _builtins.str | None = ...,
|
|
465
|
+
blue_color: _builtins.str | None = ...,
|
|
466
|
+
green_color: _builtins.str | None = ...,
|
|
467
|
+
violet_color: _builtins.str | None = ...,
|
|
468
|
+
gray_color: _builtins.str | None = ...,
|
|
469
|
+
red_background_color: _builtins.str | None = ...,
|
|
470
|
+
orange_background_color: _builtins.str | None = ...,
|
|
471
|
+
yellow_background_color: _builtins.str | None = ...,
|
|
472
|
+
blue_background_color: _builtins.str | None = ...,
|
|
473
|
+
green_background_color: _builtins.str | None = ...,
|
|
474
|
+
violet_background_color: _builtins.str | None = ...,
|
|
475
|
+
gray_background_color: _builtins.str | None = ...,
|
|
476
|
+
red_text_color: _builtins.str | None = ...,
|
|
477
|
+
orange_text_color: _builtins.str | None = ...,
|
|
478
|
+
yellow_text_color: _builtins.str | None = ...,
|
|
479
|
+
blue_text_color: _builtins.str | None = ...,
|
|
480
|
+
green_text_color: _builtins.str | None = ...,
|
|
481
|
+
violet_text_color: _builtins.str | None = ...,
|
|
482
|
+
gray_text_color: _builtins.str | None = ...,
|
|
478
483
|
sidebar: Global___CustomThemeConfig | None = ...,
|
|
479
484
|
light: Global___CustomThemeConfig | None = ...,
|
|
480
485
|
dark: Global___CustomThemeConfig | None = ...,
|
|
481
486
|
) -> None: ...
|
|
482
|
-
_HasFieldArgType:
|
|
483
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
484
|
-
_ClearFieldArgType:
|
|
487
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_code_text_color", b"_code_text_color", "_dark", b"_dark", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_light", b"_light", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "border_color", b"border_color", "button_radius", b"button_radius", "code_background_color", b"code_background_color", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "code_text_color", b"code_text_color", "dark", b"dark", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font_sizes", b"font_sizes", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "light", b"light", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"] # noqa: Y015
|
|
488
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
489
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_base_font_size", b"_base_font_size", "_base_font_weight", b"_base_font_weight", "_base_radius", b"_base_radius", "_blue_background_color", b"_blue_background_color", "_blue_color", b"_blue_color", "_blue_text_color", b"_blue_text_color", "_border_color", b"_border_color", "_button_radius", b"_button_radius", "_code_background_color", b"_code_background_color", "_code_font_size", b"_code_font_size", "_code_font_weight", b"_code_font_weight", "_code_text_color", b"_code_text_color", "_dark", b"_dark", "_dataframe_border_color", b"_dataframe_border_color", "_dataframe_header_background_color", b"_dataframe_header_background_color", "_gray_background_color", b"_gray_background_color", "_gray_color", b"_gray_color", "_gray_text_color", b"_gray_text_color", "_green_background_color", b"_green_background_color", "_green_color", b"_green_color", "_green_text_color", b"_green_text_color", "_light", b"_light", "_link_color", b"_link_color", "_link_underline", b"_link_underline", "_orange_background_color", b"_orange_background_color", "_orange_color", b"_orange_color", "_orange_text_color", b"_orange_text_color", "_red_background_color", b"_red_background_color", "_red_color", b"_red_color", "_red_text_color", b"_red_text_color", "_show_sidebar_border", b"_show_sidebar_border", "_show_widget_border", b"_show_widget_border", "_sidebar", b"_sidebar", "_violet_background_color", b"_violet_background_color", "_violet_color", b"_violet_color", "_violet_text_color", b"_violet_text_color", "_yellow_background_color", b"_yellow_background_color", "_yellow_color", b"_yellow_color", "_yellow_text_color", b"_yellow_text_color", "background_color", b"background_color", "base", b"base", "base_font_size", b"base_font_size", "base_font_weight", b"base_font_weight", "base_radius", b"base_radius", "blue_background_color", b"blue_background_color", "blue_color", b"blue_color", "blue_text_color", b"blue_text_color", "body_font", b"body_font", "border_color", b"border_color", "button_radius", b"button_radius", "chart_categorical_colors", b"chart_categorical_colors", "chart_sequential_colors", b"chart_sequential_colors", "code_background_color", b"code_background_color", "code_font", b"code_font", "code_font_size", b"code_font_size", "code_font_weight", b"code_font_weight", "code_text_color", b"code_text_color", "dark", b"dark", "dataframe_border_color", b"dataframe_border_color", "dataframe_header_background_color", b"dataframe_header_background_color", "font", b"font", "font_faces", b"font_faces", "font_sizes", b"font_sizes", "font_sources", b"font_sources", "gray_background_color", b"gray_background_color", "gray_color", b"gray_color", "gray_text_color", b"gray_text_color", "green_background_color", b"green_background_color", "green_color", b"green_color", "green_text_color", b"green_text_color", "heading_font", b"heading_font", "heading_font_sizes", b"heading_font_sizes", "heading_font_weights", b"heading_font_weights", "light", b"light", "link_color", b"link_color", "link_underline", b"link_underline", "orange_background_color", b"orange_background_color", "orange_color", b"orange_color", "orange_text_color", b"orange_text_color", "primary_color", b"primary_color", "radii", b"radii", "red_background_color", b"red_background_color", "red_color", b"red_color", "red_text_color", b"red_text_color", "secondary_background_color", b"secondary_background_color", "show_sidebar_border", b"show_sidebar_border", "show_widget_border", b"show_widget_border", "sidebar", b"sidebar", "skeleton_background_color", b"skeleton_background_color", "text_color", b"text_color", "violet_background_color", b"violet_background_color", "violet_color", b"violet_color", "violet_text_color", b"violet_text_color", "widget_background_color", b"widget_background_color", "widget_border_color", b"widget_border_color", "yellow_background_color", b"yellow_background_color", "yellow_color", b"yellow_color", "yellow_text_color", b"yellow_text_color"] # noqa: Y015
|
|
485
490
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
486
|
-
_WhichOneofReturnType__base_font_size:
|
|
487
|
-
_WhichOneofArgType__base_font_size:
|
|
488
|
-
_WhichOneofReturnType__base_font_weight:
|
|
489
|
-
_WhichOneofArgType__base_font_weight:
|
|
490
|
-
_WhichOneofReturnType__base_radius:
|
|
491
|
-
_WhichOneofArgType__base_radius:
|
|
492
|
-
_WhichOneofReturnType__blue_background_color:
|
|
493
|
-
_WhichOneofArgType__blue_background_color:
|
|
494
|
-
_WhichOneofReturnType__blue_color:
|
|
495
|
-
_WhichOneofArgType__blue_color:
|
|
496
|
-
_WhichOneofReturnType__blue_text_color:
|
|
497
|
-
_WhichOneofArgType__blue_text_color:
|
|
498
|
-
_WhichOneofReturnType__border_color:
|
|
499
|
-
_WhichOneofArgType__border_color:
|
|
500
|
-
_WhichOneofReturnType__button_radius:
|
|
501
|
-
_WhichOneofArgType__button_radius:
|
|
502
|
-
_WhichOneofReturnType__code_background_color:
|
|
503
|
-
_WhichOneofArgType__code_background_color:
|
|
504
|
-
_WhichOneofReturnType__code_font_size:
|
|
505
|
-
_WhichOneofArgType__code_font_size:
|
|
506
|
-
_WhichOneofReturnType__code_font_weight:
|
|
507
|
-
_WhichOneofArgType__code_font_weight:
|
|
508
|
-
_WhichOneofReturnType__code_text_color:
|
|
509
|
-
_WhichOneofArgType__code_text_color:
|
|
510
|
-
_WhichOneofReturnType__dark:
|
|
511
|
-
_WhichOneofArgType__dark:
|
|
512
|
-
_WhichOneofReturnType__dataframe_border_color:
|
|
513
|
-
_WhichOneofArgType__dataframe_border_color:
|
|
514
|
-
_WhichOneofReturnType__dataframe_header_background_color:
|
|
515
|
-
_WhichOneofArgType__dataframe_header_background_color:
|
|
516
|
-
_WhichOneofReturnType__gray_background_color:
|
|
517
|
-
_WhichOneofArgType__gray_background_color:
|
|
518
|
-
_WhichOneofReturnType__gray_color:
|
|
519
|
-
_WhichOneofArgType__gray_color:
|
|
520
|
-
_WhichOneofReturnType__gray_text_color:
|
|
521
|
-
_WhichOneofArgType__gray_text_color:
|
|
522
|
-
_WhichOneofReturnType__green_background_color:
|
|
523
|
-
_WhichOneofArgType__green_background_color:
|
|
524
|
-
_WhichOneofReturnType__green_color:
|
|
525
|
-
_WhichOneofArgType__green_color:
|
|
526
|
-
_WhichOneofReturnType__green_text_color:
|
|
527
|
-
_WhichOneofArgType__green_text_color:
|
|
528
|
-
_WhichOneofReturnType__light:
|
|
529
|
-
_WhichOneofArgType__light:
|
|
530
|
-
_WhichOneofReturnType__link_color:
|
|
531
|
-
_WhichOneofArgType__link_color:
|
|
532
|
-
_WhichOneofReturnType__link_underline:
|
|
533
|
-
_WhichOneofArgType__link_underline:
|
|
534
|
-
_WhichOneofReturnType__orange_background_color:
|
|
535
|
-
_WhichOneofArgType__orange_background_color:
|
|
536
|
-
_WhichOneofReturnType__orange_color:
|
|
537
|
-
_WhichOneofArgType__orange_color:
|
|
538
|
-
_WhichOneofReturnType__orange_text_color:
|
|
539
|
-
_WhichOneofArgType__orange_text_color:
|
|
540
|
-
_WhichOneofReturnType__red_background_color:
|
|
541
|
-
_WhichOneofArgType__red_background_color:
|
|
542
|
-
_WhichOneofReturnType__red_color:
|
|
543
|
-
_WhichOneofArgType__red_color:
|
|
544
|
-
_WhichOneofReturnType__red_text_color:
|
|
545
|
-
_WhichOneofArgType__red_text_color:
|
|
546
|
-
_WhichOneofReturnType__show_sidebar_border:
|
|
547
|
-
_WhichOneofArgType__show_sidebar_border:
|
|
548
|
-
_WhichOneofReturnType__show_widget_border:
|
|
549
|
-
_WhichOneofArgType__show_widget_border:
|
|
550
|
-
_WhichOneofReturnType__sidebar:
|
|
551
|
-
_WhichOneofArgType__sidebar:
|
|
552
|
-
_WhichOneofReturnType__violet_background_color:
|
|
553
|
-
_WhichOneofArgType__violet_background_color:
|
|
554
|
-
_WhichOneofReturnType__violet_color:
|
|
555
|
-
_WhichOneofArgType__violet_color:
|
|
556
|
-
_WhichOneofReturnType__violet_text_color:
|
|
557
|
-
_WhichOneofArgType__violet_text_color:
|
|
558
|
-
_WhichOneofReturnType__yellow_background_color:
|
|
559
|
-
_WhichOneofArgType__yellow_background_color:
|
|
560
|
-
_WhichOneofReturnType__yellow_color:
|
|
561
|
-
_WhichOneofArgType__yellow_color:
|
|
562
|
-
_WhichOneofReturnType__yellow_text_color:
|
|
563
|
-
_WhichOneofArgType__yellow_text_color:
|
|
564
|
-
@
|
|
491
|
+
_WhichOneofReturnType__base_font_size: _TypeAlias = _typing.Literal["base_font_size"] # noqa: Y015
|
|
492
|
+
_WhichOneofArgType__base_font_size: _TypeAlias = _typing.Literal["_base_font_size", b"_base_font_size"] # noqa: Y015
|
|
493
|
+
_WhichOneofReturnType__base_font_weight: _TypeAlias = _typing.Literal["base_font_weight"] # noqa: Y015
|
|
494
|
+
_WhichOneofArgType__base_font_weight: _TypeAlias = _typing.Literal["_base_font_weight", b"_base_font_weight"] # noqa: Y015
|
|
495
|
+
_WhichOneofReturnType__base_radius: _TypeAlias = _typing.Literal["base_radius"] # noqa: Y015
|
|
496
|
+
_WhichOneofArgType__base_radius: _TypeAlias = _typing.Literal["_base_radius", b"_base_radius"] # noqa: Y015
|
|
497
|
+
_WhichOneofReturnType__blue_background_color: _TypeAlias = _typing.Literal["blue_background_color"] # noqa: Y015
|
|
498
|
+
_WhichOneofArgType__blue_background_color: _TypeAlias = _typing.Literal["_blue_background_color", b"_blue_background_color"] # noqa: Y015
|
|
499
|
+
_WhichOneofReturnType__blue_color: _TypeAlias = _typing.Literal["blue_color"] # noqa: Y015
|
|
500
|
+
_WhichOneofArgType__blue_color: _TypeAlias = _typing.Literal["_blue_color", b"_blue_color"] # noqa: Y015
|
|
501
|
+
_WhichOneofReturnType__blue_text_color: _TypeAlias = _typing.Literal["blue_text_color"] # noqa: Y015
|
|
502
|
+
_WhichOneofArgType__blue_text_color: _TypeAlias = _typing.Literal["_blue_text_color", b"_blue_text_color"] # noqa: Y015
|
|
503
|
+
_WhichOneofReturnType__border_color: _TypeAlias = _typing.Literal["border_color"] # noqa: Y015
|
|
504
|
+
_WhichOneofArgType__border_color: _TypeAlias = _typing.Literal["_border_color", b"_border_color"] # noqa: Y015
|
|
505
|
+
_WhichOneofReturnType__button_radius: _TypeAlias = _typing.Literal["button_radius"] # noqa: Y015
|
|
506
|
+
_WhichOneofArgType__button_radius: _TypeAlias = _typing.Literal["_button_radius", b"_button_radius"] # noqa: Y015
|
|
507
|
+
_WhichOneofReturnType__code_background_color: _TypeAlias = _typing.Literal["code_background_color"] # noqa: Y015
|
|
508
|
+
_WhichOneofArgType__code_background_color: _TypeAlias = _typing.Literal["_code_background_color", b"_code_background_color"] # noqa: Y015
|
|
509
|
+
_WhichOneofReturnType__code_font_size: _TypeAlias = _typing.Literal["code_font_size"] # noqa: Y015
|
|
510
|
+
_WhichOneofArgType__code_font_size: _TypeAlias = _typing.Literal["_code_font_size", b"_code_font_size"] # noqa: Y015
|
|
511
|
+
_WhichOneofReturnType__code_font_weight: _TypeAlias = _typing.Literal["code_font_weight"] # noqa: Y015
|
|
512
|
+
_WhichOneofArgType__code_font_weight: _TypeAlias = _typing.Literal["_code_font_weight", b"_code_font_weight"] # noqa: Y015
|
|
513
|
+
_WhichOneofReturnType__code_text_color: _TypeAlias = _typing.Literal["code_text_color"] # noqa: Y015
|
|
514
|
+
_WhichOneofArgType__code_text_color: _TypeAlias = _typing.Literal["_code_text_color", b"_code_text_color"] # noqa: Y015
|
|
515
|
+
_WhichOneofReturnType__dark: _TypeAlias = _typing.Literal["dark"] # noqa: Y015
|
|
516
|
+
_WhichOneofArgType__dark: _TypeAlias = _typing.Literal["_dark", b"_dark"] # noqa: Y015
|
|
517
|
+
_WhichOneofReturnType__dataframe_border_color: _TypeAlias = _typing.Literal["dataframe_border_color"] # noqa: Y015
|
|
518
|
+
_WhichOneofArgType__dataframe_border_color: _TypeAlias = _typing.Literal["_dataframe_border_color", b"_dataframe_border_color"] # noqa: Y015
|
|
519
|
+
_WhichOneofReturnType__dataframe_header_background_color: _TypeAlias = _typing.Literal["dataframe_header_background_color"] # noqa: Y015
|
|
520
|
+
_WhichOneofArgType__dataframe_header_background_color: _TypeAlias = _typing.Literal["_dataframe_header_background_color", b"_dataframe_header_background_color"] # noqa: Y015
|
|
521
|
+
_WhichOneofReturnType__gray_background_color: _TypeAlias = _typing.Literal["gray_background_color"] # noqa: Y015
|
|
522
|
+
_WhichOneofArgType__gray_background_color: _TypeAlias = _typing.Literal["_gray_background_color", b"_gray_background_color"] # noqa: Y015
|
|
523
|
+
_WhichOneofReturnType__gray_color: _TypeAlias = _typing.Literal["gray_color"] # noqa: Y015
|
|
524
|
+
_WhichOneofArgType__gray_color: _TypeAlias = _typing.Literal["_gray_color", b"_gray_color"] # noqa: Y015
|
|
525
|
+
_WhichOneofReturnType__gray_text_color: _TypeAlias = _typing.Literal["gray_text_color"] # noqa: Y015
|
|
526
|
+
_WhichOneofArgType__gray_text_color: _TypeAlias = _typing.Literal["_gray_text_color", b"_gray_text_color"] # noqa: Y015
|
|
527
|
+
_WhichOneofReturnType__green_background_color: _TypeAlias = _typing.Literal["green_background_color"] # noqa: Y015
|
|
528
|
+
_WhichOneofArgType__green_background_color: _TypeAlias = _typing.Literal["_green_background_color", b"_green_background_color"] # noqa: Y015
|
|
529
|
+
_WhichOneofReturnType__green_color: _TypeAlias = _typing.Literal["green_color"] # noqa: Y015
|
|
530
|
+
_WhichOneofArgType__green_color: _TypeAlias = _typing.Literal["_green_color", b"_green_color"] # noqa: Y015
|
|
531
|
+
_WhichOneofReturnType__green_text_color: _TypeAlias = _typing.Literal["green_text_color"] # noqa: Y015
|
|
532
|
+
_WhichOneofArgType__green_text_color: _TypeAlias = _typing.Literal["_green_text_color", b"_green_text_color"] # noqa: Y015
|
|
533
|
+
_WhichOneofReturnType__light: _TypeAlias = _typing.Literal["light"] # noqa: Y015
|
|
534
|
+
_WhichOneofArgType__light: _TypeAlias = _typing.Literal["_light", b"_light"] # noqa: Y015
|
|
535
|
+
_WhichOneofReturnType__link_color: _TypeAlias = _typing.Literal["link_color"] # noqa: Y015
|
|
536
|
+
_WhichOneofArgType__link_color: _TypeAlias = _typing.Literal["_link_color", b"_link_color"] # noqa: Y015
|
|
537
|
+
_WhichOneofReturnType__link_underline: _TypeAlias = _typing.Literal["link_underline"] # noqa: Y015
|
|
538
|
+
_WhichOneofArgType__link_underline: _TypeAlias = _typing.Literal["_link_underline", b"_link_underline"] # noqa: Y015
|
|
539
|
+
_WhichOneofReturnType__orange_background_color: _TypeAlias = _typing.Literal["orange_background_color"] # noqa: Y015
|
|
540
|
+
_WhichOneofArgType__orange_background_color: _TypeAlias = _typing.Literal["_orange_background_color", b"_orange_background_color"] # noqa: Y015
|
|
541
|
+
_WhichOneofReturnType__orange_color: _TypeAlias = _typing.Literal["orange_color"] # noqa: Y015
|
|
542
|
+
_WhichOneofArgType__orange_color: _TypeAlias = _typing.Literal["_orange_color", b"_orange_color"] # noqa: Y015
|
|
543
|
+
_WhichOneofReturnType__orange_text_color: _TypeAlias = _typing.Literal["orange_text_color"] # noqa: Y015
|
|
544
|
+
_WhichOneofArgType__orange_text_color: _TypeAlias = _typing.Literal["_orange_text_color", b"_orange_text_color"] # noqa: Y015
|
|
545
|
+
_WhichOneofReturnType__red_background_color: _TypeAlias = _typing.Literal["red_background_color"] # noqa: Y015
|
|
546
|
+
_WhichOneofArgType__red_background_color: _TypeAlias = _typing.Literal["_red_background_color", b"_red_background_color"] # noqa: Y015
|
|
547
|
+
_WhichOneofReturnType__red_color: _TypeAlias = _typing.Literal["red_color"] # noqa: Y015
|
|
548
|
+
_WhichOneofArgType__red_color: _TypeAlias = _typing.Literal["_red_color", b"_red_color"] # noqa: Y015
|
|
549
|
+
_WhichOneofReturnType__red_text_color: _TypeAlias = _typing.Literal["red_text_color"] # noqa: Y015
|
|
550
|
+
_WhichOneofArgType__red_text_color: _TypeAlias = _typing.Literal["_red_text_color", b"_red_text_color"] # noqa: Y015
|
|
551
|
+
_WhichOneofReturnType__show_sidebar_border: _TypeAlias = _typing.Literal["show_sidebar_border"] # noqa: Y015
|
|
552
|
+
_WhichOneofArgType__show_sidebar_border: _TypeAlias = _typing.Literal["_show_sidebar_border", b"_show_sidebar_border"] # noqa: Y015
|
|
553
|
+
_WhichOneofReturnType__show_widget_border: _TypeAlias = _typing.Literal["show_widget_border"] # noqa: Y015
|
|
554
|
+
_WhichOneofArgType__show_widget_border: _TypeAlias = _typing.Literal["_show_widget_border", b"_show_widget_border"] # noqa: Y015
|
|
555
|
+
_WhichOneofReturnType__sidebar: _TypeAlias = _typing.Literal["sidebar"] # noqa: Y015
|
|
556
|
+
_WhichOneofArgType__sidebar: _TypeAlias = _typing.Literal["_sidebar", b"_sidebar"] # noqa: Y015
|
|
557
|
+
_WhichOneofReturnType__violet_background_color: _TypeAlias = _typing.Literal["violet_background_color"] # noqa: Y015
|
|
558
|
+
_WhichOneofArgType__violet_background_color: _TypeAlias = _typing.Literal["_violet_background_color", b"_violet_background_color"] # noqa: Y015
|
|
559
|
+
_WhichOneofReturnType__violet_color: _TypeAlias = _typing.Literal["violet_color"] # noqa: Y015
|
|
560
|
+
_WhichOneofArgType__violet_color: _TypeAlias = _typing.Literal["_violet_color", b"_violet_color"] # noqa: Y015
|
|
561
|
+
_WhichOneofReturnType__violet_text_color: _TypeAlias = _typing.Literal["violet_text_color"] # noqa: Y015
|
|
562
|
+
_WhichOneofArgType__violet_text_color: _TypeAlias = _typing.Literal["_violet_text_color", b"_violet_text_color"] # noqa: Y015
|
|
563
|
+
_WhichOneofReturnType__yellow_background_color: _TypeAlias = _typing.Literal["yellow_background_color"] # noqa: Y015
|
|
564
|
+
_WhichOneofArgType__yellow_background_color: _TypeAlias = _typing.Literal["_yellow_background_color", b"_yellow_background_color"] # noqa: Y015
|
|
565
|
+
_WhichOneofReturnType__yellow_color: _TypeAlias = _typing.Literal["yellow_color"] # noqa: Y015
|
|
566
|
+
_WhichOneofArgType__yellow_color: _TypeAlias = _typing.Literal["_yellow_color", b"_yellow_color"] # noqa: Y015
|
|
567
|
+
_WhichOneofReturnType__yellow_text_color: _TypeAlias = _typing.Literal["yellow_text_color"] # noqa: Y015
|
|
568
|
+
_WhichOneofArgType__yellow_text_color: _TypeAlias = _typing.Literal["_yellow_text_color", b"_yellow_text_color"] # noqa: Y015
|
|
569
|
+
@_typing.overload
|
|
565
570
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__base_font_size) -> _WhichOneofReturnType__base_font_size | None: ...
|
|
566
|
-
@
|
|
571
|
+
@_typing.overload
|
|
567
572
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__base_font_weight) -> _WhichOneofReturnType__base_font_weight | None: ...
|
|
568
|
-
@
|
|
573
|
+
@_typing.overload
|
|
569
574
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__base_radius) -> _WhichOneofReturnType__base_radius | None: ...
|
|
570
|
-
@
|
|
575
|
+
@_typing.overload
|
|
571
576
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__blue_background_color) -> _WhichOneofReturnType__blue_background_color | None: ...
|
|
572
|
-
@
|
|
577
|
+
@_typing.overload
|
|
573
578
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__blue_color) -> _WhichOneofReturnType__blue_color | None: ...
|
|
574
|
-
@
|
|
579
|
+
@_typing.overload
|
|
575
580
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__blue_text_color) -> _WhichOneofReturnType__blue_text_color | None: ...
|
|
576
|
-
@
|
|
581
|
+
@_typing.overload
|
|
577
582
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__border_color) -> _WhichOneofReturnType__border_color | None: ...
|
|
578
|
-
@
|
|
583
|
+
@_typing.overload
|
|
579
584
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__button_radius) -> _WhichOneofReturnType__button_radius | None: ...
|
|
580
|
-
@
|
|
585
|
+
@_typing.overload
|
|
581
586
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__code_background_color) -> _WhichOneofReturnType__code_background_color | None: ...
|
|
582
|
-
@
|
|
587
|
+
@_typing.overload
|
|
583
588
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__code_font_size) -> _WhichOneofReturnType__code_font_size | None: ...
|
|
584
|
-
@
|
|
589
|
+
@_typing.overload
|
|
585
590
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__code_font_weight) -> _WhichOneofReturnType__code_font_weight | None: ...
|
|
586
|
-
@
|
|
591
|
+
@_typing.overload
|
|
587
592
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__code_text_color) -> _WhichOneofReturnType__code_text_color | None: ...
|
|
588
|
-
@
|
|
593
|
+
@_typing.overload
|
|
589
594
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__dark) -> _WhichOneofReturnType__dark | None: ...
|
|
590
|
-
@
|
|
595
|
+
@_typing.overload
|
|
591
596
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__dataframe_border_color) -> _WhichOneofReturnType__dataframe_border_color | None: ...
|
|
592
|
-
@
|
|
597
|
+
@_typing.overload
|
|
593
598
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__dataframe_header_background_color) -> _WhichOneofReturnType__dataframe_header_background_color | None: ...
|
|
594
|
-
@
|
|
599
|
+
@_typing.overload
|
|
595
600
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__gray_background_color) -> _WhichOneofReturnType__gray_background_color | None: ...
|
|
596
|
-
@
|
|
601
|
+
@_typing.overload
|
|
597
602
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__gray_color) -> _WhichOneofReturnType__gray_color | None: ...
|
|
598
|
-
@
|
|
603
|
+
@_typing.overload
|
|
599
604
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__gray_text_color) -> _WhichOneofReturnType__gray_text_color | None: ...
|
|
600
|
-
@
|
|
605
|
+
@_typing.overload
|
|
601
606
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__green_background_color) -> _WhichOneofReturnType__green_background_color | None: ...
|
|
602
|
-
@
|
|
607
|
+
@_typing.overload
|
|
603
608
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__green_color) -> _WhichOneofReturnType__green_color | None: ...
|
|
604
|
-
@
|
|
609
|
+
@_typing.overload
|
|
605
610
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__green_text_color) -> _WhichOneofReturnType__green_text_color | None: ...
|
|
606
|
-
@
|
|
611
|
+
@_typing.overload
|
|
607
612
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__light) -> _WhichOneofReturnType__light | None: ...
|
|
608
|
-
@
|
|
613
|
+
@_typing.overload
|
|
609
614
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__link_color) -> _WhichOneofReturnType__link_color | None: ...
|
|
610
|
-
@
|
|
615
|
+
@_typing.overload
|
|
611
616
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__link_underline) -> _WhichOneofReturnType__link_underline | None: ...
|
|
612
|
-
@
|
|
617
|
+
@_typing.overload
|
|
613
618
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__orange_background_color) -> _WhichOneofReturnType__orange_background_color | None: ...
|
|
614
|
-
@
|
|
619
|
+
@_typing.overload
|
|
615
620
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__orange_color) -> _WhichOneofReturnType__orange_color | None: ...
|
|
616
|
-
@
|
|
621
|
+
@_typing.overload
|
|
617
622
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__orange_text_color) -> _WhichOneofReturnType__orange_text_color | None: ...
|
|
618
|
-
@
|
|
623
|
+
@_typing.overload
|
|
619
624
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__red_background_color) -> _WhichOneofReturnType__red_background_color | None: ...
|
|
620
|
-
@
|
|
625
|
+
@_typing.overload
|
|
621
626
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__red_color) -> _WhichOneofReturnType__red_color | None: ...
|
|
622
|
-
@
|
|
627
|
+
@_typing.overload
|
|
623
628
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__red_text_color) -> _WhichOneofReturnType__red_text_color | None: ...
|
|
624
|
-
@
|
|
629
|
+
@_typing.overload
|
|
625
630
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__show_sidebar_border) -> _WhichOneofReturnType__show_sidebar_border | None: ...
|
|
626
|
-
@
|
|
631
|
+
@_typing.overload
|
|
627
632
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__show_widget_border) -> _WhichOneofReturnType__show_widget_border | None: ...
|
|
628
|
-
@
|
|
633
|
+
@_typing.overload
|
|
629
634
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__sidebar) -> _WhichOneofReturnType__sidebar | None: ...
|
|
630
|
-
@
|
|
635
|
+
@_typing.overload
|
|
631
636
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__violet_background_color) -> _WhichOneofReturnType__violet_background_color | None: ...
|
|
632
|
-
@
|
|
637
|
+
@_typing.overload
|
|
633
638
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__violet_color) -> _WhichOneofReturnType__violet_color | None: ...
|
|
634
|
-
@
|
|
639
|
+
@_typing.overload
|
|
635
640
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__violet_text_color) -> _WhichOneofReturnType__violet_text_color | None: ...
|
|
636
|
-
@
|
|
641
|
+
@_typing.overload
|
|
637
642
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__yellow_background_color) -> _WhichOneofReturnType__yellow_background_color | None: ...
|
|
638
|
-
@
|
|
643
|
+
@_typing.overload
|
|
639
644
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__yellow_color) -> _WhichOneofReturnType__yellow_color | None: ...
|
|
640
|
-
@
|
|
645
|
+
@_typing.overload
|
|
641
646
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__yellow_text_color) -> _WhichOneofReturnType__yellow_text_color | None: ...
|
|
642
647
|
|
|
643
|
-
Global___CustomThemeConfig:
|
|
648
|
+
Global___CustomThemeConfig: _TypeAlias = CustomThemeConfig # noqa: Y015
|
|
644
649
|
|
|
645
|
-
@
|
|
646
|
-
class FontFace(
|
|
647
|
-
DESCRIPTOR:
|
|
650
|
+
@_typing.final
|
|
651
|
+
class FontFace(_message.Message):
|
|
652
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
648
653
|
|
|
649
|
-
URL_FIELD_NUMBER:
|
|
650
|
-
FAMILY_FIELD_NUMBER:
|
|
651
|
-
WEIGHT_FIELD_NUMBER:
|
|
652
|
-
WEIGHT_RANGE_FIELD_NUMBER:
|
|
653
|
-
STYLE_FIELD_NUMBER:
|
|
654
|
-
UNICODE_RANGE_FIELD_NUMBER:
|
|
655
|
-
url:
|
|
656
|
-
family:
|
|
654
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
655
|
+
FAMILY_FIELD_NUMBER: _builtins.int
|
|
656
|
+
WEIGHT_FIELD_NUMBER: _builtins.int
|
|
657
|
+
WEIGHT_RANGE_FIELD_NUMBER: _builtins.int
|
|
658
|
+
STYLE_FIELD_NUMBER: _builtins.int
|
|
659
|
+
UNICODE_RANGE_FIELD_NUMBER: _builtins.int
|
|
660
|
+
url: _builtins.str
|
|
661
|
+
family: _builtins.str
|
|
657
662
|
"""Equivalent to font-family @font-face CSS property."""
|
|
658
|
-
|
|
659
|
-
"""
|
|
660
|
-
|
|
663
|
+
@_builtins.property
|
|
664
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
665
|
+
def weight(self) -> _builtins.int:
|
|
666
|
+
"""DEPRECATED: Use weight_range instead which supports single weights & weight ranges."""
|
|
667
|
+
|
|
668
|
+
@weight.setter
|
|
669
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
670
|
+
def weight(self, value: _builtins.int) -> None:
|
|
671
|
+
"""DEPRECATED: Use weight_range instead which supports single weights & weight ranges."""
|
|
672
|
+
|
|
673
|
+
weight_range: _builtins.str
|
|
661
674
|
"""Equivalent to font-weight @font-face CSS property."""
|
|
662
|
-
style:
|
|
675
|
+
style: _builtins.str
|
|
663
676
|
"""Equivalent to font-style @font-face CSS property."""
|
|
664
|
-
unicode_range:
|
|
677
|
+
unicode_range: _builtins.str
|
|
665
678
|
"""Equivalent to unicode-range @font-face CSS property."""
|
|
666
679
|
def __init__(
|
|
667
680
|
self,
|
|
668
681
|
*,
|
|
669
|
-
url:
|
|
670
|
-
family:
|
|
671
|
-
weight:
|
|
672
|
-
weight_range:
|
|
673
|
-
style:
|
|
674
|
-
unicode_range:
|
|
682
|
+
url: _builtins.str = ...,
|
|
683
|
+
family: _builtins.str = ...,
|
|
684
|
+
weight: _builtins.int = ...,
|
|
685
|
+
weight_range: _builtins.str = ...,
|
|
686
|
+
style: _builtins.str = ...,
|
|
687
|
+
unicode_range: _builtins.str = ...,
|
|
675
688
|
) -> None: ...
|
|
676
|
-
_ClearFieldArgType:
|
|
689
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["family", b"family", "style", b"style", "unicode_range", b"unicode_range", "url", b"url", "weight", b"weight", "weight_range", b"weight_range"] # noqa: Y015
|
|
677
690
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
678
691
|
|
|
679
|
-
Global___FontFace:
|
|
692
|
+
Global___FontFace: _TypeAlias = FontFace # noqa: Y015
|
|
680
693
|
|
|
681
|
-
@
|
|
682
|
-
class FontSource(
|
|
683
|
-
DESCRIPTOR:
|
|
694
|
+
@_typing.final
|
|
695
|
+
class FontSource(_message.Message):
|
|
696
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
684
697
|
|
|
685
|
-
CONFIG_NAME_FIELD_NUMBER:
|
|
686
|
-
SOURCE_URL_FIELD_NUMBER:
|
|
687
|
-
config_name:
|
|
698
|
+
CONFIG_NAME_FIELD_NUMBER: _builtins.int
|
|
699
|
+
SOURCE_URL_FIELD_NUMBER: _builtins.int
|
|
700
|
+
config_name: _builtins.str
|
|
688
701
|
"""Supports passing links to font config options - these are the sources
|
|
689
702
|
used in the <link> tag (href) to embed the font in html
|
|
690
703
|
"""
|
|
691
|
-
source_url:
|
|
704
|
+
source_url: _builtins.str
|
|
692
705
|
def __init__(
|
|
693
706
|
self,
|
|
694
707
|
*,
|
|
695
|
-
config_name:
|
|
696
|
-
source_url:
|
|
708
|
+
config_name: _builtins.str = ...,
|
|
709
|
+
source_url: _builtins.str = ...,
|
|
697
710
|
) -> None: ...
|
|
698
|
-
_ClearFieldArgType:
|
|
711
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["config_name", b"config_name", "source_url", b"source_url"] # noqa: Y015
|
|
699
712
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
700
713
|
|
|
701
|
-
Global___FontSource:
|
|
714
|
+
Global___FontSource: _TypeAlias = FontSource # noqa: Y015
|
|
702
715
|
|
|
703
|
-
@
|
|
704
|
-
class Radii(
|
|
716
|
+
@_typing.final
|
|
717
|
+
class Radii(_message.Message):
|
|
705
718
|
"""DEPRECATED: Please use the base_radius theme config instead."""
|
|
706
719
|
|
|
707
|
-
DESCRIPTOR:
|
|
720
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
708
721
|
|
|
709
|
-
BASE_WIDGET_RADIUS_FIELD_NUMBER:
|
|
710
|
-
CHECKBOX_RADIUS_FIELD_NUMBER:
|
|
711
|
-
base_widget_radius:
|
|
722
|
+
BASE_WIDGET_RADIUS_FIELD_NUMBER: _builtins.int
|
|
723
|
+
CHECKBOX_RADIUS_FIELD_NUMBER: _builtins.int
|
|
724
|
+
base_widget_radius: _builtins.int
|
|
712
725
|
"""In pixels."""
|
|
713
|
-
checkbox_radius:
|
|
726
|
+
checkbox_radius: _builtins.int
|
|
714
727
|
def __init__(
|
|
715
728
|
self,
|
|
716
729
|
*,
|
|
717
|
-
base_widget_radius:
|
|
718
|
-
checkbox_radius:
|
|
730
|
+
base_widget_radius: _builtins.int = ...,
|
|
731
|
+
checkbox_radius: _builtins.int = ...,
|
|
719
732
|
) -> None: ...
|
|
720
|
-
_ClearFieldArgType:
|
|
733
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["base_widget_radius", b"base_widget_radius", "checkbox_radius", b"checkbox_radius"] # noqa: Y015
|
|
721
734
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
722
735
|
|
|
723
|
-
Global___Radii:
|
|
736
|
+
Global___Radii: _TypeAlias = Radii # noqa: Y015
|
|
724
737
|
|
|
725
|
-
@
|
|
726
|
-
class FontSizes(
|
|
738
|
+
@_typing.final
|
|
739
|
+
class FontSizes(_message.Message):
|
|
727
740
|
"""DEPRECATED: Please use the base_font_size theme config instead:"""
|
|
728
741
|
|
|
729
|
-
DESCRIPTOR:
|
|
742
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
730
743
|
|
|
731
|
-
TINY_FONT_SIZE_FIELD_NUMBER:
|
|
732
|
-
SMALL_FONT_SIZE_FIELD_NUMBER:
|
|
733
|
-
BASE_FONT_SIZE_FIELD_NUMBER:
|
|
734
|
-
tiny_font_size:
|
|
744
|
+
TINY_FONT_SIZE_FIELD_NUMBER: _builtins.int
|
|
745
|
+
SMALL_FONT_SIZE_FIELD_NUMBER: _builtins.int
|
|
746
|
+
BASE_FONT_SIZE_FIELD_NUMBER: _builtins.int
|
|
747
|
+
tiny_font_size: _builtins.int
|
|
735
748
|
"""In pixels."""
|
|
736
|
-
small_font_size:
|
|
737
|
-
base_font_size:
|
|
749
|
+
small_font_size: _builtins.int
|
|
750
|
+
base_font_size: _builtins.int
|
|
738
751
|
def __init__(
|
|
739
752
|
self,
|
|
740
753
|
*,
|
|
741
|
-
tiny_font_size:
|
|
742
|
-
small_font_size:
|
|
743
|
-
base_font_size:
|
|
754
|
+
tiny_font_size: _builtins.int = ...,
|
|
755
|
+
small_font_size: _builtins.int = ...,
|
|
756
|
+
base_font_size: _builtins.int = ...,
|
|
744
757
|
) -> None: ...
|
|
745
|
-
_ClearFieldArgType:
|
|
758
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["base_font_size", b"base_font_size", "small_font_size", b"small_font_size", "tiny_font_size", b"tiny_font_size"] # noqa: Y015
|
|
746
759
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
747
760
|
|
|
748
|
-
Global___FontSizes:
|
|
761
|
+
Global___FontSizes: _TypeAlias = FontSizes # noqa: Y015
|
|
749
762
|
|
|
750
|
-
@
|
|
751
|
-
class UserInfo(
|
|
763
|
+
@_typing.final
|
|
764
|
+
class UserInfo(_message.Message):
|
|
752
765
|
"""Data that identifies the Streamlit app creator.
|
|
753
766
|
Does not change over the app's lifetime.
|
|
754
767
|
"""
|
|
755
768
|
|
|
756
|
-
DESCRIPTOR:
|
|
769
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
757
770
|
|
|
758
|
-
INSTALLATION_ID_FIELD_NUMBER:
|
|
759
|
-
INSTALLATION_ID_V3_FIELD_NUMBER:
|
|
760
|
-
INSTALLATION_ID_V4_FIELD_NUMBER:
|
|
761
|
-
installation_id:
|
|
762
|
-
installation_id_v3:
|
|
763
|
-
installation_id_v4:
|
|
771
|
+
INSTALLATION_ID_FIELD_NUMBER: _builtins.int
|
|
772
|
+
INSTALLATION_ID_V3_FIELD_NUMBER: _builtins.int
|
|
773
|
+
INSTALLATION_ID_V4_FIELD_NUMBER: _builtins.int
|
|
774
|
+
installation_id: _builtins.str
|
|
775
|
+
installation_id_v3: _builtins.str
|
|
776
|
+
installation_id_v4: _builtins.str
|
|
764
777
|
def __init__(
|
|
765
778
|
self,
|
|
766
779
|
*,
|
|
767
|
-
installation_id:
|
|
768
|
-
installation_id_v3:
|
|
769
|
-
installation_id_v4:
|
|
780
|
+
installation_id: _builtins.str = ...,
|
|
781
|
+
installation_id_v3: _builtins.str = ...,
|
|
782
|
+
installation_id_v4: _builtins.str = ...,
|
|
770
783
|
) -> None: ...
|
|
771
|
-
_ClearFieldArgType:
|
|
784
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["installation_id", b"installation_id", "installation_id_v3", b"installation_id_v3", "installation_id_v4", b"installation_id_v4"] # noqa: Y015
|
|
772
785
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
773
786
|
|
|
774
|
-
Global___UserInfo:
|
|
787
|
+
Global___UserInfo: _TypeAlias = UserInfo # noqa: Y015
|
|
775
788
|
|
|
776
|
-
@
|
|
777
|
-
class EnvironmentInfo(
|
|
789
|
+
@_typing.final
|
|
790
|
+
class EnvironmentInfo(_message.Message):
|
|
778
791
|
"""Data that identifies the Streamlit app's environment.
|
|
779
792
|
Does not change over the app lifetime.
|
|
780
793
|
|
|
@@ -785,20 +798,20 @@ class EnvironmentInfo(google.protobuf.message.Message):
|
|
|
785
798
|
`streamlit_version` property so they can auto-update to the new version.
|
|
786
799
|
"""
|
|
787
800
|
|
|
788
|
-
DESCRIPTOR:
|
|
801
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
789
802
|
|
|
790
|
-
STREAMLIT_VERSION_FIELD_NUMBER:
|
|
791
|
-
PYTHON_VERSION_FIELD_NUMBER:
|
|
792
|
-
SERVER_OS_FIELD_NUMBER:
|
|
793
|
-
HAS_DISPLAY_FIELD_NUMBER:
|
|
794
|
-
streamlit_version:
|
|
795
|
-
python_version:
|
|
796
|
-
server_os:
|
|
803
|
+
STREAMLIT_VERSION_FIELD_NUMBER: _builtins.int
|
|
804
|
+
PYTHON_VERSION_FIELD_NUMBER: _builtins.int
|
|
805
|
+
SERVER_OS_FIELD_NUMBER: _builtins.int
|
|
806
|
+
HAS_DISPLAY_FIELD_NUMBER: _builtins.int
|
|
807
|
+
streamlit_version: _builtins.str
|
|
808
|
+
python_version: _builtins.str
|
|
809
|
+
server_os: _builtins.str
|
|
797
810
|
"""The name of the OS. Typically "windows", "mac", "linux",
|
|
798
811
|
but can take other values like "ios", "android", "freebsd8".
|
|
799
812
|
See https://docs.python.org/3/library/sys.html#sys.platform
|
|
800
813
|
"""
|
|
801
|
-
has_display:
|
|
814
|
+
has_display: _builtins.bool
|
|
802
815
|
"""True if Linux/BSD and DISPLAY or WAYLAND_DISPLAY environment variables are
|
|
803
816
|
set. This is used so we can tell when Streamlit is being executed in order
|
|
804
817
|
to develop the app (has_display = true) or to serve the app (has_display =
|
|
@@ -807,12 +820,12 @@ class EnvironmentInfo(google.protobuf.message.Message):
|
|
|
807
820
|
def __init__(
|
|
808
821
|
self,
|
|
809
822
|
*,
|
|
810
|
-
streamlit_version:
|
|
811
|
-
python_version:
|
|
812
|
-
server_os:
|
|
813
|
-
has_display:
|
|
823
|
+
streamlit_version: _builtins.str = ...,
|
|
824
|
+
python_version: _builtins.str = ...,
|
|
825
|
+
server_os: _builtins.str = ...,
|
|
826
|
+
has_display: _builtins.bool = ...,
|
|
814
827
|
) -> None: ...
|
|
815
|
-
_ClearFieldArgType:
|
|
828
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["has_display", b"has_display", "python_version", b"python_version", "server_os", b"server_os", "streamlit_version", b"streamlit_version"] # noqa: Y015
|
|
816
829
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
817
830
|
|
|
818
|
-
Global___EnvironmentInfo:
|
|
831
|
+
Global___EnvironmentInfo: _TypeAlias = EnvironmentInfo # noqa: Y015
|