From 0f9c725d071ccf7e5f3908a78cfef063d127151e Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Wed, 11 Dec 2024 17:40:23 +0100 Subject: [PATCH] Attempt to make black happy --- src/omero_rdf/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/omero_rdf/__init__.py b/src/omero_rdf/__init__.py index 76ecc4f..97783b5 100644 --- a/src/omero_rdf/__init__.py +++ b/src/omero_rdf/__init__.py @@ -318,7 +318,8 @@ def descending(self): def load_handlers(self) -> Handlers: annotation_handlers: Handlers = [] - for ep in entry_points(group='omero_rdf.annotation_handler'): + eps = entry_points() + for ep in eps.select(group='omero_rdf.annotation_handler'): ah_loader = ep.load() annotation_handlers.append(ah_loader(self)) # We know there are some built in handlers