Skip to content

Commit 6e08afc

Browse files
committed
fix number type missing
1 parent 207aef9 commit 6e08afc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dash/development/_py_components_generation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ def generate_class(
332332
"TypedDict": TypedDict,
333333
"NotRequired": NotRequired,
334334
"Literal": Literal,
335+
"NumberType": typing.Union[typing.SupportsFloat, typing.SupportsComplex, typing.SupportsInt]
335336
}
336337
# pylint: disable=exec-used
337338
exec(string, scope)

0 commit comments

Comments
 (0)