Skip to content

Commit 36e4a82

Browse files
committed
Any for CertParamType type
1 parent 954f568 commit 36e4a82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flask/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def show_server_banner(debug: bool, app_import_path: str | None) -> None:
777777
click.echo(f" * Debug mode: {'on' if debug else 'off'}")
778778

779779

780-
class CertParamType(click.ParamType[str | os.PathLike[str] | ssl.SSLContext]):
780+
class CertParamType(click.ParamType[t.Any]):
781781
"""Click option type for the ``--cert`` option. Allows either an
782782
existing file, the string ``'adhoc'``, or an import for a
783783
:class:`~ssl.SSLContext` object.

0 commit comments

Comments
 (0)