<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def use_settings(**kwargs):
    '''
    Context manager to temporarily override settings
    '''
    from omnic import singletons
    singletons.settings.use_settings_dict(kwargs)
    yield
    singletons.settings.use_previous_settings()