- async def on_transaction_event(self, event_type, timestamp, trigger_reason, seq_no,
- transaction_info, **kwargs):
+ async def on_transaction_event(
+ self,
+ event_type: TransactionEventType,
+ timestamp,
+ trigger_reason,
+ seq_no: int,
+ transaction_info,
+ **kwargs,
+ ):