From 76a598437ee4d299b02f424ba66488d3d32a3dfe Mon Sep 17 00:00:00 2001 From: Siraj R Aizlewood <siraj@aurelio.ai> Date: Thu, 25 Jan 2024 14:17:55 +0400 Subject: [PATCH] Ran Black --- semantic_router/layer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/semantic_router/layer.py b/semantic_router/layer.py index 5e99d386..23f82da3 100644 --- a/semantic_router/layer.py +++ b/semantic_router/layer.py @@ -188,7 +188,9 @@ class RouteLayer: # get chosen route object matching_routes = [route for route in self.routes if route.name == top_class] if not matching_routes: - logger.error(f"No route found with name {top_class}. Check to see if any Routes have been defined.") + logger.error( + f"No route found with name {top_class}. Check to see if any Routes have been defined." + ) return RouteChoice() route = matching_routes[0] threshold = ( -- GitLab