We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2fad7b commit 97cf4d5Copy full SHA for 97cf4d5
src/frequenz/client/electricity_trading/_client.py
@@ -177,7 +177,7 @@ def stub(self) -> ElectricityTradingServiceAsyncStub:
177
Raises:
178
ClientNotConnected: If the client is not connected to the server.
179
"""
180
- if self._channel is None:
+ if self._stub is None:
181
raise ClientNotConnected(server_url=self.server_url, operation="stub")
182
return self._stub
183
0 commit comments