code: def dimensions(self):
          
          from ambry.valuetype.core import ROLE
  
          for c in self.columns:
  
              if c.role == ROLE.DIMENSION:
                  yield c
docs: Iterate over the dimension columns, regardless of parent/child status