mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-03 17:47:24 -04:00
feat(worker): add _add_job_warnings helper method
Delegate to JobManager.add_job_warnings for storing warnings. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -282,6 +282,10 @@ class SimulationWorker:
|
||||
|
||||
return dates_to_process
|
||||
|
||||
def _add_job_warnings(self, warnings: List[str]) -> None:
|
||||
"""Store warnings in job metadata."""
|
||||
self.job_manager.add_job_warnings(self.job_id, warnings)
|
||||
|
||||
def get_job_info(self) -> Dict[str, Any]:
|
||||
"""
|
||||
Get job information.
|
||||
|
||||
Reference in New Issue
Block a user