Get rid of warning suppression
import os
-import warnings
import hvac
import requests
@@ -159,8 +158,6 @@ def hashivault_read(params):
else:
secret_path = secret
- with warnings.catch_warnings():
- warnings.simplefilter("ignore")
try:
if version == 2:
response = client.secrets.kv.v2.read_secret_version(secret, mount_point=mount_point)
