From ac25ad0b670c0c910af6d40afe9ccbcaf7e19b06 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 20 Feb 2024 17:50:10 +1100 Subject: [PATCH] tidy(bulk_download): remove class-level attr annotations These can be misleading as they shadow actual assigned class attributes. This pattern is in the rest of the app but it shouldn't be. --- .../app/services/bulk_download/bulk_download_default.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/invokeai/app/services/bulk_download/bulk_download_default.py b/invokeai/app/services/bulk_download/bulk_download_default.py index 670703db9b..b44501a8d9 100644 --- a/invokeai/app/services/bulk_download/bulk_download_default.py +++ b/invokeai/app/services/bulk_download/bulk_download_default.py @@ -10,7 +10,6 @@ from invokeai.app.services.bulk_download.bulk_download_common import ( BulkDownloadParametersException, BulkDownloadTargetException, ) -from invokeai.app.services.events.events_base import EventServiceBase from invokeai.app.services.image_records.image_records_common import ImageRecordNotFoundException from invokeai.app.services.images.images_common import ImageDTO from invokeai.app.services.invoker import Invoker @@ -20,11 +19,6 @@ from .bulk_download_base import BulkDownloadBase class BulkDownloadService(BulkDownloadBase): - __temp_directory: TemporaryDirectory - __bulk_downloads_folder: Path - __event_bus: EventServiceBase - __invoker: Invoker - def start(self, invoker: Invoker) -> None: self.__invoker = invoker self.__event_bus = invoker.services.events