Check if there were any errors. Returns: True if errors list is not empty
(self)
| 28 | return self.files_downloaded > 0 or self.files_skipped > 0 or self.files_removed > 0 |
| 29 | |
| 30 | def has_errors(self) -> bool: |
| 31 | """Check if there were any errors. |
| 32 | |
| 33 | Returns: |
| 34 | True if errors list is not empty |
| 35 | """ |
| 36 | return len(self.errors) > 0 |
| 37 | |
| 38 | |
| 39 | @dataclass |
no outgoing calls