Repository navigation
Commit 3cea407
Deduplicate DOWNLOAD_CHUNK_SIZE_MB default
jarhun88 pointed out the default value 1 was hardcoded in two places:
once as the string fallback for os.getenv, and again in the
ValueError except branch. Pull it into a single class attribute so
there's one source of truth.
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 08d456c commit 3cea407
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments