def add_attributes(self, scope, xml_obj, data, default):
        for k,v in data.items():
            default_value=default.get(k)
            obj=self.add_data(make_str(k), type(v), make_str(v),
                              scope=scope, default=default_value)
            xml_obj.append(obj)
Return static features of an instance.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/readwrite/graphml.py/GraphMLWriter.add_attributes--crossover with--dataset/ETHPy150Open borg-project/borg/borg/fake.py/FakeDomain.compute_features