human
Complete the below
def default_settings(params):

    ''''Adds default values to settings if it not presented.
    Usage:
    @default_settings({\'apt\': \'/usr/bin/apt\'})
    def match(command, settings):
    print(settings.apt)'
    '''

Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def _default_settings(fn, command):
        for (k, w) in params.items():
            settings.setdefault(k, w)
        return fn(command)
    return decorator(_default_settings)