messages/_config.py
def update_config_pwd(msg, cfg):
    """
    Updates the profile's auth entry with values set by the user.
    This will overwrite existing values.

    Args:
        :msg: (Message class) an instance of a message class.
        :cfg: (jsonconfig.Config) config instance.
    """
    msg_type = msg.__class__.__name__.lower()
    key_fmt = msg.profile + "_" + msg_type
    if isinstance(msg._auth, (MutableSequence, tuple)):
        cfg.pwd[key_fmt] = " :: ".join(msg._auth)
    else:
        cfg.pwd[key_fmt] = msg._auth
def update_config_pwd(msg, cfg):
    msg_type = msg.__class__.__name__.lower()
    key_fmt = msg.profile + "_" + msg_type
    if isinstance(msg._auth, (MutableSequence, tuple)):
        cfg.pwd[key_fmt] = " :: ".join(msg._auth)
    else:
        cfg.pwd[key_fmt] = msg._auth
def update_config_pwd ( msg , cfg ) : msg_type = msg . __class__ . __name__ . lower ( ) key_fmt = msg . profile + "_" + msg_type if isinstance ( msg . _auth , ( MutableSequence , tuple ) ) : cfg . pwd [ key_fmt ] = " :: " . join ( msg . _auth ) else : cfg . pwd [ key_fmt ] = msg . _auth
Updates the profile's auth entry with values set by the user.
    This will overwrite existing values.

    Args:
        :msg: (Message class) an instance of a message class.
        :cfg: (jsonconfig.Config) config instance.
Updates the profile s auth entry with values set by the user . This will overwrite existing values .