Searched refs:number_of_partitions (Results 1 – 2 of 2) sorted by relevance
97 def number_of_partitions(self): member in ShardingPolicy101 def set_number_of_partitions(self, number_of_partitions): argument115 if self._number_of_partitions != number_of_partitions:118 "use %d." % (number_of_partitions, self._number_of_partitions))120 self._number_of_partitions = number_of_partitions
138 number_of_partitions=None, argument177 if number_of_partitions is None:180 self._number_of_partitions = number_of_partitions