athena-intelligence 0.1.214__py3-none-any.whl → 0.1.215__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 +10 -2
- athena/tools/sheets/raw_client.py +10 -0
- {athena_intelligence-0.1.214.dist-info → athena_intelligence-0.1.215.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.214.dist-info → athena_intelligence-0.1.215.dist-info}/RECORD +6 -6
- {athena_intelligence-0.1.214.dist-info → athena_intelligence-0.1.215.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.215",
|
|
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.215",
|
|
29
29
|
**(self.get_custom_headers() or {}),
|
|
30
30
|
}
|
|
31
31
|
headers["X-API-KEY"] = self.api_key
|
athena/tools/sheets/client.py
CHANGED
|
@@ -588,6 +588,7 @@ class SheetsClient:
|
|
|
588
588
|
self,
|
|
589
589
|
*,
|
|
590
590
|
asset_id: str,
|
|
591
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
591
592
|
sheet_id: typing.Optional[int] = OMIT,
|
|
592
593
|
request_options: typing.Optional[RequestOptions] = None,
|
|
593
594
|
) -> SheetOperationResponse:
|
|
@@ -599,6 +600,9 @@ class SheetsClient:
|
|
|
599
600
|
asset_id : str
|
|
600
601
|
The ID of the spreadsheet asset
|
|
601
602
|
|
|
603
|
+
new_sheet_id : typing.Optional[int]
|
|
604
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
605
|
+
|
|
602
606
|
sheet_id : typing.Optional[int]
|
|
603
607
|
Sheet ID to duplicate
|
|
604
608
|
|
|
@@ -622,7 +626,7 @@ class SheetsClient:
|
|
|
622
626
|
)
|
|
623
627
|
"""
|
|
624
628
|
_response = self._raw_client.duplicate_sheet(
|
|
625
|
-
asset_id=asset_id, sheet_id=sheet_id, request_options=request_options
|
|
629
|
+
asset_id=asset_id, new_sheet_id=new_sheet_id, sheet_id=sheet_id, request_options=request_options
|
|
626
630
|
)
|
|
627
631
|
return _response.data
|
|
628
632
|
|
|
@@ -1715,6 +1719,7 @@ class AsyncSheetsClient:
|
|
|
1715
1719
|
self,
|
|
1716
1720
|
*,
|
|
1717
1721
|
asset_id: str,
|
|
1722
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
1718
1723
|
sheet_id: typing.Optional[int] = OMIT,
|
|
1719
1724
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1720
1725
|
) -> SheetOperationResponse:
|
|
@@ -1726,6 +1731,9 @@ class AsyncSheetsClient:
|
|
|
1726
1731
|
asset_id : str
|
|
1727
1732
|
The ID of the spreadsheet asset
|
|
1728
1733
|
|
|
1734
|
+
new_sheet_id : typing.Optional[int]
|
|
1735
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
1736
|
+
|
|
1729
1737
|
sheet_id : typing.Optional[int]
|
|
1730
1738
|
Sheet ID to duplicate
|
|
1731
1739
|
|
|
@@ -1757,7 +1765,7 @@ class AsyncSheetsClient:
|
|
|
1757
1765
|
asyncio.run(main())
|
|
1758
1766
|
"""
|
|
1759
1767
|
_response = await self._raw_client.duplicate_sheet(
|
|
1760
|
-
asset_id=asset_id, sheet_id=sheet_id, request_options=request_options
|
|
1768
|
+
asset_id=asset_id, new_sheet_id=new_sheet_id, sheet_id=sheet_id, request_options=request_options
|
|
1761
1769
|
)
|
|
1762
1770
|
return _response.data
|
|
1763
1771
|
|
|
@@ -752,6 +752,7 @@ class RawSheetsClient:
|
|
|
752
752
|
self,
|
|
753
753
|
*,
|
|
754
754
|
asset_id: str,
|
|
755
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
755
756
|
sheet_id: typing.Optional[int] = OMIT,
|
|
756
757
|
request_options: typing.Optional[RequestOptions] = None,
|
|
757
758
|
) -> HttpResponse[SheetOperationResponse]:
|
|
@@ -763,6 +764,9 @@ class RawSheetsClient:
|
|
|
763
764
|
asset_id : str
|
|
764
765
|
The ID of the spreadsheet asset
|
|
765
766
|
|
|
767
|
+
new_sheet_id : typing.Optional[int]
|
|
768
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
769
|
+
|
|
766
770
|
sheet_id : typing.Optional[int]
|
|
767
771
|
Sheet ID to duplicate
|
|
768
772
|
|
|
@@ -779,6 +783,7 @@ class RawSheetsClient:
|
|
|
779
783
|
method="POST",
|
|
780
784
|
json={
|
|
781
785
|
"asset_id": asset_id,
|
|
786
|
+
"new_sheet_id": new_sheet_id,
|
|
782
787
|
"sheet_id": sheet_id,
|
|
783
788
|
},
|
|
784
789
|
headers={
|
|
@@ -2123,6 +2128,7 @@ class AsyncRawSheetsClient:
|
|
|
2123
2128
|
self,
|
|
2124
2129
|
*,
|
|
2125
2130
|
asset_id: str,
|
|
2131
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
2126
2132
|
sheet_id: typing.Optional[int] = OMIT,
|
|
2127
2133
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2128
2134
|
) -> AsyncHttpResponse[SheetOperationResponse]:
|
|
@@ -2134,6 +2140,9 @@ class AsyncRawSheetsClient:
|
|
|
2134
2140
|
asset_id : str
|
|
2135
2141
|
The ID of the spreadsheet asset
|
|
2136
2142
|
|
|
2143
|
+
new_sheet_id : typing.Optional[int]
|
|
2144
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
2145
|
+
|
|
2137
2146
|
sheet_id : typing.Optional[int]
|
|
2138
2147
|
Sheet ID to duplicate
|
|
2139
2148
|
|
|
@@ -2150,6 +2159,7 @@ class AsyncRawSheetsClient:
|
|
|
2150
2159
|
method="POST",
|
|
2151
2160
|
json={
|
|
2152
2161
|
"asset_id": asset_id,
|
|
2162
|
+
"new_sheet_id": new_sheet_id,
|
|
2153
2163
|
"sheet_id": sheet_id,
|
|
2154
2164
|
},
|
|
2155
2165
|
headers={
|
|
@@ -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=m01hmwhkUZkU9WEjWpVhZc0KmsP-xnUmKQEqRW6KEPg,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=vxLg5xXUBSXe3GY09QR-m_5T-Poi9r_9of8Q4sFrSgI,195
|
|
67
|
-
athena/tools/sheets/client.py,sha256=
|
|
68
|
-
athena/tools/sheets/raw_client.py,sha256=
|
|
67
|
+
athena/tools/sheets/client.py,sha256=gUs2sykjdhm4__c8dde0Qd5mfkU5ntIOXDciT1S6AWQ,59223
|
|
68
|
+
athena/tools/sheets/raw_client.py,sha256=4XNwDwMZtoUzbBIZhBTi1odPpqRtzCvIvzmdFUTCZdM,96723
|
|
69
69
|
athena/tools/sheets/types/__init__.py,sha256=6REU5mirjPqkpLFUQ_ZvQrypqCjisoWi3wQbHZF5krM,234
|
|
70
70
|
athena/tools/sheets/types/insert_table_row_request_row_data_item_value.py,sha256=B-ZBD4ma6DlXrGUH2rxJbB9BqHKXQ7vfs2t5mot4pCM,156
|
|
71
71
|
athena/tools/structured_data_extractor/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
@@ -125,6 +125,6 @@ athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,
|
|
|
125
125
|
athena/types/thread_status_response_out.py,sha256=UuSAvs9woL1i8RwvVRKsFUufN4A9jO3jsV47YMckvQU,1219
|
|
126
126
|
athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
|
|
127
127
|
athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
|
|
128
|
-
athena_intelligence-0.1.
|
|
129
|
-
athena_intelligence-0.1.
|
|
130
|
-
athena_intelligence-0.1.
|
|
128
|
+
athena_intelligence-0.1.215.dist-info/METADATA,sha256=5rPFMT-3ptBdQBNd5Jv7FIq8RqGRyNXLtstxI7MkyZE,5440
|
|
129
|
+
athena_intelligence-0.1.215.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
130
|
+
athena_intelligence-0.1.215.dist-info/RECORD,,
|
|
File without changes
|