Skip to content

Commit

Permalink
Fix typing for ssl_keyfile field to allow PathLike types
Browse files Browse the repository at this point in the history
  • Loading branch information
FirelightFlagboy authored Oct 7, 2024
1 parent 6ffaaf7 commit 4dfc761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def __init__(
timeout_notify: int = 30,
timeout_graceful_shutdown: int | None = None,
callback_notify: Callable[..., Awaitable[None]] | None = None,
ssl_keyfile: str | None = None,
ssl_keyfile: str | os.PathLike[str] | None = None,
ssl_certfile: str | os.PathLike[str] | None = None,
ssl_keyfile_password: str | None = None,
ssl_version: int = SSL_PROTOCOL_VERSION,
Expand Down

0 comments on commit 4dfc761

Please sign in to comment.