rongo1
commited on
Commit
·
c79be8a
1
Parent(s):
3139aea
FIX: MAXRES
Browse files- google_funcs.py +1 -1
google_funcs.py
CHANGED
@@ -169,7 +169,7 @@ def list_files_in_folder(service, folder_id, max_results=100):
|
|
169 |
query = f"'{folder_id}' in parents"
|
170 |
results = service.files().list(
|
171 |
q=query,
|
172 |
-
|
173 |
fields="files(id, name, size, createdTime, webViewLink)"
|
174 |
).execute()
|
175 |
|
|
|
169 |
query = f"'{folder_id}' in parents"
|
170 |
results = service.files().list(
|
171 |
q=query,
|
172 |
+
pageSize=max_results,
|
173 |
fields="files(id, name, size, createdTime, webViewLink)"
|
174 |
).execute()
|
175 |
|