lysandre HF Staff commited on
Commit
4944186
·
verified ·
1 Parent(s): c42b296

Update graphql_calls.py

Browse files
Files changed (1) hide show
  1. graphql_calls.py +2 -2
graphql_calls.py CHANGED
@@ -1,5 +1,5 @@
1
  from dataclasses import dataclass
2
-
3
  import requests
4
 
5
 
@@ -118,7 +118,7 @@ def get_commits(token, repository, branch, since):
118
 
119
 
120
  commits = []
121
- for node in nodes:
122
  try:
123
  if node['author']['user'] is None:
124
  commits.append(Commit(
 
1
  from dataclasses import dataclass
2
+ from tqdm import tqdm
3
  import requests
4
 
5
 
 
118
 
119
 
120
  commits = []
121
+ for node in tqdm(nodes):
122
  try:
123
  if node['author']['user'] is None:
124
  commits.append(Commit(