Add back beartype (#3967)
Browse files### What problem does this PR solve?
Add back beartype
### Type of change
- [x] Refactoring
- agent/__init__.py +2 -0
- api/__init__.py +2 -0
- deepdoc/__init__.py +2 -0
- intergrations/chatgpt-on-wechat/plugins/__init__.py +3 -0
- rag/__init__.py +2 -0
- sdk/python/ragflow_sdk/__init__.py +3 -0
agent/__init__.py
CHANGED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
api/__init__.py
CHANGED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
deepdoc/__init__.py
CHANGED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
intergrations/chatgpt-on-wechat/plugins/__init__.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
from .ragflow_chat import RAGFlowChat
|
2 |
|
3 |
__all__ = [
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
3 |
+
|
4 |
from .ragflow_chat import RAGFlowChat
|
5 |
|
6 |
__all__ = [
|
rag/__init__.py
CHANGED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
sdk/python/ragflow_sdk/__init__.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import importlib.metadata
|
2 |
|
3 |
from .ragflow import RAGFlow
|
|
|
1 |
+
from beartype.claw import beartype_this_package
|
2 |
+
beartype_this_package()
|
3 |
+
|
4 |
import importlib.metadata
|
5 |
|
6 |
from .ragflow import RAGFlow
|