Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

generic

rafaelmmiller85247991bcc1
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.py
index e7cd45e20..015629c6d 100644
--- a/apps/python-sdk/firecrawl/firecrawl.py
+++ b/apps/python-sdk/firecrawl/firecrawl.py
@@ -411,12 +411,12 @@ class ExtractParams(pydantic.BaseModel):
show_sources: Optional[bool] = False
agent: Optional[Dict[str, Any]] = None
-class ExtractResponse(pydantic.BaseModel):
+class ExtractResponse(pydantic.BaseModel, Generic[T]):
"""
Response from the extract operation.
"""
success: bool
- data: Optional[Any] = None
+ data: Optional[T] = None
error: Optional[str] = None
class FirecrawlApp: