Skip to content

Commit 752a951

Browse files
fix: HealthResponse no longer contains non-existent services field
/health returns only { status, uptime }. The HealthServices subtype (redis/db status) was never returned by the API. Removed both the field and the HealthServices class. Verified against live endpoint: curl https://v2-api.scrapegraphai.com/api/health -> {"status": "ok", "uptime": 17936} Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6a53676 commit 752a951

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/scrapegraph_py/schemas.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,8 @@ class CreditsResponse(ResponseModel):
471471
model_config = ConfigDict(extra="allow")
472472

473473

474-
class HealthServices(ResponseModel):
475-
redis: Literal["ok", "down"]
476-
db: Literal["ok", "down"]
477-
478-
479474
class HealthResponse(ResponseModel):
480475
status: str
481476
uptime: int
482-
services: HealthServices | None = None
483477

484478
model_config = ConfigDict(extra="allow")

0 commit comments

Comments
 (0)