exa-py 1.12.0__py3-none-any.whl → 1.12.1__py3-none-any.whl

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/api.py CHANGED
@@ -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.0",
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
 
exa_py/websets/types.py CHANGED
@@ -18,14 +18,14 @@ class CanceledReason(Enum):
18
18
 
19
19
 
20
20
  class CreateCriterionParameters(ExaBaseModel):
21
- description: constr(min_length=1, max_length=300)
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, max_length=5000)
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, max_length=5000) = Field(
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, max_length=300)
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, max_length=5000) = Field(
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, constr(max_length=1000)]] = None
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, max_length=200)
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, max_length=5000)
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
  Metadata-Version: 2.3
2
2
  Name: exa-py
3
- Version: 1.12.0
3
+ Version: 1.12.1
4
4
  Summary: Python SDK for Exa API.
5
5
  License: MIT
6
6
  Author: Exa AI
@@ -1,5 +1,5 @@
1
1
  exa_py/__init__.py,sha256=M2GC9oSdoV6m2msboW0vMWWl8wrth4o6gmEV4MYLGG8,66
2
- exa_py/api.py,sha256=y8CZs-fYcpxeCLpmiZAL8TxSgqKgMXl9jPaAEYOD7XY,83941
2
+ exa_py/api.py,sha256=pY--ciwm4n8Mx7ojf8OF24piFjjd7WPT1M3U7yARV-M,83941
3
3
  exa_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  exa_py/utils.py,sha256=Rc1FJjoR9LQ7L_OJM91Sd1GNkbHjcLyEvJENhRix6gc,2405
5
5
  exa_py/websets/__init__.py,sha256=uOBAb9VrIHrPKoddGOp2ai2KgWlyUVCLMZqfbGOlboA,70
@@ -13,9 +13,9 @@ exa_py/websets/items/__init__.py,sha256=DCWZJVtRmUjnMEkKdb5gW1LT9cHcb-J8lENMnyyB
13
13
  exa_py/websets/items/client.py,sha256=oZoYr52WrE76Ox6GyoS9rMn7bTrIpno0FKgIWFtb57U,2796
14
14
  exa_py/websets/searches/__init__.py,sha256=_0Zx8ES5fFTEL3T8mhLxq_xK2t0JONx6ad6AtbvClsE,77
15
15
  exa_py/websets/searches/client.py,sha256=X3f7axWGfecmxf-2tBTX0Yf_--xToz1X8ZHbbudEzy0,1790
16
- exa_py/websets/types.py,sha256=3AUOFKSKFhqKzXfnvHdj19vI7l6uxinhNpEmqHa-62w,28232
16
+ exa_py/websets/types.py,sha256=jKnJFAHTFN55EzsusgDce-yux71zVbdSJ1m8utR4EjU,28096
17
17
  exa_py/websets/webhooks/__init__.py,sha256=iTPBCxFd73z4RifLQMX6iRECx_6pwlI5qscLNjMOUHE,77
18
18
  exa_py/websets/webhooks/client.py,sha256=zsIRMTeJU65yj-zo7Zz-gG02Prtzgcx6utGFSoY4HQQ,4222
19
- exa_py-1.12.0.dist-info/METADATA,sha256=SASw2EHQ8YYYwbxed5CfqoszNrJKkAcJQ1V5Q7U1w2E,3565
20
- exa_py-1.12.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
21
- exa_py-1.12.0.dist-info/RECORD,,
19
+ exa_py-1.12.1.dist-info/METADATA,sha256=Pk_iVbhNBMLmO5e5D_rA0rj8mLlCP9TrbwaqXKlbX_c,3565
20
+ exa_py-1.12.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
21
+ exa_py-1.12.1.dist-info/RECORD,,