Skip to content

Commit

Permalink
Logging level back to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
WillKoehrsen committed Apr 20, 2024
1 parent 3629688 commit ed31cde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gridstatusio/gs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions gridstatusio/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

client = gs.GridStatusClient(
api_key=os.getenv("GRIDSTATUS_API_KEY_TEST"),
host=os.getenv("GRIDSTATUS_HOST_TEST"),
)


Expand Down

0 comments on commit ed31cde

Please sign in to comment.