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

Class GcpTarget

patches/kaggle_secrets.py:22–40  ·  view source on GitHub ↗

Enum class to store GCP targets.

Source from the content-addressed store, hash-verified

20
21@unique
22class GcpTarget(Enum):
23 """Enum class to store GCP targets."""
24 BIGQUERY = (1, "BigQuery")
25 GCS = (2, "Google Cloud Storage")
26 # Old name, should remove later.
27 AUTOML = (3, "Cloud AutoML")
28 CLOUDAI = (3, "Google Cloud AI Platform")
29
30 def __init__(self, target, service):
31 self._target = target
32 self._service = service
33
34 @property
35 def target(self):
36 return self._target
37
38 @property
39 def service(self):
40 return self._service
41
42
43class UserSecretsClient():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected