mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
ignored signature of copy
This commit is contained in:
@@ -81,10 +81,10 @@ class Router(BaseModel, Generic[T, U]):
|
||||
new_routes = {
|
||||
name: Route(
|
||||
condition=deepcopy(route.condition),
|
||||
pipeline=route.pipeline.copy(),
|
||||
pipeline=route.pipeline.copy(), # type: ignore
|
||||
)
|
||||
for name, route in self.routes.items()
|
||||
}
|
||||
new_default = self.default.copy()
|
||||
new_default = self.default.copy() # type: ignore
|
||||
|
||||
return Router(routes=new_routes, default=new_default)
|
||||
|
||||
Reference in New Issue
Block a user