diff --git a/jina/executors/segmenters/__init__.py b/jina/executors/segmenters/__init__.py index 4c747fea09f00..c60e107e6b796 100644 --- a/jina/executors/segmenters/__init__.py +++ b/jina/executors/segmenters/__init__.py @@ -16,11 +16,7 @@ def __init__(self, *args, **kwargs): self.logger.warning(f'{typename(self)} works on keys, but no keys are specified') def segment(self, *args, **kwargs) -> List[Dict]: - """The apply function of this executor. - Unlike :class:`BaseCrafter`, the :func:`craft` here works on doc-level info and the output is defined on - chunk-level. Therefore the name of the arguments should be always valid keys defined - in the doc-level protobuf whereas the output dict keys should always be valid keys defined in the chunk-level - protobuf. + """ :return: a list of chunks-level info represented by a dict """ raise NotImplementedError