We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 668d09c commit 8a91fb5Copy full SHA for 8a91fb5
1 file changed
src/runners/uvicorn.py
@@ -10,7 +10,15 @@
10
11
12
def start_uvicorn(configuration: ServiceConfiguration) -> None:
13
- """Start Uvicorn-based REST API service."""
+ """
14
+ Start the Uvicorn server using the provided service configuration.
15
+
16
+ Parameters:
17
+ configuration (ServiceConfiguration): Configuration providing host,
18
+ port, workers, and `tls_config` (including `tls_key_path`,
19
+ `tls_certificate_path`, and `tls_key_password`). TLS fields may be None
20
+ and will be forwarded to uvicorn.run as provided.
21
22
logger.info("Starting Uvicorn")
23
24
log_level = logging.INFO
0 commit comments