Fix Pipe.labels

This commit is contained in:
Matthew Honnibal 2020-09-29 16:55:07 +02:00
parent 4ad26f4a2f
commit e4f535a964

View File

@ -35,10 +35,7 @@ cdef class Pipe:
@property
def labels(self) -> Optional[Tuple[str]]:
if "labels" in self.cfg:
return tuple(self.cfg["labels"])
else:
return None
return []
@property
def label_data(self):