Browse Source

add missing return

Khaleel Al-Adhami 6 months ago
parent
commit
ed1ae0d3a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      reflex/utils/types.py

+ 1 - 0
reflex/utils/types.py

@@ -862,6 +862,7 @@ def typehint_issubclass(possible_subclass: Any, possible_superclass: Any) -> boo
                 iterable_type, TypeVar
             ):
                 return typehint_issubclass(str, iterable_type)
+            return True
 
         if not safe_issubclass(
             provided_type_origin, (accepted_type_origin or possible_superclass)