Use `ppfmt()` in `order_mode` since it's provided by `tractor` now

ib_async_CONT
Gud Boi 2026-03-05 21:49:45 -05:00
parent e571138816
commit 09bb3759d7
1 changed files with 2 additions and 2 deletions

View File

@ -34,6 +34,7 @@ import uuid
from bidict import bidict
import tractor
from tractor.devx.pformat import ppfmt
import trio
from piker import config
@ -1207,11 +1208,10 @@ async def process_trade_msg(
f'\n'
f'=> CANCELLING ORDER DIALOG <=\n'
# from tractor.devx.pformat import ppfmt
# !TODO LOL, wtf the msg is causing
# a recursion bug!
# -[ ] get this shit on msgspec stat!
# f'{ppfmt(broker_msg)}'
f'{ppfmt(broker_msg)}'
)
# do all the things for a cancel:
# - drop order-msg dialog from client table