exa-py 1.12.0__tar.gz → 1.12.1__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.
- {exa_py-1.12.0 → exa_py-1.12.1}/PKG-INFO +1 -1
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/api.py +1 -1
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/types.py +8 -8
- {exa_py-1.12.0 → exa_py-1.12.1}/pyproject.toml +2 -2
- {exa_py-1.12.0 → exa_py-1.12.1}/README.md +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/py.typed +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/utils.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/_generator/pydantic/BaseModel.jinja2 +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/client.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/core/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/core/base.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/enrichments/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/enrichments/client.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/items/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/items/client.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/searches/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/searches/client.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/webhooks/__init__.py +0 -0
- {exa_py-1.12.0 → exa_py-1.12.1}/exa_py/websets/webhooks/client.py +0 -0
|
@@ -842,7 +842,7 @@ class Exa:
|
|
|
842
842
|
self,
|
|
843
843
|
api_key: Optional[str],
|
|
844
844
|
base_url: str = "https://api.exa.ai",
|
|
845
|
-
user_agent: str = "exa-py 1.12.
|
|
845
|
+
user_agent: str = "exa-py 1.12.1",
|
|
846
846
|
):
|
|
847
847
|
"""Initialize the Exa client with the provided API key and optional base URL and user agent.
|
|
848
848
|
|
|
@@ -18,14 +18,14 @@ class CanceledReason(Enum):
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class CreateCriterionParameters(ExaBaseModel):
|
|
21
|
-
description: constr(min_length=1
|
|
21
|
+
description: constr(min_length=1)
|
|
22
22
|
"""
|
|
23
23
|
The description of the criterion
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class CreateEnrichmentParameters(ExaBaseModel):
|
|
28
|
-
description: constr(min_length=1
|
|
28
|
+
description: constr(min_length=1)
|
|
29
29
|
"""
|
|
30
30
|
Provide a description of the enrichment task you want to perform to each Webset Item.
|
|
31
31
|
"""
|
|
@@ -88,7 +88,7 @@ class CreateWebsetSearchParameters(ExaBaseModel):
|
|
|
88
88
|
|
|
89
89
|
The actual number of Items found may be less than this number depending on the query complexity.
|
|
90
90
|
"""
|
|
91
|
-
query: constr(min_length=1
|
|
91
|
+
query: constr(min_length=1) = Field(
|
|
92
92
|
...,
|
|
93
93
|
examples=[
|
|
94
94
|
'Marketing agencies based in the US, that focus on consumer products. Get brands worked with and city'
|
|
@@ -136,7 +136,7 @@ class CreateWebsetSearchParameters(ExaBaseModel):
|
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
class Criterion(ExaBaseModel):
|
|
139
|
-
description: constr(min_length=1
|
|
139
|
+
description: constr(min_length=1)
|
|
140
140
|
"""
|
|
141
141
|
The description of the criterion
|
|
142
142
|
"""
|
|
@@ -338,7 +338,7 @@ class Search(ExaBaseModel):
|
|
|
338
338
|
Create initial search for the Webset.
|
|
339
339
|
"""
|
|
340
340
|
|
|
341
|
-
query: constr(min_length=1
|
|
341
|
+
query: constr(min_length=1) = Field(
|
|
342
342
|
...,
|
|
343
343
|
examples=[
|
|
344
344
|
'Marketing agencies based in the US, that focus on consumer products.'
|
|
@@ -405,7 +405,7 @@ class UpdateWebhookParameters(ExaBaseModel):
|
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
class UpdateWebsetRequest(ExaBaseModel):
|
|
408
|
-
metadata: Optional[Dict[str,
|
|
408
|
+
metadata: Optional[Dict[str, str]] = None
|
|
409
409
|
"""
|
|
410
410
|
Set of key-value pairs you want to associate with this object.
|
|
411
411
|
"""
|
|
@@ -564,7 +564,7 @@ class WebsetCreatedEvent(ExaBaseModel):
|
|
|
564
564
|
|
|
565
565
|
class WebsetCustomEntity(ExaBaseModel):
|
|
566
566
|
type: Literal['custom']
|
|
567
|
-
description: constr(min_length=2
|
|
567
|
+
description: constr(min_length=2)
|
|
568
568
|
"""
|
|
569
569
|
When you decide to use a custom entity, this is the description of the entity.
|
|
570
570
|
|
|
@@ -972,7 +972,7 @@ class WebsetSearch(ExaBaseModel):
|
|
|
972
972
|
"""
|
|
973
973
|
The status of the search
|
|
974
974
|
"""
|
|
975
|
-
query: constr(min_length=1
|
|
975
|
+
query: constr(min_length=1)
|
|
976
976
|
"""
|
|
977
977
|
The query used to create the search.
|
|
978
978
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "exa-py"
|
|
3
|
-
version = "1.12.
|
|
3
|
+
version = "1.12.1"
|
|
4
4
|
description = "Python SDK for Exa API."
|
|
5
5
|
authors = ["Exa AI <hello@exa.ai>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -32,7 +32,7 @@ in-project = true
|
|
|
32
32
|
|
|
33
33
|
[project]
|
|
34
34
|
name = "exa-py"
|
|
35
|
-
version = "1.12.
|
|
35
|
+
version = "1.12.1"
|
|
36
36
|
description = "Python SDK for Exa API."
|
|
37
37
|
readme = "README.md"
|
|
38
38
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|