CallbackConfig

class passengersim.config.CallbackConfig[source]

Bases: BaseModel

Select a registered callback and its explicit options.

Parameters:
type : str or None, optional

Registered callback or tracer to use. Defaults to the declaration’s mapping key.

parameters : dict, optional

JSON-compatible factory options. Runtime defaults are not stored here.

enabled : bool, optional

Whether to attach this declaration. Defaults to True.

version : str or None, optional

Required registered implementation version, if specified.

Attributes:

type

Registry name, or the declaration key when omitted.

parameters

Explicit factory options, without resolved defaults.

enabled

Whether this declaration participates in execution.

version

Optional required implementation version.

type : str | None

Registry name, or the declaration key when omitted.

parameters : dict[str, JsonValue]

Explicit factory options, without resolved defaults.

enabled : bool

Whether this declaration participates in execution.

version : str | None

Optional required implementation version.