code: def get_info_field(prop):
          
          if isinstance(prop, ColumnProperty):
              column = prop.columns[0]
  
          elif isinstance(prop, RelationshipProperty):
              column = prop
  
          return column.info
docs: Return the info attribute of the given property