def autoblend(self):
        namespaces = self.namespaces.keys()
        for s in self.children:
            for ns in namespaces:
                tns = s.root.get('targetNamespace')
                if  tns == ns:
                    continue
                for imp in s.root.getChildren('import'):
                    if imp.get('namespace') == ns:
                        continue
                imp = Element('import', ns=Namespace.xsdns)
                imp.set('namespace', ns)
                s.root.append(imp)
        return self
:param service: thrift service type instance
dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/xsd/schema.py/SchemaCollection.autoblend--crossover with--dataset/ETHPy150Open eleme/archer/archer/helper.py/make_client