diff --git a/src/qbittorrentapi/app.py b/src/qbittorrentapi/app.py index 991322dad..2568cd852 100644 --- a/src/qbittorrentapi/app.py +++ b/src/qbittorrentapi/app.py @@ -85,7 +85,9 @@ def app(self) -> Application: self._application = Application(client=self) return self._application - application = app + @property + def application(self) -> Application: + return self.app def app_version(self, **kwargs: APIKwargsT) -> str: """qBittorrent application version.""" diff --git a/src/qbittorrentapi/auth.py b/src/qbittorrentapi/auth.py index 1886672cf..d267eec92 100644 --- a/src/qbittorrentapi/auth.py +++ b/src/qbittorrentapi/auth.py @@ -37,7 +37,9 @@ def auth(self) -> Authorization: self._authorization = Authorization(client=self) return self._authorization - authorization = auth + @property + def authorization(self) -> Authorization: + return self.auth @property def is_logged_in(self) -> bool: