def get_network(self):
        """
         Get the network that this resource attribute is in.
        """
        ref_key = self.ref_key
        if ref_key == 'NETWORK':
            return self.network
        elif ref_key == 'NODE':
            return self.node.network
        elif ref_key == 'LINK':
            return self.link.network
        elif ref_key == 'GROUP':
            return self.group.network
        elif ref_key == 'PROJECT':
            return None
def get_network ( self ) : ref_key = self . ref_key if ref_key == 'NETWORK' : return self . network elif ref_key == 'NODE' : return self . node . network elif ref_key == 'LINK' : return self . link . network elif ref_key == 'GROUP' : return self . group . network elif ref_key == 'PROJECT' : return None
Get the network that this resource attribute is in.