From 0ad9e16ec3524826e1da93043bd9bfdacaebd634 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 18 Mar 2021 21:18:25 +0100 Subject: [PATCH] Check for callbacks entry points --- spacy/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index 4b82eea8d..389e3504f 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -88,7 +88,7 @@ class registry(thinc.registry): displacy_colors = catalogue.create("spacy", "displacy_colors", entry_points=True) misc = catalogue.create("spacy", "misc", entry_points=True) # Callback functions used to manipulate nlp object etc. - callbacks = catalogue.create("spacy", "callbacks") + callbacks = catalogue.create("spacy", "callbacks", entry_points=True) batchers = catalogue.create("spacy", "batchers", entry_points=True) readers = catalogue.create("spacy", "readers", entry_points=True) augmenters = catalogue.create("spacy", "augmenters", entry_points=True)