mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-15 11:04:44 +08:00
fix: fix the lint check errors of the main branch (#403)
This commit is contained in:
@@ -48,12 +48,12 @@ class VikingDBKnowledgeBaseProvider(Retriever):
|
||||
if params:
|
||||
for key in params:
|
||||
if (
|
||||
type(params[key]) == int
|
||||
or type(params[key]) == float
|
||||
or type(params[key]) == bool
|
||||
type(params[key]) is int
|
||||
or type(params[key]) is float
|
||||
or type(params[key]) is bool
|
||||
):
|
||||
params[key] = str(params[key])
|
||||
elif type(params[key]) == list:
|
||||
elif type(params[key]) is list:
|
||||
if not doseq:
|
||||
params[key] = ",".join(params[key])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user