Skip to content

Commit 70a68db

Browse files
chore: fix format
Signed-off-by: Matthias Wende <[email protected]>
1 parent 29b130e commit 70a68db

File tree

1 file changed

+3
-1
lines changed
  • src/frequenz/client/electricity_trading

1 file changed

+3
-1
lines changed

src/frequenz/client/electricity_trading/_types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,9 @@ def from_pb(cls, order_detail: electricity_trading_pb2.OrderDetail) -> Self:
13401340
)
13411341
if missing_price_or_quantity and od.state_detail.state != OrderState.CANCELED:
13421342
raise ValueError(
1343-
f"Price and quantity must be specified for a non-canceled order (`{od}`)."
1343+
f"Price and quantity must be specified for a non-canceled order (`{
1344+
od
1345+
}`)."
13441346
)
13451347

13461348
return od

0 commit comments

Comments
 (0)