Browse Source

add missing return

Khaleel Al-Adhami 6 tháng trước cách đây
mục cha
commit
ed1ae0d3a2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)