From 27c378128fffb0d100008c672ce12f3367fd2fa3 Mon Sep 17 00:00:00 2001 From: vegu-ai-tools <152010387+vegu-ai-tools@users.noreply.github.com> Date: Tue, 25 Nov 2025 03:20:07 +0200 Subject: [PATCH] linting --- src/talemate/agents/visual/backends/sdnext.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/talemate/agents/visual/backends/sdnext.py b/src/talemate/agents/visual/backends/sdnext.py index 54c72f68..9116e7d0 100644 --- a/src/talemate/agents/visual/backends/sdnext.py +++ b/src/talemate/agents/visual/backends/sdnext.py @@ -185,7 +185,7 @@ class Backend(backends.Backend): "sdnext.Backend.img2img", payload={k: v for k, v in payload.items() if k != "init_images"}, api_url=self.api_url, - request=request.model_dump(exclude={"reference_bytes"}) + request=request.model_dump(exclude={"reference_bytes"}), ) auth = self._get_auth() @@ -599,7 +599,10 @@ class SDNextMixin: model_choices = self.actions[action_name].config["model"].choices sampler_choices = self.actions[action_name].config["sampling_method"].choices _auth_changed = ( - _auth_method_changed or _username_changed or _password_changed or _api_key_changed + _auth_method_changed + or _username_changed + or _password_changed + or _api_key_changed ) if _reinit or _api_url_changed or _auth_changed or not model_choices: await self.sdnext_update_model_choices(action_name)