chore: ruff

This commit is contained in:
psychedelicious 2024-03-14 19:29:57 +11:00
parent 0abc328ddf
commit fb402f3b46

View File

@ -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))