athena-intelligence 0.1.211__py3-none-any.whl → 0.1.212__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 athena-intelligence might be problematic. Click here for more details.
- athena/core/client_wrapper.py +2 -2
- athena/tools/sheets/client.py +6 -6
- athena/tools/sheets/raw_client.py +2 -2
- {athena_intelligence-0.1.211.dist-info → athena_intelligence-0.1.212.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.211.dist-info → athena_intelligence-0.1.212.dist-info}/RECORD +6 -6
- {athena_intelligence-0.1.211.dist-info → athena_intelligence-0.1.212.dist-info}/WHEEL +0 -0
athena/core/client_wrapper.py
CHANGED
|
@@ -22,10 +22,10 @@ class BaseClientWrapper:
|
|
|
22
22
|
|
|
23
23
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
|
-
"User-Agent": "athena-intelligence/0.1.
|
|
25
|
+
"User-Agent": "athena-intelligence/0.1.212",
|
|
26
26
|
"X-Fern-Language": "Python",
|
|
27
27
|
"X-Fern-SDK-Name": "athena-intelligence",
|
|
28
|
-
"X-Fern-SDK-Version": "0.1.
|
|
28
|
+
"X-Fern-SDK-Version": "0.1.212",
|
|
29
29
|
**(self.get_custom_headers() or {}),
|
|
30
30
|
}
|
|
31
31
|
headers["X-API-KEY"] = self.api_key
|
athena/tools/sheets/client.py
CHANGED
|
@@ -884,7 +884,7 @@ class SheetsClient:
|
|
|
884
884
|
)
|
|
885
885
|
return _response.data
|
|
886
886
|
|
|
887
|
-
def
|
|
887
|
+
def get_table_rows(
|
|
888
888
|
self,
|
|
889
889
|
*,
|
|
890
890
|
asset_id: str,
|
|
@@ -921,12 +921,12 @@ class SheetsClient:
|
|
|
921
921
|
client = Athena(
|
|
922
922
|
api_key="YOUR_API_KEY",
|
|
923
923
|
)
|
|
924
|
-
client.tools.sheets.
|
|
924
|
+
client.tools.sheets.get_table_rows(
|
|
925
925
|
asset_id="asset_id",
|
|
926
926
|
table_name="table_name",
|
|
927
927
|
)
|
|
928
928
|
"""
|
|
929
|
-
_response = self._raw_client.
|
|
929
|
+
_response = self._raw_client.get_table_rows(
|
|
930
930
|
asset_id=asset_id, table_name=table_name, table_id=table_id, request_options=request_options
|
|
931
931
|
)
|
|
932
932
|
return _response.data
|
|
@@ -2050,7 +2050,7 @@ class AsyncSheetsClient:
|
|
|
2050
2050
|
)
|
|
2051
2051
|
return _response.data
|
|
2052
2052
|
|
|
2053
|
-
async def
|
|
2053
|
+
async def get_table_rows(
|
|
2054
2054
|
self,
|
|
2055
2055
|
*,
|
|
2056
2056
|
asset_id: str,
|
|
@@ -2092,7 +2092,7 @@ class AsyncSheetsClient:
|
|
|
2092
2092
|
|
|
2093
2093
|
|
|
2094
2094
|
async def main() -> None:
|
|
2095
|
-
await client.tools.sheets.
|
|
2095
|
+
await client.tools.sheets.get_table_rows(
|
|
2096
2096
|
asset_id="asset_id",
|
|
2097
2097
|
table_name="table_name",
|
|
2098
2098
|
)
|
|
@@ -2100,7 +2100,7 @@ class AsyncSheetsClient:
|
|
|
2100
2100
|
|
|
2101
2101
|
asyncio.run(main())
|
|
2102
2102
|
"""
|
|
2103
|
-
_response = await self._raw_client.
|
|
2103
|
+
_response = await self._raw_client.get_table_rows(
|
|
2104
2104
|
asset_id=asset_id, table_name=table_name, table_id=table_id, request_options=request_options
|
|
2105
2105
|
)
|
|
2106
2106
|
return _response.data
|
|
@@ -1141,7 +1141,7 @@ class RawSheetsClient:
|
|
|
1141
1141
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
1142
1142
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
1143
1143
|
|
|
1144
|
-
def
|
|
1144
|
+
def get_table_rows(
|
|
1145
1145
|
self,
|
|
1146
1146
|
*,
|
|
1147
1147
|
asset_id: str,
|
|
@@ -2506,7 +2506,7 @@ class AsyncRawSheetsClient:
|
|
|
2506
2506
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
2507
2507
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
2508
2508
|
|
|
2509
|
-
async def
|
|
2509
|
+
async def get_table_rows(
|
|
2510
2510
|
self,
|
|
2511
2511
|
*,
|
|
2512
2512
|
asset_id: str,
|
|
@@ -24,7 +24,7 @@ athena/base_client.py,sha256=9OfmXHlNIFE_4Udzxn0Ue-H-sC2ps0AIm8ZRyuaDwXA,6738
|
|
|
24
24
|
athena/client.py,sha256=lK3vVU3TF3YjPpiohpxcuRl8x_sSw8HmQ-uuDDeAT6I,22161
|
|
25
25
|
athena/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
26
26
|
athena/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
27
|
-
athena/core/client_wrapper.py,sha256=
|
|
27
|
+
athena/core/client_wrapper.py,sha256=CZNPAITFjyqBe0YR7Ps3bDMpB8ipQi6IZ3L2kYN3kTE,2392
|
|
28
28
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
29
29
|
athena/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
30
30
|
athena/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -64,8 +64,8 @@ athena/tools/email/client.py,sha256=dOidOOOLHdfz2c3nykzyOa7nTftS91d2_aws0LTg8DU,
|
|
|
64
64
|
athena/tools/email/raw_client.py,sha256=GkSxb-RFdhGgFNghnwH6i0cPI_gfWGLUmWvBNlBlhE4,9962
|
|
65
65
|
athena/tools/raw_client.py,sha256=iiAKpFTyBoYLzL5G0BCV6GM69NxCkksB_30XAAmyc24,53049
|
|
66
66
|
athena/tools/sheets/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
67
|
-
athena/tools/sheets/client.py,sha256=
|
|
68
|
-
athena/tools/sheets/raw_client.py,sha256=
|
|
67
|
+
athena/tools/sheets/client.py,sha256=eG8uWf5-cJC5vTDH4NBvwsJB6ljMj4JNAzGc7nfaZYQ,58607
|
|
68
|
+
athena/tools/sheets/raw_client.py,sha256=ULwZbn_Fqg8D62IYalIJ-SSYJKoycdLvzGUeGZf4aJc,95473
|
|
69
69
|
athena/tools/structured_data_extractor/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
70
70
|
athena/tools/structured_data_extractor/client.py,sha256=V1FcGZTPbrlz2d9oQZhsj3UIN1ZlZfnqRdDXj16xiPs,10623
|
|
71
71
|
athena/tools/structured_data_extractor/raw_client.py,sha256=1ZYZBssmf1jDomopeJ3PMRLql3zT4c7ssRNNLa1YrGE,11245
|
|
@@ -123,6 +123,6 @@ athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,
|
|
|
123
123
|
athena/types/thread_status_response_out.py,sha256=UuSAvs9woL1i8RwvVRKsFUufN4A9jO3jsV47YMckvQU,1219
|
|
124
124
|
athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
|
|
125
125
|
athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
|
|
126
|
-
athena_intelligence-0.1.
|
|
127
|
-
athena_intelligence-0.1.
|
|
128
|
-
athena_intelligence-0.1.
|
|
126
|
+
athena_intelligence-0.1.212.dist-info/METADATA,sha256=dsk2nguBxRB3NQASypenaIZNlwky9BqhO1UDun2sw0I,5440
|
|
127
|
+
athena_intelligence-0.1.212.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
128
|
+
athena_intelligence-0.1.212.dist-info/RECORD,,
|
|
File without changes
|