Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def update_recursive(d, u):
    for k, v in u.iteritems():
        if isinstance(v, collections.Mapping):
            r = update_recursive(d.get(k, {}), v)
            d[k] = r
        else:
            d[k] = u[k]
    return d
        


src/f/l/Flask-Social-1.6.2/flask_social/core.py   Flask-Social(Download)
from werkzeug.local import LocalProxy
 
from .utils import get_config, update_recursive
from .views import create_blueprint
 
            module_name = config.get('module', default_module_name)
            module = import_module(module_name)
            config = update_recursive(module.config, config)
 
            providers[config['id']] = OAuthRemoteApp(**config)

src/f/l/flask-social-HEAD/flask_social/core.py   flask-social(Download)
from werkzeug.local import LocalProxy
 
from .utils import get_config, update_recursive
from .views import create_blueprint
 
            module_name = config.get('module', default_module_name)
            module = import_module(module_name)
            config = update_recursive(module.config, config)
 
            providers[config['id']] = OAuthRemoteApp(**config)