chore: fixed imports and tests configuration
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
"""Knaben torrent search API client."""
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
import logging
|
||||
import requests
|
||||
from requests.exceptions import HTTPError, RequestException, Timeout
|
||||
from typing import Any
|
||||
|
||||
from agent.config import Settings, settings
|
||||
|
||||
from alfred.agent.config import Settings, settings
|
||||
from .dto import TorrentResult
|
||||
from .exceptions import KnabenAPIError, KnabenNotFoundError
|
||||
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
"""qBittorrent Web API client."""
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
import requests
|
||||
from requests.exceptions import HTTPError, RequestException, Timeout
|
||||
from typing import Any
|
||||
|
||||
from agent.config import Settings, settings
|
||||
|
||||
from alfred.agent.config import Settings, settings
|
||||
from .dto import TorrentInfo
|
||||
from .exceptions import QBittorrentAPIError, QBittorrentAuthError
|
||||
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
"""TMDB (The Movie Database) API client."""
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
import requests
|
||||
from requests.exceptions import HTTPError, RequestException, Timeout
|
||||
from typing import Any
|
||||
|
||||
from agent.config import Settings, settings
|
||||
|
||||
from alfred.agent.config import Settings, settings
|
||||
from .dto import MediaResult
|
||||
from .exceptions import (
|
||||
TMDBAPIError,
|
||||
|
||||
Reference in New Issue
Block a user