From 82663cb3496de90363cab4e314101f171506ca2e Mon Sep 17 00:00:00 2001 From: michaelfitzo Date: Fri, 13 Dec 2024 08:41:35 -0600 Subject: [PATCH] Update using-api.md --- gen3/docs/gen3-resources/user-guide/using-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen3/docs/gen3-resources/user-guide/using-api.md b/gen3/docs/gen3-resources/user-guide/using-api.md index 8183a3de..e52978dd 100644 --- a/gen3/docs/gen3-resources/user-guide/using-api.md +++ b/gen3/docs/gen3-resources/user-guide/using-api.md @@ -46,7 +46,7 @@ import json, requests api = "https://gen3.datacommons.io" key_file = "/put_path_to/credentials.json" -# Read the key from the file and +# Read the key from the file with open(key_file) as json_file: key = json.load(json_file)