Function
main
(
app: str,
host: str,
port: int,
uds: str,
fd: int,
loop: LoopFactoryType | str,
http: HTTPProtocolType | str,
ws: WSProtocolType | str,
ws_max_size: int,
ws_max_queue: int,
ws_ping_interval: float,
ws_ping_timeout: float,
ws_per_message_deflate: bool,
lifespan: LifespanType,
interface: InterfaceType,
reload: bool,
reload_dirs: list[str],
reload_includes: list[str],
reload_excludes: list[str],
reload_delay: float,
workers: int,
env_file: str,
log_config: str,
log_level: str,
access_log: bool,
proxy_headers: bool,
server_header: bool,
date_header: bool,
forwarded_allow_ips: str,
root_path: str,
limit_concurrency: int,
backlog: int,
limit_max_requests: int,
limit_max_requests_jitter: int,
timeout_keep_alive: int,
timeout_graceful_shutdown: int | None,
timeout_worker_healthcheck: int,
ssl_keyfile: str,
ssl_certfile: str,
ssl_keyfile_password: str,
ssl_version: int,
ssl_cert_reqs: int,
ssl_ca_certs: str,
ssl_ciphers: str | None,
headers: list[str],
use_colors: bool,
app_dir: str,
h11_max_incomplete_event_size: int | None,
reset_contextvars: bool,
factory: bool,
)
Source from the content-addressed store, hash-verified
| 387 | show_default=True, |
| 388 | ) |
| 389 | def main( |
| 390 | app: str, |
| 391 | host: str, |
| 392 | port: int, |
| 393 | uds: str, |
| 394 | fd: int, |
| 395 | loop: LoopFactoryType | str, |
| 396 | http: HTTPProtocolType | str, |
| 397 | ws: WSProtocolType | str, |
| 398 | ws_max_size: int, |
| 399 | ws_max_queue: int, |
| 400 | ws_ping_interval: float, |
| 401 | ws_ping_timeout: float, |
| 402 | ws_per_message_deflate: bool, |
| 403 | lifespan: LifespanType, |
| 404 | interface: InterfaceType, |
| 405 | reload: bool, |
| 406 | reload_dirs: list[str], |
| 407 | reload_includes: list[str], |
| 408 | reload_excludes: list[str], |
| 409 | reload_delay: float, |
| 410 | workers: int, |
| 411 | env_file: str, |
| 412 | log_config: str, |
| 413 | log_level: str, |
| 414 | access_log: bool, |
| 415 | proxy_headers: bool, |
| 416 | server_header: bool, |
| 417 | date_header: bool, |
| 418 | forwarded_allow_ips: str, |
| 419 | root_path: str, |
| 420 | limit_concurrency: int, |
| 421 | backlog: int, |
| 422 | limit_max_requests: int, |
| 423 | limit_max_requests_jitter: int, |
| 424 | timeout_keep_alive: int, |
| 425 | timeout_graceful_shutdown: int | None, |
| 426 | timeout_worker_healthcheck: int, |
| 427 | ssl_keyfile: str, |
| 428 | ssl_certfile: str, |
| 429 | ssl_keyfile_password: str, |
| 430 | ssl_version: int, |
| 431 | ssl_cert_reqs: int, |
| 432 | ssl_ca_certs: str, |
| 433 | ssl_ciphers: str | None, |
| 434 | headers: list[str], |
| 435 | use_colors: bool, |
| 436 | app_dir: str, |
| 437 | h11_max_incomplete_event_size: int | None, |
| 438 | reset_contextvars: bool, |
| 439 | factory: bool, |
| 440 | ) -> None: |
| 441 | run( |
| 442 | app, |
| 443 | host=host, |
| 444 | port=port, |
| 445 | uds=uds, |
| 446 | fd=fd, |
Tested by
no test coverage detected