exa-py 1.15.2__tar.gz → 1.15.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of exa-py might be problematic. Click here for more details.

Files changed (37) hide show
  1. {exa_py-1.15.2 → exa_py-1.15.3}/PKG-INFO +1 -1
  2. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/async_client.py +1 -0
  3. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/models.py +12 -0
  4. {exa_py-1.15.2 → exa_py-1.15.3}/pyproject.toml +1 -1
  5. {exa_py-1.15.2 → exa_py-1.15.3}/README.md +0 -0
  6. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/__init__.py +0 -0
  7. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/api.py +0 -0
  8. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/py.typed +0 -0
  9. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/__init__.py +0 -0
  10. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/base.py +0 -0
  11. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/sync_client.py +0 -0
  12. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/research/utils.py +0 -0
  13. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/utils.py +0 -0
  14. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/__init__.py +0 -0
  15. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/_generator/pydantic/BaseModel.jinja2 +0 -0
  16. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/async_client.py +0 -0
  17. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/client.py +0 -0
  18. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/__init__.py +0 -0
  19. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/async_base.py +0 -0
  20. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/core/base.py +0 -0
  21. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/enrichments/__init__.py +0 -0
  22. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/enrichments/client.py +0 -0
  23. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/events/__init__.py +0 -0
  24. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/events/client.py +0 -0
  25. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/imports/__init__.py +0 -0
  26. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/imports/client.py +0 -0
  27. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/items/__init__.py +0 -0
  28. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/items/client.py +0 -0
  29. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/__init__.py +0 -0
  30. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/client.py +0 -0
  31. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/runs/__init__.py +0 -0
  32. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/monitors/runs/client.py +0 -0
  33. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/searches/__init__.py +0 -0
  34. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/searches/client.py +0 -0
  35. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/types.py +0 -0
  36. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/webhooks/__init__.py +0 -0
  37. {exa_py-1.15.2 → exa_py-1.15.3}/exa_py/websets/webhooks/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: exa-py
3
- Version: 1.15.2
3
+ Version: 1.15.3
4
4
  Summary: Python SDK for Exa API.
5
5
  License: MIT
6
6
  Author: Exa AI
@@ -45,6 +45,7 @@ class AsyncResearchTyped(Generic[T]):
45
45
  self.created_at = research.created_at
46
46
  self.model = research.model
47
47
  self.instructions = research.instructions
48
+ self.output_schema = research.output_schema
48
49
  if hasattr(research, "events"):
49
50
  self.events = research.events
50
51
  if hasattr(research, "output"):
@@ -197,6 +197,9 @@ class ResearchBaseDto(BaseModel):
197
197
  instructions: Annotated[
198
198
  str, Field(description="The instructions given to this research request")
199
199
  ]
200
+ output_schema: Annotated[Optional[Dict[str, Any]], Field(alias="outputSchema")] = (
201
+ None
202
+ )
200
203
 
201
204
 
202
205
  class ResearchPendingDto(ResearchBaseDto):
@@ -210,6 +213,9 @@ class ResearchRunningDto(ResearchBaseDto):
210
213
 
211
214
  class ResearchCompletedDto(ResearchBaseDto):
212
215
  status: Literal["completed"]
216
+ finished_at: Annotated[
217
+ float, Field(alias="createdAt", description="Milliseconds since epoch time")
218
+ ]
213
219
  events: Optional[List[ResearchEvent]] = None
214
220
  output: ResearchOutput
215
221
  cost_dollars: Annotated[CostDollars, Field(alias="costDollars")]
@@ -217,11 +223,17 @@ class ResearchCompletedDto(ResearchBaseDto):
217
223
 
218
224
  class ResearchCanceledDto(ResearchBaseDto):
219
225
  status: Literal["canceled"]
226
+ finished_at: Annotated[
227
+ float, Field(alias="createdAt", description="Milliseconds since epoch time")
228
+ ]
220
229
  events: Optional[List[ResearchEvent]] = None
221
230
 
222
231
 
223
232
  class ResearchFailedDto(ResearchBaseDto):
224
233
  status: Literal["failed"]
234
+ finished_at: Annotated[
235
+ float, Field(alias="createdAt", description="Milliseconds since epoch time")
236
+ ]
225
237
  events: Optional[List[ResearchEvent]] = None
226
238
  error: Annotated[
227
239
  str, Field(description="A message indicating why the request failed")
@@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api"
23
23
 
24
24
  [project]
25
25
  name = "exa-py"
26
- version = "1.15.2"
26
+ version = "1.15.3"
27
27
  description = "Python SDK for Exa API."
28
28
  readme = "README.md"
29
29
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes