def from_map()

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


    def from_map(self, m: dict = None):
        m = m or dict()
        if m.get('primaryKey') is not None:
            temp_model = Fields()
            self.primary_key = temp_model.from_map(m['primaryKey'])
        return self