Skip to content

Commit 3810a88

Browse files
DineshDinesh
authored andcommitted
added limit
1 parent cea338f commit 3810a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/get_project_version_total_scan_size.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
if version:
2020
codelocation_url = hub.get_link(version, "codelocations")
21+
codelocation_url += "?limit={}".format(10000)
2122
response = hub.execute_get(codelocation_url)
2223
if response.status_code == 200:
2324
# codelocation and scan are synonymous

0 commit comments

Comments
 (0)