From 36e4a824f340fdee7ed50937ba8e7f6bc7d17f81 Mon Sep 17 00:00:00 2001 From: David Lord Date: Sun, 31 May 2026 07:42:46 -0700 Subject: [PATCH] Any for CertParamType type --- src/flask/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flask/cli.py b/src/flask/cli.py index 5b3116ed..1a9159ec 100644 --- a/src/flask/cli.py +++ b/src/flask/cli.py @@ -777,7 +777,7 @@ def show_server_banner(debug: bool, app_import_path: str | None) -> None: click.echo(f" * Debug mode: {'on' if debug else 'off'}") -class CertParamType(click.ParamType[str | os.PathLike[str] | ssl.SSLContext]): +class CertParamType(click.ParamType[t.Any]): """Click option type for the ``--cert`` option. Allows either an existing file, the string ``'adhoc'``, or an import for a :class:`~ssl.SSLContext` object.