浏览代码

add missing return

Khaleel Al-Adhami 6 月之前
父节点
当前提交
ed1ae0d3a2
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)