Skip to content

Commit be5b15e

Browse files
authored
Merge pull request python-gitlab#1042 from khuedoan98/patch-1
fix(docs): additional project statistics example
2 parents 481bd4f + 5ae5a06 commit be5b15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gl_objects/projects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ Get all additional statistics of a project::
785785

786786
Get total fetches in last 30 days of a project::
787787

788-
total_fetches = project.additionalstatistics.get()['fetches']['total']
788+
total_fetches = project.additionalstatistics.get().fetches['total']
789789

790790
Project issues statistics
791791
=========================

0 commit comments

Comments
 (0)