(self, attr_path)
return attr
Traverses the path and returns the attribute at the end of the path.
Traverses the path and returns the attribute at the end of the path.
Traverses the path and returns the attribute at the end of the path .
def _get_attribute_from_path(self, attr_path):
        """
        Traverses the path and returns the attribute at the end of the path.
        """
        attr = self
        for attr_name in attr_path:
            attr = getattr(attr, attr_name)
        return attr
def _get_attribute_from_path ( self , attr_path ) : attr = self for attr_name in attr_path : attr = getattr ( attr , attr_name ) return attr