From f24ffd41ac8483466f0e400e0f3657c313f74f52 Mon Sep 17 00:00:00 2001 From: "Michael V. DePalatis" Date: Tue, 3 Aug 2021 09:04:00 -0600 Subject: [PATCH] Type hint HTTPFile attributes --- tornado/httputil.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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( -- 2.47.2