Skip to content
Snippets Groups Projects

Beekeepy: Add session holder class and session token handling

Merged Krzysztof Mochocki requested to merge kmochocki/beekeepy into develop
Compare and Show latest version
3 files
+ 219
9
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -196,7 +196,7 @@ class AbstractAsyncHandle(AbstractHandle, ABC):
return True
def _get_recommended_communicator(self) -> AbstractCommunicator:
return AioHttpCommunicator(settings=self.settings)
return AioHttpCommunicator(settings=self._settings)
@abstractmethod
async def batch(self, *, delay_error_on_data_access: bool = False) -> AsyncBatchHandle[Any]:
@@ -222,7 +222,7 @@ class AbstractSyncHandle(AbstractHandle, ABC):
return False
def _get_recommended_communicator(self) -> AbstractCommunicator:
return RequestCommunicator(settings=self.settings)
return RequestCommunicator(settings=self._settings)
@abstractmethod
def batch(self, *, delay_error_on_data_access: bool = False) -> SyncBatchHandle[Any]:
Loading