mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-30 23:28:35 +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
|
||||
"""
|
||||
for retriever in self._retrievers:
|
||||
candidates = await retriever.aretrieve(
|
||||
query=query, filters=filters
|
||||
)
|
||||
candidates = await retriever.aretrieve(query=query, filters=filters)
|
||||
if candidates:
|
||||
return candidates
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user