diff --git a/agent/__init__.py b/agent/__init__.py index a42cd9a6d..643f79713 100644 --- a/agent/__init__.py +++ b/agent/__init__.py @@ -14,5 +14,5 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package +beartype_this_package() diff --git a/api/__init__.py b/api/__init__.py index a42cd9a6d..643f79713 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -14,5 +14,5 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package +beartype_this_package() diff --git a/deepdoc/__init__.py b/deepdoc/__init__.py index a42cd9a6d..643f79713 100644 --- a/deepdoc/__init__.py +++ b/deepdoc/__init__.py @@ -14,5 +14,5 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package +beartype_this_package() diff --git a/intergrations/chatgpt-on-wechat/plugins/__init__.py b/intergrations/chatgpt-on-wechat/plugins/__init__.py index 0d62c1f4c..557f0d1f1 100644 --- a/intergrations/chatgpt-on-wechat/plugins/__init__.py +++ b/intergrations/chatgpt-on-wechat/plugins/__init__.py @@ -14,8 +14,8 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package +beartype_this_package() from .ragflow_chat import RAGFlowChat diff --git a/rag/__init__.py b/rag/__init__.py index a42cd9a6d..3c485c025 100644 --- a/rag/__init__.py +++ b/rag/__init__.py @@ -14,5 +14,6 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package + +beartype_this_package() diff --git a/sdk/python/ragflow_sdk/__init__.py b/sdk/python/ragflow_sdk/__init__.py index cbfec4152..ea383cfc3 100644 --- a/sdk/python/ragflow_sdk/__init__.py +++ b/sdk/python/ragflow_sdk/__init__.py @@ -14,8 +14,8 @@ # limitations under the License. # -# from beartype.claw import beartype_this_package -# beartype_this_package() +from beartype.claw import beartype_this_package +beartype_this_package() import importlib.metadata