From 5d4bffa1195dd04f4c42fa8751e7752212187d20 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 30 Apr 2023 10:42:05 +0200 Subject: [PATCH] Fixed retrieval of `entities` plugin. --- platypush/plugins/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/__init__.py b/platypush/plugins/__init__.py index fa6f5617e..22bd04abd 100644 --- a/platypush/plugins/__init__.py +++ b/platypush/plugins/__init__.py @@ -99,7 +99,7 @@ class Plugin(EventGenerator, ExtensionWithManifest): # lgtm [py/missing-call-to from platypush.context import get_plugin from platypush.plugins.entities import EntitiesPlugin - entities: EntitiesPlugin = get_plugin(EntitiesPlugin) # type: ignore + entities: EntitiesPlugin = get_plugin('entities') # type: ignore assert entities, 'entities plugin not initialized' return entities