athena-intelligence 0.1.79__py3-none-any.whl → 0.1.81__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.
- athena/core/client_wrapper.py +1 -1
- athena/tools/client.py +4 -6
- {athena_intelligence-0.1.79.dist-info → athena_intelligence-0.1.81.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.79.dist-info → athena_intelligence-0.1.81.dist-info}/RECORD +5 -5
- {athena_intelligence-0.1.79.dist-info → athena_intelligence-0.1.81.dist-info}/WHEEL +0 -0
athena/core/client_wrapper.py
CHANGED
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
18
18
|
"X-Fern-Language": "Python",
|
19
19
|
"X-Fern-SDK-Name": "athena-intelligence",
|
20
|
-
"X-Fern-SDK-Version": "0.1.
|
20
|
+
"X-Fern-SDK-Version": "0.1.81",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
athena/tools/client.py
CHANGED
@@ -263,7 +263,7 @@ class ToolsClient:
|
|
263
263
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
264
264
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
265
265
|
|
266
|
-
def raw_data(self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None) ->
|
266
|
+
def raw_data(self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None) -> None:
|
267
267
|
"""
|
268
268
|
Parameters:
|
269
269
|
- document_id: str.
|
@@ -309,7 +309,7 @@ class ToolsClient:
|
|
309
309
|
max_retries=request_options.get("max_retries") if request_options is not None else 0, # type: ignore
|
310
310
|
)
|
311
311
|
if 200 <= _response.status_code < 300:
|
312
|
-
return
|
312
|
+
return
|
313
313
|
if _response.status_code == 404:
|
314
314
|
raise NotFoundError(pydantic_v1.parse_obj_as(FileFetchError, _response.json())) # type: ignore
|
315
315
|
if _response.status_code == 422:
|
@@ -869,9 +869,7 @@ class AsyncToolsClient:
|
|
869
869
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
870
870
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
871
871
|
|
872
|
-
async def raw_data(
|
873
|
-
self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None
|
874
|
-
) -> typing.Any:
|
872
|
+
async def raw_data(self, *, document_id: str, request_options: typing.Optional[RequestOptions] = None) -> None:
|
875
873
|
"""
|
876
874
|
Parameters:
|
877
875
|
- document_id: str.
|
@@ -917,7 +915,7 @@ class AsyncToolsClient:
|
|
917
915
|
max_retries=request_options.get("max_retries") if request_options is not None else 0, # type: ignore
|
918
916
|
)
|
919
917
|
if 200 <= _response.status_code < 300:
|
920
|
-
return
|
918
|
+
return
|
921
919
|
if _response.status_code == 404:
|
922
920
|
raise NotFoundError(pydantic_v1.parse_obj_as(FileFetchError, _response.json())) # type: ignore
|
923
921
|
if _response.status_code == 422:
|
@@ -5,7 +5,7 @@ athena/chain/client.py,sha256=TJmsh8cniWMF9omH_KqzIgTeKoFnmkgp7bxdtoOwU0c,16139
|
|
5
5
|
athena/client.py,sha256=8QypiDlbZ0C1YsJh6GzhylLVCZXDQc1MCJTURo2_vvI,3576
|
6
6
|
athena/core/__init__.py,sha256=1pNSKkwyQvMl_F0wohBqmoQAITptg3zlvCwsoSSzy7c,853
|
7
7
|
athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
8
|
-
athena/core/client_wrapper.py,sha256=
|
8
|
+
athena/core/client_wrapper.py,sha256=CWFbGhyN7PEf-KJgZb2ahlCwwZ7B6b4HTy1rBCfM7Fg,1495
|
9
9
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
10
10
|
athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
11
11
|
athena/core/http_client.py,sha256=5ok6hqgZDJhg57EHvMnr0BBaHdG50QxFPKaCZ9aVWTc,5059
|
@@ -33,7 +33,7 @@ athena/search/client.py,sha256=j0DYo1WWFMlrssybtQAH71O889eRJdDHheADms5Q9yE,7640
|
|
33
33
|
athena/snippet/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
34
34
|
athena/snippet/client.py,sha256=EE2ADdtSvk_c3-NkVMfwS1r29-y7YhozPoqXc4DPj8k,11323
|
35
35
|
athena/tools/__init__.py,sha256=3n7oOoMebo06MAQqYRE2CX9Q0fTNnKBYE0cTlh1MPkM,165
|
36
|
-
athena/tools/client.py,sha256=
|
36
|
+
athena/tools/client.py,sha256=A8dfVvo-ETw6kukM6UYRI10fvQImgCI2wOirnvA0zMo,53937
|
37
37
|
athena/tools/types/__init__.py,sha256=cA-ZQm6veQAP3_vKu9KkZpISsQqgTBN_Z--FGY1c2iA,197
|
38
38
|
athena/tools/types/tools_data_frame_request_columns_item.py,sha256=GA1FUlTV_CfSc-KToTAwFf4Exl0rr4fsweVZupztjw0,138
|
39
39
|
athena/types/__init__.py,sha256=iuFTDsCecjr3k6Ywiz0fcqtj-14cryzSSVsKir9j-ew,3106
|
@@ -83,6 +83,6 @@ athena/upload/client.py,sha256=e5h10wZ7lGBasJ6X907x7nXHRhX600mLSkdw2qz6pmY,6385
|
|
83
83
|
athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
|
84
84
|
athena/workflow/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
85
85
|
athena/workflow/client.py,sha256=uY9IS_v2GDQ-g2nbatpTUP1aT1oHbG_E8WAor8JzxPI,6249
|
86
|
-
athena_intelligence-0.1.
|
87
|
-
athena_intelligence-0.1.
|
88
|
-
athena_intelligence-0.1.
|
86
|
+
athena_intelligence-0.1.81.dist-info/METADATA,sha256=3HFyQJtR0aBSq_lNzk4FXueQMQfTk6mUJzfM3PjhREo,4738
|
87
|
+
athena_intelligence-0.1.81.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
88
|
+
athena_intelligence-0.1.81.dist-info/RECORD,,
|
File without changes
|