collect_leg_booking_detail

passengersim.callbacks.booking_detail.collect_leg_booking_detail(leg_ids: Iterable[int]) → LegBookingDetailTracer[source]

Build a tracer recording cumulative sales for selected legs.

Deprecated since version Use: LegBookingDetailTracer directly. The tracer stores its results in callback_data.leg_booking_detail rather than in callback_data.daily rows; the summary accessors read either.

Parameters:
leg_ids : Iterable[int]

The legs to record.

Returns:

LegBookingDetailTracer – A tracer to attach with sim.daily_callback.