messages/_config.py
def get_auth_from_user(msg_type):
    """Get the required 'auth' from the user and return as a dict."""
    auth = []
    for k, v in CONFIG[msg_type]["auth"].items():
        auth.append((k, getpass(v + ": ")))
    return OrderedDict(auth)
def get_auth_from_user(msg_type):
    auth = []
    for k, v in CONFIG[msg_type]["auth"].items():
        auth.append((k, getpass(v + ": ")))
    return OrderedDict(auth)
def get_auth_from_user ( msg_type ) : auth = [ ] for k , v in CONFIG [ msg_type ] [ "auth" ] . items ( ) : auth . append ( ( k , getpass ( v + ": " ) ) ) return OrderedDict ( auth )
Get the required 'auth' from the user and return as a dict.
Get the required auth from the user and return as a dict .