Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/aws/aws-cli
/ is_stdin_a_tty
Function
is_stdin_a_tty
awscli/utils.py:407–411 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
405
406
407
def
is_stdin_a_tty():
408
try
:
409
return
os.isatty(sys.stdin.fileno())
410
except
Exception:
411
return
False
412
413
414
class
OutputStreamFactory:
Callers
1
multiselect_choice
Function · 0.90
Calls
1
fileno
Method · 0.80
Tested by
no test coverage detected