8000 fix duplicate definitions in tornado (#2424) · python/typeshed@2e1c816 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e1c816

Browse files
fix duplicate definitions in tornado (#2424)
Fixes #2423. I followed https://github.com/tornadoweb/tornado/blob/master/tornado/httpclient.py and kept the `@property` where it exists in the implementation and the attribute where it doesn't.
1 parent 6f62466 commit 2e1c816

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

third_party/2/tornado/httpclient.pyi

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ class AsyncHTTPClient(Configurable):
2323
def configure(cls, impl, **kwargs): ...
2424

2525
class HTTPRequest:
26-
headers = ... # type: Any
2726
proxy_host = ... # type: Any
2827
proxy_port = ... # type: Any
2928
proxy_username = ... # type: Any
3029
proxy_password = ... # type: Any
3130
url = ... # type: Any
3231
method = ... # type: Any
33-
body = ... # type: Any
3432
body_producer = ... # type: Any
3533
auth_username = ... # type: Any
3634
auth_password = ... # type: Any
@@ -63,22 +61,6 @@ class HTTPRequest:
6361
def body(self): ...
6462
@body.setter
6563
def body(self, value): ...
66-
@property
67-
def body_producer(self): ...
68-
@body_producer.setter
69-
def body_producer(self, value): ...
70-
@property
71-
def streaming_callback(self): ...
72-
@streaming_callback.setter
73-
def streaming_callback(self, value): ...
74-
@property
75-
def header_callback(self): ...
76-
@header_callback.setter
77-
def header_callback(self, value): ...
78-
@property
79-
def prepare_curl_callback(self): ...
80-
@prepare_curl_callback.setter
81-
def prepare_curl_callback(self, value): ...
8264

8365
class HTTPResponse:
8466
request = ... # type: Any

0 commit comments

Comments
 (0)
0