groundx 2.5.8__py3-none-any.whl → 2.5.9__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 groundx might be problematic. Click here for more details.

@@ -14,10 +14,10 @@ class BaseClientWrapper:
14
14
 
15
15
  def get_headers(self) -> typing.Dict[str, str]:
16
16
  headers: typing.Dict[str, str] = {
17
- "User-Agent": "groundx/2.5.8",
17
+ "User-Agent": "groundx/2.5.9",
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "groundx",
20
- "X-Fern-SDK-Version": "2.5.8",
20
+ "X-Fern-SDK-Version": "2.5.9",
21
21
  }
22
22
  headers["X-API-Key"] = self.api_key
23
23
  return headers
@@ -8,12 +8,13 @@ DocT = typing.TypeVar("DocT", bound=Document)
8
8
 
9
9
 
10
10
  class AgentRequest(BaseModel, typing.Generic[ReqT, DocT]):
11
- allowed_request_types: typing.List[str] = []
11
+ allowed_request_types: typing.ClassVar[typing.List[str]] = []
12
12
  request: ReqT
13
13
  request_type: str
14
14
  statement: DocT
15
15
 
16
16
  @field_validator("request_type")
17
+ @classmethod
17
18
  def validate_request_type(cls, value: str):
18
19
  if value not in cls.allowed_request_types:
19
20
  raise ValueError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: groundx
3
- Version: 2.5.8
3
+ Version: 2.5.9
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -5,7 +5,7 @@ groundx/buckets/raw_client.py,sha256=T2Ty5obN7eHbaxHGAimzjM8MGOmSOQEckhciyZkzcjE
5
5
  groundx/client.py,sha256=FsVhPSZ1kd70pOVv37zTbNSwBM7XdttSx4aEPobPoew,6412
6
6
  groundx/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
7
7
  groundx/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
8
- groundx/core/client_wrapper.py,sha256=COudBfgaFeeQHgz4J4jQKzLHsnPFOF4wVGquUuOd_Y8,1822
8
+ groundx/core/client_wrapper.py,sha256=pwQWa3x4j8dG98ElFty0USQnoRKhkD-wLSp7WzjEfZc,1822
9
9
  groundx/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
10
10
  groundx/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
11
11
  groundx/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -32,7 +32,7 @@ groundx/extract/__init__.py,sha256=bIrn4ulZM0thiaz4zh32XyjnHNTcgmHzixYOsYK1e6M,9
32
32
  groundx/extract/agents/__init__.py,sha256=i95YB5jxXog8gn02t5c2to2zF00EZMiKjeukXZQt36g,90
33
33
  groundx/extract/agents/agent.py,sha256=vFvYv0_lHz4auejiCxz4bX0QG5JxHTEHOuBBcIOXWBI,6158
34
34
  groundx/extract/classes/__init__.py,sha256=i7gl0O6K2THXwS8oszYlQ6lzvG4iglmvcuebqLvYH6A,574
35
- groundx/extract/classes/agent.py,sha256=4Uo6vca9s_1AcDv8Y2XSQiu5awOhQECgE55-kWUx2-8,677
35
+ groundx/extract/classes/agent.py,sha256=nDPr10PPqtRYxYE917P3vaZQGHCVLd0bH9xaMdBul4s,711
36
36
  groundx/extract/classes/api.py,sha256=fgCwua4xf8oK2J8p-LYAFyeEpbGg1kETEUAGSH60lr4,345
37
37
  groundx/extract/classes/document.py,sha256=lJcWKvP60Zo4W9UYjqAG-BBO_etq8jVp1QbvO4E12z8,9951
38
38
  groundx/extract/classes/field.py,sha256=x8Y8MIytoeWeU6tpvczw2sLaIlQzCEvfRiO_-PjWEXE,2764
@@ -126,7 +126,7 @@ groundx/types/subscription_detail.py,sha256=GEEivqyiLsZtd8Ow7mqqwF1y0m0tHD-t9r9d
126
126
  groundx/types/subscription_detail_meters.py,sha256=vGqiR2uupVh5177DfOghjoe5mwzVhoWljKzPF-twUc0,794
127
127
  groundx/types/website_source.py,sha256=53jWDBtSrJVOsBVtVbZbjhEAsd0QGkXa7IuKO4AooLs,1542
128
128
  groundx/version.py,sha256=1yVogKaq260fQfckM2RYN2144SEw0QROsZW8ICtkG4U,74
129
- groundx-2.5.8.dist-info/LICENSE,sha256=dFE6nY1bHnSn6NqmdlghlU1gQqLqYNphrceGVehSa7o,1065
130
- groundx-2.5.8.dist-info/METADATA,sha256=0DiBvETwsqtwl-E3ZM5GrsVxIkxQ7agSknwUIYNJvJI,5919
131
- groundx-2.5.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
132
- groundx-2.5.8.dist-info/RECORD,,
129
+ groundx-2.5.9.dist-info/LICENSE,sha256=dFE6nY1bHnSn6NqmdlghlU1gQqLqYNphrceGVehSa7o,1065
130
+ groundx-2.5.9.dist-info/METADATA,sha256=EUfwjdoVyi1z_KchhqLWynRnptZgdN4ego3hBRqG8Ig,5919
131
+ groundx-2.5.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
132
+ groundx-2.5.9.dist-info/RECORD,,