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

Method get_response

tests/test_datasets.py:55–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 _request['headers'] = self.headers
54
55 def get_response(self):
56 if success:
57 gcs_path = _TPU_GCS_BUCKET if is_tpu else _AUTOML_GCS_BUCKET
58 return {'result': {
59 'destinationBucket': gcs_path,
60 'destinationPath': None}, 'wasSuccessful': "true"}
61 else:
62 return {'wasSuccessful': "false"}
63
64 env = EnvironmentVarGuard()
65 env.set(_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME, _TEST_JWT)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected