From: Michael V. DePalatis Date: Tue, 3 Aug 2021 15:04:00 +0000 (-0600) Subject: Type hint HTTPFile attributes X-Git-Tag: v6.2.0b1~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24ffd41ac8483466f0e400e0f3657c313f74f52;p=thirdparty%2Ftornado.git Type hint HTTPFile attributes --- diff --git a/tornado/httputil.py b/tornado/httputil.py index c0c57e6e9..12313f351 100644 --- a/tornado/httputil.py +++ b/tornado/httputil.py @@ -664,7 +664,9 @@ class HTTPFile(ObjectDict): * ``content_type`` """ - pass + filename: str + body: bytes + content_type: str def _parse_request_range(