auto-sync: 2026-04-28 15:01:42
This commit is contained in:
@@ -69025,3 +69025,4 @@ fatal: refusing to merge unrelated histories
|
||||
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
|
||||
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
|
||||
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
|
||||
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
|
||||
|
||||
@@ -5449,5 +5449,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,11 +3,19 @@
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
from datetime import date, datetime
|
||||
from typing import Optional
|
||||
from .models import BacktestTaskWithId, BacktestResult
|
||||
from .config import settings
|
||||
|
||||
|
||||
def _json_serial(obj):
|
||||
"""JSON序列化辅助:处理date/datetime"""
|
||||
if isinstance(obj, (date, datetime)):
|
||||
return obj.isoformat()
|
||||
raise TypeError(f"Object of type {type(obj)} is not JSON serializable")
|
||||
|
||||
|
||||
class ResultStorage:
|
||||
"""结果存储管理器"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user