From d680c7ed837799c5c225d15b932a8a6f2a468eee Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Sat, 13 Oct 2018 19:45:31 +0200 Subject: [PATCH] fix docstring to remove mention of Waitress --- responder/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/responder/api.py b/responder/api.py index 4b05c70..5d00c1a 100644 --- a/responder/api.py +++ b/responder/api.py @@ -327,13 +327,13 @@ class API: return template.render(**values) def run(self, address=None, port=None, **options): - """Runs the application with Waitress. If the ``PORT`` environment + """Runs the application with uvicorn. If the ``PORT`` environment variable is set, requests will be served on that port automatically to all known hosts. :param address: The address to bind to. :param port: The port to bind to. If none is provided, one will be selected at random. - :param kwargs: Additional keyword arguments to send to ``waitress.serve()``. + :param options: Additional keyword arguments to send to ``uvicorn.run()``. """ if "PORT" in os.environ: if address is None: