Skip to content

Conversation

@thomasasfk
Copy link
Owner

  • Add TorrentInfo dataclass to encapsulate torrent metadata and standardize response formatting
  • Update torrent upload functions to handle response status consistently
  • Add comprehensive test cases for ru_torrent and jackett modules
    • Test URL parsing and error handling
    • Test label formatting with various inputs
    • Test torrent name encoding
    • Test response handling for different scenarios
  • Improve response formatting with consistent layout and units
  • Add type hints for better code clarity and safety
  • Clean up imports and string handling

- Add TorrentInfo dataclass to encapsulate torrent metadata and standardize response formatting
- Update torrent upload functions to handle response status consistently
- Add comprehensive test cases for ru_torrent and jackett modules
  - Test URL parsing and error handling
  - Test label formatting with various inputs
  - Test torrent name encoding
  - Test response handling for different scenarios
- Improve response formatting with consistent layout and units
- Add type hints for better code clarity and safety
- Clean up imports and string handling
@thomasasfk thomasasfk merged commit 9c85aab into main Nov 16, 2024
1 check passed
@thomasasfk thomasasfk deleted the nice-download-response branch November 16, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants