Skip to content

Commit

Permalink
add skip print query for configuration in db operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaaccenture committed Sep 26, 2024
1 parent f73f5c3 commit 361ee87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def executeQuery(context, conn, query:str, as_dict:bool = False) -> list:
response = requests.post(url, data=query, headers=headers)
assert response.status_code == 200, f"Error status code db operation apicfg RESPONSE is {response.status_code}"

if 'select * from cache' not in query.lower():
if 'select * from cache' not in query.lower() and 'from CONFIGURATION_KEYS' not in query:
print(f">>>>>>>>>>>>>>db operation apicfg RESPONSE {response.json()}")

if as_dict:
Expand Down

0 comments on commit 361ee87

Please sign in to comment.