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

Method get_gcloud_config_value

tests/test_user_secrets.py:145–148  ·  view source on GitHub ↗
(field)

Source from the content-addressed store, hash-verified

143 account = 'bar'
144
145 def get_gcloud_config_value(field):
146 result = subprocess.run(['gcloud', 'config', 'get-value', field], capture_output=True)
147 result.check_returncode()
148 return result.stdout.strip().decode('ascii')
149
150 def test_fn():
151 client = UserSecretsClient()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected