CallbackConfig¶
- class passengersim.config.CallbackConfig[source]¶
Bases:
BaseModelSelect 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:
Registry name, or the declaration key when omitted.
Explicit factory options, without resolved defaults.
Whether this declaration participates in execution.
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.