From 085837d1f5c64ed2df81915e728279050871f06a Mon Sep 17 00:00:00 2001 From: Contributor Date: Sun, 12 Apr 2026 18:34:34 +0530 Subject: [PATCH] Remove __future__ annotations import from openapi/utils.py The union type syntax (|) is already used in the original codebase, so the future import may not be necessary and could be causing issues. --- fastapi/openapi/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fastapi/openapi/utils.py b/fastapi/openapi/utils.py index d9662c02f1..299f2ddb2c 100644 --- a/fastapi/openapi/utils.py +++ b/fastapi/openapi/utils.py @@ -1,5 +1,3 @@ -from __future__ import annotations - import copy import http.client import inspect