MCPcopy Index your code
hub / github.com/Kaggle/docker-python / call_get_secret

Method call_get_secret

tests/test_user_secrets.py:95–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 secret = '12345'
94
95 def call_get_secret():
96 client = UserSecretsClient()
97 secret_response = client.get_secret("secret_label")
98 self.assertEqual(secret_response, secret)
99 self._test_client(call_get_secret,
100 '/requests/GetUserSecretByLabelRequest', {'Label': "secret_label"},
101 secret=secret)

Callers

nothing calls this directly

Calls 3

get_secretMethod · 0.95
get_gcloud_credentialMethod · 0.95
UserSecretsClientClass · 0.90

Tested by

no test coverage detected