forked from orbit-oss/flask
Any for CertParamType type
This commit is contained in:
parent
954f5684e4
commit
36e4a824f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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'}")
|
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
|
"""Click option type for the ``--cert`` option. Allows either an
|
||||||
existing file, the string ``'adhoc'``, or an import for a
|
existing file, the string ``'adhoc'``, or an import for a
|
||||||
:class:`~ssl.SSLContext` object.
|
:class:`~ssl.SSLContext` object.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue