Skip to content

Commit 195b1af

Browse files
committed
000
1 parent bf34c37 commit 195b1af

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

filexdb/collection.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,7 @@ def find(self, query=None, limit=None) -> List[Document]:
145145
:param query: Condition to search Document
146146
:return: List of Document
147147
"""
148-
if limit is not None and type(limit) == type((1,)):
149-
raise TypeError('Limit should be a tuple')
150148

151-
if query is not None and type(query) == type({}):
152-
raise TypeError('Limit should be a JOSN Object')
153-
154149
# Default result
155150
_result = []
156151

0 commit comments

Comments
 (0)