chore: refurish python code by applying Pylint linter rules (#8322)
This commit is contained in:
parent
1ab81b4972
commit
a1104ab97e
126 changed files with 253 additions and 272 deletions
|
|
@ -35,7 +35,7 @@ class NovitaAiModelQueryTool(BuiltinTool):
|
|||
models_data=[],
|
||||
headers=headers,
|
||||
params=params,
|
||||
recursive=not (result_type == "first sd_name" or result_type == "first name sd_name pair"),
|
||||
recursive=result_type not in {"first sd_name", "first name sd_name pair"},
|
||||
)
|
||||
|
||||
result_str = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue