code: def get_creds():
      if sys.stdin.isatty():
          user = input("Username: ")
          passwd = getpass.getpass("Password: ")
      else:
          user = sys.stdin.readline().rstrip()
          passwd = sys.stdin.readline().rstrip()
      return [user, passwd]
  
file_path: TabPy/tabpy/models/utils/setup_utils.py
imports: import configparser
  import getpass
  import os
  import sys
  from tabpy.tabpy_tools.client import Client
label_desc: Use image node_id 3 for calling a global function with example usage: get_creds() and returns: list