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