def METHOD_NAME(self, context):
    return dict((datamodel_v2.key_for_subnet(subnet['id'],
                                             self.region_string), subnet)
                for subnet in self.db.get_subnets(context)
                if subnet['enable_dhcp'])