Spaces:
Sleeping
Sleeping
Add run-once endpoint
Browse files
app.py
CHANGED
|
@@ -121,3 +121,7 @@ def get_transcript(symbol: str):
|
|
| 121 |
|
| 122 |
return {"symbol": symbol, "records": safe_rows}
|
| 123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
return {"symbol": symbol, "records": safe_rows}
|
| 123 |
|
| 124 |
+
@app.get("/run-once")
|
| 125 |
+
def run_once():
|
| 126 |
+
import run_once
|
| 127 |
+
return {"status": "executed"}
|