We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a69ea8 commit d5d8be2Copy full SHA for d5d8be2
1 file changed
backend/server.py
@@ -269,6 +269,8 @@ def _voltages(gs, debug=False) -> list[float]:
269
allow_headers=["*"],
270
)
271
272
+
273
274
class PowerflowRequest(BaseModel):
275
substationVoltage: float = 1.05
276
numBuses: int = 13
@@ -295,6 +297,9 @@ def health():
295
297
return {"status": "ok", "data_ready": _DATA_DIR.exists(),
296
298
"message": "gpu2grid OpenDSS server"}
299
300
+@app.get("/health")
301
+def health():
302
+ return "OK"
303
304
305
"""Return available traces"""
0 commit comments