def partition(self, key, partitions=None):
        raise NotImplementedError('partition function has to be implemented')
Set the warning method to use to record deprecation warnings.
dataset/ETHPy150Open scrapinghub/frontera/frontera/core/components.py/Partitioner.partition--crossover with--dataset/ETHPy150Open bokeh/bokeh/bokeh/util/deprecate.py/setWarningMethod