def __getattr__(self, key):
        """
        RETURN CHILD EDGE OR PARTITION BY NAME
        """
        #TODO: IGNORE THE STANDARD DIMENSION PROPERTIES TO AVOID ACCIDENTAL SELECTION OF EDGE OR PART
        if key in Dimension.__slots__:
            return None

        e = self.edges[key]
        if e:
            return e
        for p in self.partitions:
            if p.name == key:
                return p
        return Null
def __getattr__ ( self , key ) : if key in Dimension . __slots__ : return None e = self . edges [ key ] if e : return e for p in self . partitions : if p . name == key : return p return Null
RETURN CHILD EDGE OR PARTITION BY NAME