(lower, upper, __fval=None, **fval)
Bind 2 layers on some specific fields' values
Bind 2 layers on some specific fields' values
Bind 2 layers on some specific fields values
def bind_layers(lower, upper, __fval=None, **fval):
    """Bind 2 layers on some specific fields' values"""
    if __fval is not None:
        fval.update(__fval)
    bind_top_down(lower, upper, **fval)
    bind_bottom_up(lower, upper, **fval)
def bind_layers ( lower , upper , __fval = None , * * fval ) : if __fval is not None : fval . update ( __fval ) bind_top_down ( lower , upper , * * fval ) bind_bottom_up ( lower , upper , * * fval )