8000 Formatting changes · twilio/twilio-python@824ed9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 824ed9f

Browse files
committed
Formatting changes
1 parent d79366e commit 824ed9f

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

twilio/auth_strategy/no_auth_strategy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from auth_type import AuthType
2+
from twilio.auth_strategy.auth_strategy import AuthStrategy
23

34

45
class NoAuthStrategy(AuthStrategy):

twilio/base/client_base.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ def request(
9090
"""
9191
headers = self.get_headers(method, headers)
9292

93-
##If credential provider is provided by user, get the associated auth strategy
94-
##Using the auth strategy, fetch the auth string and set it to authorization header
9593
if self.credential_provider:
9694

9795
auth_strategy = self.credential_provider.to_auth_strategy()
@@ -153,9 +151,6 @@ async def request_async(
153151
if method == 'DELETE':
154152
del headers["Accept"]
155153

156-
##If credential provider is provided by user, get the associated auth strategy
157-
##Using the auth strategy, fetch the auth string and set it to authorization header
158-
159154
if self.credential_provider:
160155
auth_strategy = self.credential_provider.to_auth_strategy()
161156
headers["Authorization"] = auth_strategy.get_auth_string()

twilio/base/version.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ async def fetch_async(
164164
timeout=timeout,
165165
allow_redirects=allow_redirects,
166166
)
167-
168-
169-
170167
return self._parse_fetch(method, uri, response)
171168

172169
def _parse_update(self, method: str, uri: str, response: Response) -> Any:

0 commit comments

Comments
 (0)
0