Skip to content

Commit

Permalink
Add back beartype (infiniflow#3967)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

Add back beartype

### Type of change

- [x] Refactoring
  • Loading branch information
yuzhichang authored Dec 10, 2024
1 parent 3d76f10 commit 9a6d976
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from beartype.claw import beartype_this_package
beartype_this_package()
2 changes: 2 additions & 0 deletions api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from beartype.claw import beartype_this_package
beartype_this_package()
2 changes: 2 additions & 0 deletions deepdoc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from beartype.claw import beartype_this_package
beartype_this_package()
3 changes: 3 additions & 0 deletions intergrations/chatgpt-on-wechat/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from beartype.claw import beartype_this_package
beartype_this_package()

from .ragflow_chat import RAGFlowChat

__all__ = [
Expand Down
2 changes: 2 additions & 0 deletions rag/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from beartype.claw import beartype_this_package
beartype_this_package()
3 changes: 3 additions & 0 deletions sdk/python/ragflow_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from beartype.claw import beartype_this_package
beartype_this_package()

import importlib.metadata

from .ragflow import RAGFlow
Expand Down

0 comments on commit 9a6d976

Please sign in to comment.