mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
chore: Fix pylint error (#1912)
This commit is contained in:
parent
d7a893e1a7
commit
e4813849c0
@ -46,9 +46,7 @@ class RetrieverChain(BaseRetriever):
|
|||||||
List[Chunk]: list of chunks
|
List[Chunk]: list of chunks
|
||||||
"""
|
"""
|
||||||
for retriever in self._retrievers:
|
for retriever in self._retrievers:
|
||||||
candidates = await retriever.aretrieve(
|
candidates = await retriever.aretrieve(query=query, filters=filters)
|
||||||
query=query, filters=filters
|
|
||||||
)
|
|
||||||
if candidates:
|
if candidates:
|
||||||
return candidates
|
return candidates
|
||||||
return []
|
return []
|
||||||
|
Loading…
Reference in New Issue
Block a user