def to_map()

in catalog-api/python/pyodps_catalog/models.py [0:0]


    def to_map(self):
        _map = super().to_map()
        if _map is not None:
            return _map

        result = dict()
        result['partitionedColumn'] = []
        if self.partitioned_column is not None:
            for k in self.partitioned_column:
                result['partitionedColumn'].append(k.to_map() if k else None)
        return result