We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1724c0 commit dc0bca7Copy full SHA for dc0bca7
todoist_api_python/_core/http_requests.py
@@ -6,6 +6,7 @@
6
from requests.status_codes import codes
7
8
from todoist_api_python._core.http_headers import create_headers
9
+from todoist_api_python._core.utils import log_calls
10
11
if TYPE_CHECKING:
12
from requests import Session
@@ -22,7 +23,7 @@
22
23
24
T = TypeVar("T")
25
-
26
+@log_calls
27
def get(
28
session: Session,
29
url: str,
@@ -45,7 +46,7 @@ def get(
45
46
response.raise_for_status()
47
return cast("T", response.ok)
48
49
50
def post(
51
52
@@ -73,7 +74,7 @@ def post(
73
74
75
76
77
78
def delete(
79
80
0 commit comments