Skip to content

Commit 572e3a6

Browse files
committed
Version 3.0.3 build artifacts
1 parent ea62687 commit 572e3a6

File tree

160 files changed

+3286
-902
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+3286
-902
lines changed

dash/dash-renderer/build/dash_renderer.dev.js

Lines changed: 79 additions & 13 deletions
Large diffs are not rendered by default.

dash/dash-renderer/build/dash_renderer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash/dash_table/DataTable.py

Lines changed: 308 additions & 77 deletions
Large diffs are not rendered by default.

dash/dash_table/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# type: ignore
2+
13
import os as _os
24
import sys as _sys
35
import json

dash/dcc/Checklist.py

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -104,27 +104,48 @@ class Checklist(Component):
104104
ComponentType,
105105
typing.Sequence[typing.Union[str, int, float, ComponentType]],
106106
],
107-
"value": typing.Union[str, typing.Union[int, float, numbers.Number], bool],
107+
"value": typing.Union[
108+
str,
109+
typing.Union[
110+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
111+
],
112+
bool,
113+
],
108114
"disabled": NotRequired[bool],
109115
"title": NotRequired[str],
110116
},
111117
)
112118

113-
@_explicitize_args
119+
_explicitize_dash_init = True
120+
114121
def __init__(
115122
self,
116123
options: typing.Optional[
117124
typing.Union[
118125
typing.Sequence[
119-
typing.Union[str, typing.Union[int, float, numbers.Number], bool]
126+
typing.Union[
127+
str,
128+
typing.Union[
129+
typing.SupportsFloat,
130+
typing.SupportsInt,
131+
typing.SupportsComplex,
132+
],
133+
bool,
134+
]
120135
],
121136
dict,
122137
typing.Sequence["Options"],
123138
]
124139
] = None,
125140
value: typing.Optional[
126141
typing.Sequence[
127-
typing.Union[str, typing.Union[int, float, numbers.Number], bool]
142+
typing.Union[
143+
str,
144+
typing.Union[
145+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
146+
],
147+
bool,
148+
]
128149
]
129150
] = None,
130151
inline: typing.Optional[bool] = None,
@@ -136,7 +157,13 @@ def __init__(
136157
labelClassName: typing.Optional[str] = None,
137158
id: typing.Optional[typing.Union[str, dict]] = None,
138159
persistence: typing.Optional[
139-
typing.Union[bool, str, typing.Union[int, float, numbers.Number]]
160+
typing.Union[
161+
bool,
162+
str,
163+
typing.Union[
164+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
165+
],
166+
]
140167
] = None,
141168
persisted_props: typing.Optional[typing.Sequence[Literal["value"]]] = None,
142169
persistence_type: typing.Optional[Literal["local", "session", "memory"]] = None,

dash/dcc/Clipboard.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -47,13 +47,18 @@ class Clipboard(Component):
4747
_namespace = "dash_core_components"
4848
_type = "Clipboard"
4949

50-
@_explicitize_args
50+
_explicitize_dash_init = True
51+
5152
def __init__(
5253
self,
5354
id: typing.Optional[typing.Union[str, dict]] = None,
5455
target_id: typing.Optional[typing.Union[str, dict]] = None,
5556
content: typing.Optional[str] = None,
56-
n_clicks: typing.Optional[typing.Union[int, float, numbers.Number]] = None,
57+
n_clicks: typing.Optional[
58+
typing.Union[
59+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
60+
]
61+
] = None,
5762
html_content: typing.Optional[str] = None,
5863
title: typing.Optional[str] = None,
5964
style: typing.Optional[typing.Any] = None,

dash/dcc/ConfirmDialog.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -48,22 +48,31 @@ class ConfirmDialog(Component):
4848
_namespace = "dash_core_components"
4949
_type = "ConfirmDialog"
5050

51-
@_explicitize_args
51+
_explicitize_dash_init = True
52+
5253
def __init__(
5354
self,
5455
id: typing.Optional[typing.Union[str, dict]] = None,
5556
message: typing.Optional[str] = None,
5657
submit_n_clicks: typing.Optional[
57-
typing.Union[int, float, numbers.Number]
58+
typing.Union[
59+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
60+
]
5861
] = None,
5962
submit_n_clicks_timestamp: typing.Optional[
60-
typing.Union[int, float, numbers.Number]
63+
typing.Union[
64+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
65+
]
6166
] = None,
6267
cancel_n_clicks: typing.Optional[
63-
typing.Union[int, float, numbers.Number]
68+
typing.Union[
69+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
70+
]
6471
] = None,
6572
cancel_n_clicks_timestamp: typing.Optional[
66-
typing.Union[int, float, numbers.Number]
73+
typing.Union[
74+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
75+
]
6776
] = None,
6877
displayed: typing.Optional[bool] = None,
6978
**kwargs

dash/dcc/ConfirmDialogProvider.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -57,7 +57,8 @@ class ConfirmDialogProvider(Component):
5757
_namespace = "dash_core_components"
5858
_type = "ConfirmDialogProvider"
5959

60-
@_explicitize_args
60+
_explicitize_dash_init = True
61+
6162
def __init__(
6263
self,
6364
children: typing.Optional[
@@ -72,16 +73,24 @@ def __init__(
7273
id: typing.Optional[typing.Union[str, dict]] = None,
7374
message: typing.Optional[str] = None,
7475
submit_n_clicks: typing.Optional[
75-
typing.Union[int, float, numbers.Number]
76+
typing.Union[
77+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
78+
]
7679
] = None,
7780
submit_n_clicks_timestamp: typing.Optional[
78-
typing.Union[int, float, numbers.Number]
81+
typing.Union[
82+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
83+
]
7984
] = None,
8085
cancel_n_clicks: typing.Optional[
81-
typing.Union[int, float, numbers.Number]
86+
typing.Union[
87+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
88+
]
8289
] = None,
8390
cancel_n_clicks_timestamp: typing.Optional[
84-
typing.Union[int, float, numbers.Number]
91+
typing.Union[
92+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
93+
]
8594
] = None,
8695
displayed: typing.Optional[bool] = None,
8796
**kwargs

dash/dcc/DatePickerRange.py

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -174,7 +174,8 @@ class DatePickerRange(Component):
174174
_namespace = "dash_core_components"
175175
_type = "DatePickerRange"
176176

177-
@_explicitize_args
177+
_explicitize_dash_init = True
178+
178179
def __init__(
179180
self,
180181
start_date: typing.Optional[typing.Union[str, datetime.datetime]] = None,
@@ -185,7 +186,9 @@ def __init__(
185186
typing.Sequence[typing.Union[str, datetime.datetime]]
186187
] = None,
187188
minimum_nights: typing.Optional[
188-
typing.Union[int, float, numbers.Number]
189+
typing.Union[
190+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
191+
]
189192
] = None,
190193
updatemode: typing.Optional[Literal["singledate", "bothdates"]] = None,
191194
start_date_placeholder_text: typing.Optional[str] = None,
@@ -200,11 +203,17 @@ def __init__(
200203
stay_open_on_select: typing.Optional[bool] = None,
201204
calendar_orientation: typing.Optional[Literal["vertical", "horizontal"]] = None,
202205
number_of_months_shown: typing.Optional[
203-
typing.Union[int, float, numbers.Number]
206+
typing.Union[
207+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
208+
]
204209
] = None,
205210
with_portal: typing.Optional[bool] = None,
206211
with_full_screen_portal: typing.Optional[bool] = None,
207-
day_size: typing.Optional[typing.Union[int, float, numbers.Number]] = None,
212+
day_size: typing.Optional[
213+
typing.Union[
214+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
215+
]
216+
] = None,
208217
is_RTL: typing.Optional[bool] = None,
209218
disabled: typing.Optional[bool] = None,
210219
start_date_id: typing.Optional[str] = None,
@@ -213,7 +222,13 @@ def __init__(
213222
className: typing.Optional[str] = None,
214223
id: typing.Optional[typing.Union[str, dict]] = None,
215224
persistence: typing.Optional[
216-
typing.Union[bool, str, typing.Union[int, float, numbers.Number]]
225+
typing.Union[
226+
bool,
227+
str,
228+
typing.Union[
229+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
230+
],
231+
]
217232
] = None,
218233
persisted_props: typing.Optional[
219234
typing.Sequence[Literal["start_date", "end_date"]]

dash/dcc/DatePickerSingle.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import typing # noqa: F401
44
import numbers # noqa: F401
55
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
6-
from dash.development.base_component import Component, _explicitize_args
6+
from dash.development.base_component import Component
77

88
try:
99
from dash.development.base_component import ComponentType # noqa: F401
@@ -148,7 +148,8 @@ class DatePickerSingle(Component):
148148
_namespace = "dash_core_components"
149149
_type = "DatePickerSingle"
150150

151-
@_explicitize_args
151+
_explicitize_dash_init = True
152+
152153
def __init__(
153154
self,
154155
date: typing.Optional[typing.Union[str, datetime.datetime]] = None,
@@ -170,18 +171,30 @@ def __init__(
170171
stay_open_on_select: typing.Optional[bool] = None,
171172
calendar_orientation: typing.Optional[Literal["vertical", "horizontal"]] = None,
172173
number_of_months_shown: typing.Optional[
173-
typing.Union[int, float, numbers.Number]
174+
typing.Union[
175+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
176+
]
174177
] = None,
175178
with_portal: typing.Optional[bool] = None,
176179
with_full_screen_portal: typing.Optional[bool] = None,
177-
day_size: typing.Optional[typing.Union[int, float, numbers.Number]] = None,
180+
day_size: typing.Optional[
181+
typing.Union[
182+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
183+
]
184+
] = None,
178185
is_RTL: typing.Optional[bool] = None,
179186
disabled: typing.Optional[bool] = None,
180187
style: typing.Optional[typing.Any] = None,
181188
className: typing.Optional[str] = None,
182189
id: typing.Optional[typing.Union[str, dict]] = None,
183190
persistence: typing.Optional[
184-
typing.Union[bool, str, typing.Union[int, float, numbers.Number]]
191+
typing.Union[
192+
bool,
193+
str,
194+
typing.Union[
195+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
196+
],
197+
]
185198
] = None,
186199
persisted_props: typing.Optional[typing.Sequence[Literal["date"]]] = None,
187200
persistence_type: typing.Optional[Literal["local", "session", "memory"]] = None,

0 commit comments

Comments
 (0)