generator/util.py
def copy_attributes(source, destination, ignore_patterns=[]):
    """
    Copy the attributes from a source object to a destination object.
    """
    for attr in _wildcard_filter(dir(source), *ignore_patterns):
        setattr(destination, attr, getattr(source, attr))
def copy_attributes(source, destination, ignore_patterns=[]):
    """
    Copy the attributes from a source object to a destination object.
    """
    for attr in _wildcard_filter(dir(source), *ignore_patterns):
        setattr(destination, attr, getattr(source, attr))
def copy_attributes ( source , destination , ignore_patterns = [ ] ) : for attr in _wildcard_filter ( dir ( source ) , * ignore_patterns ) : setattr ( destination , attr , getattr ( source , attr ) )
Copy the attributes from a source object to a destination object.
Copy the attributes from a source object to a destination object .