<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def config(config_dict: typing.Mapping) -> Config: """Configures the konch shell. This function should be called in a .konchrc file. :param dict config_dict: Dict that may contain 'context', 'banner', and/or 'shell' (default shell class to use). """

    logger.debug(f"Updating with {config_dict}")
    _cfg.update(config_dict)
    return _cfg