MCPcopy Create free account
hub / github.com/Kaggle/docker-python / KaggleKernelWithProjetCredentials

Class KaggleKernelWithProjetCredentials

patches/kaggle_gcp.py:80–85  ·  view source on GitHub ↗

Wrapper Kaggle Credentials with quota_project_id.

Source from the content-addressed store, hash-verified

78 raise RefreshError('Unable to refresh access token.') from e
79
80class 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
87class _DataProxyConnection(Connection):
88 """Custom Connection class used to proxy the BigQuery client to Kaggle's data proxy."""

Callers 1

patched_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected