From ed31cdec7c4edfc78cdae73c1bf19c070149bcf7 Mon Sep 17 00:00:00 2001 From: WillKoehrsen Date: Sat, 20 Apr 2024 10:52:12 -0400 Subject: [PATCH] Logging level back to debug --- gridstatusio/gs_client.py | 4 ++-- gridstatusio/tests/test_api.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gridstatusio/gs_client.py b/gridstatusio/gs_client.py index 19f6150..00c775a 100644 --- a/gridstatusio/gs_client.py +++ b/gridstatusio/gs_client.py @@ -87,8 +87,8 @@ def get(self, url, params=None, verbose=False): if self.request_format == "json": params["json_schema"] = "array-of-arrays" - log(f"\nGET {url}", verbose=verbose, level="info") - log(f"Params: {params}", verbose=verbose, level="info") + log(f"\nGET {url}", verbose=verbose, level="debug") + log(f"Params: {params}", verbose=verbose, level="debug") response = requests.get(url, params=params, headers=headers) diff --git a/gridstatusio/tests/test_api.py b/gridstatusio/tests/test_api.py index 209a062..7857673 100644 --- a/gridstatusio/tests/test_api.py +++ b/gridstatusio/tests/test_api.py @@ -8,6 +8,7 @@ client = gs.GridStatusClient( api_key=os.getenv("GRIDSTATUS_API_KEY_TEST"), + host=os.getenv("GRIDSTATUS_HOST_TEST"), )