MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / _is_interactive

Function _is_interactive

keepercommander/auth/console_ui.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def _is_interactive():
25 try:
26 return bool(sys.stdin) and sys.stdin.isatty()
27 except Exception:
28 return False
29
30
31def _fail_headless_auth(step):

Callers 5

on_device_approvalMethod · 0.85
on_two_factorMethod · 0.85
on_passwordMethod · 0.85
on_sso_redirectMethod · 0.85
on_sso_data_keyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected