From fb402f3b46e875a20cbf59070823a03205365794 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 14 Mar 2024 19:29:57 +1100 Subject: [PATCH] chore: ruff --- invokeai/app/services/events/events_base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/app/services/events/events_base.py b/invokeai/app/services/events/events_base.py index 48e7013238..eb64856bb5 100644 --- a/invokeai/app/services/events/events_base.py +++ b/invokeai/app/services/events/events_base.py @@ -148,7 +148,9 @@ class EventServiceBase: """Emitted when a model load is started.""" self.dispatch(ModelLoadStartedEvent.build(config, submodel_type)) - def emit_model_load_complete(self, config: "AnyModelConfig", submodel_type: Optional["SubModelType"] = None) -> None: + def emit_model_load_complete( + self, config: "AnyModelConfig", submodel_type: Optional["SubModelType"] = None + ) -> None: """Emitted when a model load is complete.""" self.dispatch(ModelLoadCompleteEvent.build(config, submodel_type))