From e8a445b5c55829740a173526643eb576bd60e6af Mon Sep 17 00:00:00 2001 From: Colton Hurst Date: Fri, 17 Nov 2023 11:54:09 -0500 Subject: [PATCH] SM-874: In example.py, secrets.get should pass the id, not an array of id's --- languages/python/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/python/example.py b/languages/python/example.py index 7d7125460..2ee1cb280 100644 --- a/languages/python/example.py +++ b/languages/python/example.py @@ -36,7 +36,7 @@ secret = client.secrets().create("TEST_SECRET", "This is a test secret", organization_id, "Secret1234!", [project2.data.id]) secret2 = client.secrets().create("Secret - Don't Delete Me!", "This is a test secret that will stay", organization_id, "Secret1234!", [project2.data.id]) secret_updated = client.secrets().update(secret.data.id, "TEST_SECRET_UPDATED", "This as an updated test secret", organization_id, "Secret1234!_updated", [project2.data.id]) -secret_retrieved = client.secrets().get([secret.data.id]) +secret_retrieved = client.secrets().get(secret.data.id) input("Press Enter to delete the secret...") client.secrets().delete([secret.data.id])