Sets the credential for use by Tensorflow
(self, credential)
| 106 | subprocess.run(['gcloud', 'config', 'set', 'account', account]) |
| 107 | |
| 108 | def set_tensorflow_credential(self, credential): |
| 109 | """Sets the credential for use by Tensorflow""" |
| 110 | |
| 111 | # Write to a local JSON credentials file |
| 112 | self._write_credentials_file(credential) |
| 113 | |
| 114 | def get_bigquery_access_token(self) -> Tuple[str, Optional[datetime]]: |
| 115 | """Retrieves BigQuery access token information from the UserSecrets service. |