Skip to content

Commit 0a28454

Browse files
jorenhamparthea
andauthored
fix: Removed indent from discovery cache json files (#2099)
Changed the discovery artifact JSON indentation from 2 to 0, in order to reduce the size by several megabytes. Refs: #1967 Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent ff3a476 commit 0a28454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

describe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def document_api(
432432
# Reset position to the beginning
433433
f.seek(0)
434434
# Write the changes to disk
435-
json.dump(discovery, f, indent=2, sort_keys=True)
435+
json.dump(discovery, f, indent=0, sort_keys=True)
436436
# Truncate anything left as it's not needed
437437
f.truncate()
438438

0 commit comments

Comments
 (0)