Skip to content
Snippets Groups Projects
Commit 1b0adafd authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Fix log marker in _is_synchronous

parent e311398c
No related branches found
No related tags found
1 merge request!73Clive integration related fixes
...@@ -135,7 +135,7 @@ class AbstractAsyncHandle(AbstractHandle[ApiT], SelfContextAsync, ABC): ...@@ -135,7 +135,7 @@ class AbstractAsyncHandle(AbstractHandle[ApiT], SelfContextAsync, ABC):
return self._response_handle(response=response, expected_type=expected_type) return self._response_handle(response=response, expected_type=expected_type)
def _is_synchronous(self) -> bool: def _is_synchronous(self) -> bool:
return True return False
def _get_recommended_communicator(self) -> AbstractCommunicator: def _get_recommended_communicator(self) -> AbstractCommunicator:
return AioHttpCommunicator(settings=self._settings) return AioHttpCommunicator(settings=self._settings)
...@@ -163,7 +163,7 @@ class AbstractSyncHandle(AbstractHandle[ApiT], SelfContextSync, ABC): ...@@ -163,7 +163,7 @@ class AbstractSyncHandle(AbstractHandle[ApiT], SelfContextSync, ABC):
return self._response_handle(response=response, expected_type=expected_type) return self._response_handle(response=response, expected_type=expected_type)
def _is_synchronous(self) -> bool: def _is_synchronous(self) -> bool:
return False return True
def _get_recommended_communicator(self) -> AbstractCommunicator: def _get_recommended_communicator(self) -> AbstractCommunicator:
return RequestCommunicator(settings=self._settings) return RequestCommunicator(settings=self._settings)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment