From 5c099ba3c7f2fef0bc1df5db34cedb04fa1fd88e Mon Sep 17 00:00:00 2001 From: clr-li <111320104+clr-li@users.noreply.github.com> Date: Tue, 24 Oct 2023 22:18:24 -0700 Subject: [PATCH] Fixed linting --- bots/admin.py | 4 +++- bots/models.py | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bots/admin.py b/bots/admin.py index d8361e240..b5dad88c5 100644 --- a/bots/admin.py +++ b/bots/admin.py @@ -184,7 +184,9 @@ def view_conversations(self, bi: BotIntegration): @admin.display(description="Analysis Results") def view_analysis_results(self, bi: BotIntegration): - msgs = Message.objects.filter(conversation__bot_integration=bi,).exclude( + msgs = Message.objects.filter( + conversation__bot_integration=bi, + ).exclude( analysis_result={}, ) results = related_json_field_summary( diff --git a/bots/models.py b/bots/models.py index b63e800d9..c88587e32 100644 --- a/bots/models.py +++ b/bots/models.py @@ -255,9 +255,7 @@ def submit_api_call( kwds=dict( page_cls=Workflow(self.workflow).page_cls, query_params=dict( - example_id=self.example_id, - run_id=self.run_id, - uid=self.uid, + example_id=self.example_id, run_id=self.run_id, uid=self.uid ), user=current_user, request_body=request_body,