Aiswarya Sankar commited on
Commit
e53ffab
·
1 Parent(s): 4db3891

update file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -298,8 +298,8 @@ def fetchGithubIssues(**kwargs) -> Response:
298
 
299
  # This should set the state variables for tickets
300
  git_tickets.value = issues_data
301
- git_ticket_choices.value = {git_tickets.value["title"]: ticket for ticket in tickets}
302
- git_titles.value = [git_tickets.value["title"] for ticket in tickets]
303
  print("git_tickets: " + str(git_tickets.value))
304
  print("git_choices: " + str(git_ticket_choices.value))
305
  print("git_titles: " + str(git_titles.value))
 
298
 
299
  # This should set the state variables for tickets
300
  git_tickets.value = issues_data
301
+ git_ticket_choices.value = {ticket["title"]: ticket for ticket in issues_data}
302
+ git_titles.value = [ticket["title"] for ticket in issues_data]
303
  print("git_tickets: " + str(git_tickets.value))
304
  print("git_choices: " + str(git_ticket_choices.value))
305
  print("git_titles: " + str(git_titles.value))