Skip to content

Commit

Permalink
ignore mypy errors (#5798)
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell authored Jun 11, 2019
1 parent e8882fb commit 89a8cc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def send(self, request):
:rtype: ~azure.core.pipeline.PipelineResponse
"""
token = self._credential.get_token(*self._scopes)
self._update_headers(request.http_request.headers, token)
self._update_headers(request.http_request.headers, token) # type: ignore
return self.next.send(request)
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ async def send(self, request: PipelineRequest) -> PipelineResponse:
:return: The pipeline response object
:rtype: ~azure.core.pipeline.PipelineResponse
"""
token = await self._credential.get_token(*self._scopes)
self._update_headers(request.http_request.headers, token)
return await self.next.send(request) # type: ignore
token = await self._credential.get_token(*self._scopes) # type: ignore
self._update_headers(request.http_request.headers, token) # type: ignore
return await self.next.send(request) # type: ignore

0 comments on commit 89a8cc9

Please sign in to comment.