m1racoli commented on code in PR #37138: URL: https://github.com/apache/airflow/pull/37138#discussion_r1492804415
########## airflow/providers/google/common/hooks/base_google.py: ########## @@ -670,7 +670,7 @@ async def acquire_access_token(self, timeout: int = 10) -> None: self.access_token = cast(str, self.credentials.token) self.access_token_duration = 3600 - self.access_token_acquired_at = datetime.datetime.utcnow() + self.access_token_acquired_at = datetime.datetime.now(tz=datetime.timezone.utc) Review Comment: Hello, we are subclassing [Token from gcloud-aio](https://github.com/talkiq/gcloud-aio/blob/auth-4.2.3/auth/gcloud/aio/auth/token.py#L164), which makes uses of those fields. A _CredentialsToken object will be used in gcloud-aio clients across async Airflow code accordingly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org