messages/_config.py
def get_data_from_user(msg_type):
    """Get the required 'settings' from the user and return as a dict."""
    data = {}
    for k, v in CONFIG[msg_type]["settings"].items():
        data[k] = input(v + ": ")
    return data
def get_data_from_user(msg_type):
    data = {}
    for k, v in CONFIG[msg_type]["settings"].items():
        data[k] = input(v + ": ")
    return data
def get_data_from_user ( msg_type ) : data = { } for k , v in CONFIG [ msg_type ] [ "settings" ] . items ( ) : data [ k ] = input ( v + ": " ) return data
Get the required 'settings' from the user and return as a dict.
Get the required settings from the user and return as a dict .