prepare

passengersim.callbacks.configured.prepare(owner: Any, definitions: dict[str, CallbackDefinition] | None = None) → None[source]

Build fresh callbacks and replace only prior configured attachments.

Every factory runs, and every result is checked, before anything is published. A tracer with several hooks is attached to all of them, and its registrations are replaced together on the next prepare. A callback registered with register_callback() is bound to each declaration’s own copy of its validated parameters, and stores its results under that declaration’s ID.