mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-19 20:29:09 +08:00
generic
This commit is contained in:
parent
23ef26655c
commit
85247991bc
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user