From 7a5795613aa373d1074289fe9a8990bd075058c7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Apr 2025 17:45:04 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/routing.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fastapi/routing.py b/fastapi/routing.py index 84a2840aa..2f09899bc 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -4451,16 +4451,16 @@ class APIRouter(routing.Router): return decorator def combine_tags( - self, - *entities: Annotated[ - None | str | routing.Route | Iterable, - Doc( - """ + self, + *entities: Annotated[ + None | str | routing.Route | Iterable, + Doc( + """ Combine the router's current tags with those of the provided entities. Supports None, strings, iterables, and Route objects with a `tags` attribute. """ - ), - ] + ), + ], ) -> List[str]: tags = set(self.tags or []) for entity in entities: