Add type ignore comments (#119052)
This commit is contained in:
parent
4600960895
commit
af65da3875
5 changed files with 10 additions and 6 deletions
|
@ -57,7 +57,7 @@ class AsyncConfigEntryAuth(AbstractAuth):
|
|||
# even when it is expired to fully hand off this responsibility and
|
||||
# know it is working at startup (then if not, fail loudly).
|
||||
token = self._oauth_session.token
|
||||
creds = Credentials(
|
||||
creds = Credentials( # type: ignore[no-untyped-call]
|
||||
token=token["access_token"],
|
||||
refresh_token=token["refresh_token"],
|
||||
token_uri=OAUTH2_TOKEN,
|
||||
|
@ -92,7 +92,7 @@ class AccessTokenAuthImpl(AbstractAuth):
|
|||
|
||||
async def async_get_creds(self) -> Credentials:
|
||||
"""Return an OAuth credential for Pub/Sub Subscriber."""
|
||||
return Credentials(
|
||||
return Credentials( # type: ignore[no-untyped-call]
|
||||
token=self._access_token,
|
||||
token_uri=OAUTH2_TOKEN,
|
||||
scopes=SDM_SCOPES,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue