Skip to content

Commit d4cf1fa

Browse files
committed
remove unused annotation
1 parent cca319d commit d4cf1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fast_version/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _custom_openapi(self: fastapi.FastAPI) -> dict[str, typing.Any]:
9696
continue
9797

9898
# trick to avoid merging routes
99-
route_copy: VersionedAPIRoute = copy.copy(route_item)
99+
route_copy = copy.copy(route_item)
100100
route_copy.path_format = f"{route_copy.path_format}:{route_copy.version_str}"
101101
routes.append(route_copy)
102102

0 commit comments

Comments
 (0)