Skip to content

Conversation

@khuedoan
Copy link
Contributor

@khuedoan khuedoan commented Mar 9, 2020

Using get()['fetches']['total'] in the example will raise an error:

TypeError: 'ProjectAdditionalStatistics' object is not subscriptable

Updated to use new method with get().fetches['total']

@khuedoan khuedoan closed this Mar 9, 2020
@khuedoan khuedoan reopened this Mar 9, 2020
@max-wittig
Copy link
Member

@khuedoan98 Thanks for the fix!

@max-wittig max-wittig merged commit be5b15e into python-gitlab:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants