Skip to content
Snippets Groups Projects
Commit 751c1d6c authored by James Briggs's avatar James Briggs
Browse files

chore: lint

parent a83c3803
No related branches found
No related tags found
No related merge requests found
......@@ -1086,7 +1086,11 @@ class BaseRouter(BaseModel):
route_names = [route.name for route in routes for _ in route.utterances]
utterances = [utterance for route in routes for utterance in route.utterances]
function_schemas = [
route.function_schemas[0] if route.function_schemas and len(route.function_schemas) > 0 else {}
(
route.function_schemas[0]
if route.function_schemas and len(route.function_schemas) > 0
else {}
)
for route in routes
for _ in route.utterances
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment