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

Method __init__

patches/kaggle_datasets.py:19–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 TPU = 2
18
19 def __init__(self):
20 self.web_client = KaggleWebClient()
21 self.has_tpu = os.getenv(_KAGGLE_TPU_NAME_ENV_VAR_NAME) is not None
22 self.has_tpuvm = os.getenv(_KAGGLE_TPUVM_NAME_ENV_VAR_NAME) is not None
23
24 def get_gcs_path(self, dataset_dir: str = None) -> str:
25 if self.has_tpuvm:

Callers

nothing calls this directly

Calls 1

KaggleWebClientClass · 0.90

Tested by

no test coverage detected