8000 Document `http/__init__.py` · raghav7997/twilio-python@dc51b11 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc51b11

Browse files
author
Doug Black
committed
Document http/__init__.py
1 parent dc21dc3 commit dc51b11

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

twilio/http/__init__.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ def get_cert_file():
2020

2121

2222
class HttpClient(object):
23-
def request(self,
24-
method,
25-
url,
26-
params=None,
27-
data=None,
28-
headers=None,
29-
auth=None,
30-
timeout=None,
31-
allow_redirects=False):
23+
"""
24+
An abstract class representing an HTTP client.
25+
"""
26+
def request(self, method, url, params=None, data=None, headers=None, auth=None,
27+
timeout=None, allow_redirects=False):
28+
"""
29+
Make an HTTP request.
30+
"""
3231
raise TwilioException('HttpClient is an abstract class')

0 commit comments

Comments
 (0)
0