

def attach_node_attributes(self, name=DEFAULT_NODE_NAME, attributes=None):
    'Copy the attributes onto the node.'
    assert isinstance(name, NodeName)
    node = self.__retrieve_node(name)
    if attributes:
        for (k, v) in attributes.iteritems():
            node[k] = v

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.attach_node_attributes/original