We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be3947 commit 1b3e54aCopy full SHA for 1b3e54a
nipyapi/cli.py
@@ -303,6 +303,13 @@ def __dir__(self):
303
304
def main():
305
"""CLI entry point."""
306
+ # Suppress SSL warnings early to prevent them polluting stdout in CI
307
+ # This is safe as the warnings are informational and CLI users expect clean output
308
+ import urllib3
309
+
310
+ if os.environ.get("NIFI_VERIFY_SSL", "true").lower() in ("false", "0", "no"):
311
+ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
312
313
try:
314
import fire
315
except ImportError:
0 commit comments