Skip to content

Commit

Permalink
Update reports.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored Sep 15, 2022
1 parent 05d32ee commit 550cf47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gam/gapi/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ def showReport():
titles = ['name', 'value', 'client_id']
csvRows = []
auth_apps = list()
usage = list(usage)
for item in usage[0]['parameters']:
if 'name' not in item:
continue
Expand Down

2 comments on commit 550cf47

@taers232c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What changed so that usage is now being returned as type <class 'collections.abc.ValuesView'> not list. I'm still getting list.

Thanks

@jay0lee
Copy link
Member Author

@jay0lee jay0lee commented on 550cf47 Sep 15, 2022 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.