We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4468e14 commit 00608f7Copy full SHA for 00608f7
reflex/utils/types.py
@@ -6,6 +6,7 @@
6
import sys
7
import types
8
from collections.abc import Callable, Iterable, Mapping, Sequence
9
+from enum import Enum
10
from functools import cached_property, lru_cache
11
from types import GenericAlias
12
from typing import ( # noqa: UP035
@@ -1241,6 +1242,7 @@ def get_default_value_for_type(t: GenericType) -> Any:
1241
1242
frozenset,
1243
tuple,
1244
type(None),
1245
+ Enum,
1246
)
1247
1248
0 commit comments