Wrapper Kaggle Credentials with quota_project_id.
| 78 | raise RefreshError('Unable to refresh access token.') from e |
| 79 | |
| 80 | class KaggleKernelWithProjetCredentials(KaggleKernelCredentials): |
| 81 | """ Wrapper Kaggle Credentials with quota_project_id. |
| 82 | """ |
| 83 | def __init__(self, parentCredential=None, quota_project_id=None): |
| 84 | super().__init__(target=parentCredential.target) |
| 85 | self._quota_project_id=quota_project_id |
| 86 | |
| 87 | class _DataProxyConnection(Connection): |
| 88 | """Custom Connection class used to proxy the BigQuery client to Kaggle's data proxy.""" |