Files
onepilot/selfdrive/test/process_replay/__init__.py
T
firestar5683 0f4bae1c77 TOOLS
2026-03-27 01:26:49 -05:00

29 lines
929 B
Python

from typing import TYPE_CHECKING
__all__ = [
"CONFIGS",
"get_process_config",
"get_custom_params_from_lr",
"replay_process",
"replay_process_with_name",
]
if TYPE_CHECKING:
from openpilot.selfdrive.test.process_replay.process_replay import CONFIGS, get_custom_params_from_lr, get_process_config, replay_process, replay_process_with_name
def __getattr__(name: str):
if name in __all__:
from openpilot.selfdrive.test.process_replay.process_replay import CONFIGS, get_custom_params_from_lr, get_process_config, replay_process, replay_process_with_name
exports = {
"CONFIGS": CONFIGS,
"get_process_config": get_process_config,
"get_custom_params_from_lr": get_custom_params_from_lr,
"replay_process": replay_process,
"replay_process_with_name": replay_process_with_name,
}
return exports[name]
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")