def get_adapters(self):
        adapters = None
        if self.staticinterface_set.count() > 0:
            adapters = []
            for i in self.staticinterface_set.all():
                i.update_attrs()
                adapters.append(i)
        return adapters
method to get all adapters
dataset/ETHPy150Open rtucker-mozilla/mozilla_inventory/systems/models.py/System.get_adapters