Commit 7d8aa01
Update src/zyra/connectors/backends/ftp.py
The precedence order in this docstring is incomplete. The actual implementation in should_download() includes two additional checks before step 2 (overwrite_existing): checking if the file doesn't exist locally (always download), and checking if the local file is zero bytes (always replace). These should be documented as steps 2 and 3, shifting the other steps down accordingly.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Eric Hackathorn <62408375+Hackshaven@users.noreply.github.com>1 parent bab4c10 commit 7d8aa01
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments