mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
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.
This commit is contained in:
parent
8abb57eedb
commit
ac25ad0b67
@ -10,7 +10,6 @@ from invokeai.app.services.bulk_download.bulk_download_common import (
|
|||||||
BulkDownloadParametersException,
|
BulkDownloadParametersException,
|
||||||
BulkDownloadTargetException,
|
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.image_records.image_records_common import ImageRecordNotFoundException
|
||||||
from invokeai.app.services.images.images_common import ImageDTO
|
from invokeai.app.services.images.images_common import ImageDTO
|
||||||
from invokeai.app.services.invoker import Invoker
|
from invokeai.app.services.invoker import Invoker
|
||||||
@ -20,11 +19,6 @@ from .bulk_download_base import BulkDownloadBase
|
|||||||
|
|
||||||
|
|
||||||
class BulkDownloadService(BulkDownloadBase):
|
class BulkDownloadService(BulkDownloadBase):
|
||||||
__temp_directory: TemporaryDirectory
|
|
||||||
__bulk_downloads_folder: Path
|
|
||||||
__event_bus: EventServiceBase
|
|
||||||
__invoker: Invoker
|
|
||||||
|
|
||||||
def start(self, invoker: Invoker) -> None:
|
def start(self, invoker: Invoker) -> None:
|
||||||
self.__invoker = invoker
|
self.__invoker = invoker
|
||||||
self.__event_bus = invoker.services.events
|
self.__event_bus = invoker.services.events
|
||||||
|
Loading…
Reference in New Issue
Block a user