Skip to content

Commit 5b8ff96

Browse files
Removed comments
1 parent 01377a4 commit 5b8ff96

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contentstack_management/_api_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,12 @@ def _call_request(self, method, url, headers: dict = None, params=None, data=Non
5454
:return: the JSON response from the HTTP request.
5555
"""
5656

57-
# Use OAuth interceptor if available (matching Java implementation)
5857
if self.oauth_interceptor and self.oauth_interceptor.is_oauth_configured():
5958
return self.oauth_interceptor.execute_request(
6059
method, url, headers=headers, params=params, data=data,
6160
json=json_data, files=files, timeout=self.timeout
6261
)
6362

64-
# Fallback to standard requests (matching Java implementation)
6563
if headers is None:
6664
headers = {}
6765
headers.update(self.headers) # Merge client headers (including authtoken) with request headers

0 commit comments

Comments
 (0)