mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-22 05:38:33 -05:00
adhere to comments
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user