Return the python representation of the class represented by this object

def as_python(self, name: str) -> str:
        """ Return the python representation of the class represented by this object """
        if self._map_valuetype:
            return self.map_as_python(name)
        else:
            return self.obj_as_python(name)