mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
Remove platform from JSON.
This commit is contained in:
2
thirdparty/train_api.py
vendored
2
thirdparty/train_api.py
vendored
@@ -110,7 +110,6 @@ class TrainServer(BaseHTTPRequestHandler):
|
|||||||
"arrival_time": format_datetime(
|
"arrival_time": format_datetime(
|
||||||
year, month, arr_day, arr_hour, arr_minute
|
year, month, arr_day, arr_hour, arr_minute
|
||||||
),
|
),
|
||||||
"platform": str(random.randint(1, 8)),
|
|
||||||
"price": round(30 + random.random() * 50, 2),
|
"price": round(30 + random.random() * 50, 2),
|
||||||
}
|
}
|
||||||
journeys.append(journey)
|
journeys.append(journey)
|
||||||
@@ -143,7 +142,6 @@ class TrainServer(BaseHTTPRequestHandler):
|
|||||||
"arrival_time": format_datetime(
|
"arrival_time": format_datetime(
|
||||||
year, month, arr_day, arr_hour, arr_minute
|
year, month, arr_day, arr_hour, arr_minute
|
||||||
),
|
),
|
||||||
"platform": str(random.randint(1, 8)),
|
|
||||||
"price": round(30 + random.random() * 50, 2),
|
"price": round(30 + random.random() * 50, 2),
|
||||||
}
|
}
|
||||||
journeys.append(journey)
|
journeys.append(journey)
|
||||||
|
|||||||
Reference in New Issue
Block a user