diff --git a/src/sakia/core/net/api/bma/access.py b/src/sakia/core/net/api/bma/access.py index f6d645e0654bb49e83a9d06ca12512a7def01d16..9324a38266a973e96746613dd1042329166b878e 100644 --- a/src/sakia/core/net/api/bma/access.py +++ b/src/sakia/core/net/api/bma/access.py @@ -1,5 +1,4 @@ from PyQt5.QtCore import QObject, pyqtSlot -from PyQt5.QtNetwork import QNetworkReply from ucoinpy.api import bma from .....tools.exceptions import NoPeerAvailable from ..... import __version__ @@ -259,7 +258,7 @@ class BmaAccess(QObject): :param class request: A bma request class calling for data :param dict req_args: Arguments to pass to the request constructor :param dict get_args: Arguments to pass to the request __get__ method - :return: The returned data if cached = True else return the QNetworkReply + :return: The returned data """ nodes = self.filter_nodes(request, self._network.synced_nodes) if len(nodes) > 0: @@ -293,7 +292,7 @@ class BmaAccess(QObject): :param req_args: Arguments to pass to the request constructor :param post_args: Arguments to pass to the request __post__ method :return: All nodes replies - :rtype: tuple of QNetworkReply + :rtype: tuple of aiohttp replies .. note:: If one node accept the requests (returns 200), the broadcast should be considered accepted by the network.