Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Oct 25, 2023
1 parent a82ba42 commit 5c099ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion bots/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 1 addition & 3 deletions bots/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5c099ba

Please sign in to comment.