(self)
| 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: |
nothing calls this directly
no test coverage detected