code: def create_partition(self, partition_spec, if_not_exists=False, async_=False, **kw):
          
          async_ = kw.get('async', async_)
          return self.partitions.create(partition_spec, if_not_exists=if_not_exists, async_=async_)
docs: Create a partition within the table.
  
          :param partition_spec: specification of the partition.
          :param if_not_exists:
          :param async_:
          :return: partition object
          :rtype: odps.models.partition.Partition