Skip to content

Commit 5c98fc8

Browse files
committed
Delete dead code from requests lib
1 parent 4fbdee4 commit 5c98fc8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/requests.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
from requests.models import Response
33

44

5-
def post(url: str, json: dict = None, headers: dict = None, force_debug: bool = False) -> Response:
6-
return request(method='post', url=url, json=json, headers=headers, force_debug=force_debug)
7-
8-
9-
def patch(url: str, json: dict = None, headers: dict = None, force_debug: bool = False) -> Response:
10-
return request(method='patch', url=url, json=json, headers=headers, force_debug=force_debug)
11-
12-
135
def get(url: str, force_debug: bool = False, headers: dict = None) -> Response:
146
return request(method='get', url=url, headers=headers, force_debug=force_debug)
157

0 commit comments

Comments
 (0)