diff --git a/src/galaxy/api/importer.py b/src/galaxy/api/importer.py index 9fa193a..d6b38f9 100644 --- a/src/galaxy/api/importer.py +++ b/src/galaxy/api/importer.py @@ -70,9 +70,9 @@ class Importer: class CollectionImporter(Importer): - def __init__(self, notification_partialy_finished, *args): + def __init__(self, notification_partially_finished, *args): super().__init__(*args) - self._notification_partial_finished = notification_partialy_finished + self._notification_partially_finished = notification_partially_finished async def _import_element(self, id_, context_): try: diff --git a/src/galaxy/api/plugin.py b/src/galaxy/api/plugin.py index 339e579..bcfce3a 100644 --- a/src/galaxy/api/plugin.py +++ b/src/galaxy/api/plugin.py @@ -15,8 +15,8 @@ from galaxy.api.types import ( from galaxy.task_manager import TaskManager from galaxy.api.importer import Importer, CollectionImporter -logger = logging.getLogger(__name__) +logger = logging.getLogger(__name__) class JSONEncoder(json.JSONEncoder): @@ -116,7 +116,6 @@ class Plugin: ) self._subscription_games_importer = CollectionImporter( self._subscriptions_games_partial_import_finished, - self._external_task_manager, "subscription games", self.get_subscription_games,