athena-intelligence 0.1.197__py3-none-any.whl → 0.1.198__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/__init__.py +4 -0
- athena/core/client_wrapper.py +2 -2
- athena/tools/__init__.py +2 -2
- athena/tools/client.py +5 -0
- athena/tools/sheets/__init__.py +4 -0
- athena/tools/sheets/client.py +1918 -0
- athena/tools/sheets/raw_client.py +2306 -0
- athena/types/__init__.py +4 -0
- athena/types/create_new_sheet_tab_response.py +37 -0
- athena/types/sheet_operation_response.py +32 -0
- {athena_intelligence-0.1.197.dist-info → athena_intelligence-0.1.198.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.197.dist-info → athena_intelligence-0.1.198.dist-info}/RECORD +13 -8
- {athena_intelligence-0.1.197.dist-info → athena_intelligence-0.1.198.dist-info}/WHEEL +0 -0
athena/__init__.py
CHANGED
@@ -14,6 +14,7 @@ from .types import (
|
|
14
14
|
ChunkResult,
|
15
15
|
ChunkResultChunkId,
|
16
16
|
Content,
|
17
|
+
CreateNewSheetTabResponse,
|
17
18
|
CustomAgentResponse,
|
18
19
|
DataFrameRequestOut,
|
19
20
|
DataFrameRequestOutColumnsItem,
|
@@ -43,6 +44,7 @@ from .types import (
|
|
43
44
|
PublicAssetOut,
|
44
45
|
ResearchAgentResponse,
|
45
46
|
SaveAssetRequestOut,
|
47
|
+
SheetOperationResponse,
|
46
48
|
SqlAgentResponse,
|
47
49
|
StructuredDataExtractorResponse,
|
48
50
|
TextContent,
|
@@ -81,6 +83,7 @@ __all__ = [
|
|
81
83
|
"ChunkResultChunkId",
|
82
84
|
"Content",
|
83
85
|
"ContentTooLargeError",
|
86
|
+
"CreateNewSheetTabResponse",
|
84
87
|
"CustomAgentResponse",
|
85
88
|
"DataFrameRequestOut",
|
86
89
|
"DataFrameRequestOutColumnsItem",
|
@@ -113,6 +116,7 @@ __all__ = [
|
|
113
116
|
"QueryExecuteRequestDatabaseAssetIds",
|
114
117
|
"ResearchAgentResponse",
|
115
118
|
"SaveAssetRequestOut",
|
119
|
+
"SheetOperationResponse",
|
116
120
|
"SqlAgentResponse",
|
117
121
|
"StructuredDataExtractorResponse",
|
118
122
|
"TextContent",
|
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.198",
|
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.198",
|
29
29
|
**(self.get_custom_headers() or {}),
|
30
30
|
}
|
31
31
|
headers["X-API-KEY"] = self.api_key
|
athena/tools/__init__.py
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
# isort: skip_file
|
4
4
|
|
5
5
|
from .types import ToolsDataFrameRequestColumnsItem
|
6
|
-
from . import calendar, email, structured_data_extractor, tasks
|
6
|
+
from . import calendar, email, sheets, structured_data_extractor, tasks
|
7
7
|
|
8
|
-
__all__ = ["ToolsDataFrameRequestColumnsItem", "calendar", "email", "structured_data_extractor", "tasks"]
|
8
|
+
__all__ = ["ToolsDataFrameRequestColumnsItem", "calendar", "email", "sheets", "structured_data_extractor", "tasks"]
|
athena/tools/client.py
CHANGED
@@ -14,6 +14,7 @@ from ..types.save_asset_request_out import SaveAssetRequestOut
|
|
14
14
|
from .calendar.client import AsyncCalendarClient, CalendarClient
|
15
15
|
from .email.client import AsyncEmailClient, EmailClient
|
16
16
|
from .raw_client import AsyncRawToolsClient, RawToolsClient
|
17
|
+
from .sheets.client import AsyncSheetsClient, SheetsClient
|
17
18
|
from .structured_data_extractor.client import AsyncStructuredDataExtractorClient, StructuredDataExtractorClient
|
18
19
|
from .tasks.client import AsyncTasksClient, TasksClient
|
19
20
|
from .types.tools_data_frame_request_columns_item import ToolsDataFrameRequestColumnsItem
|
@@ -29,6 +30,8 @@ class ToolsClient:
|
|
29
30
|
|
30
31
|
self.email = EmailClient(client_wrapper=client_wrapper)
|
31
32
|
|
33
|
+
self.sheets = SheetsClient(client_wrapper=client_wrapper)
|
34
|
+
|
32
35
|
self.structured_data_extractor = StructuredDataExtractorClient(client_wrapper=client_wrapper)
|
33
36
|
|
34
37
|
self.tasks = TasksClient(client_wrapper=client_wrapper)
|
@@ -328,6 +331,8 @@ class AsyncToolsClient:
|
|
328
331
|
|
329
332
|
self.email = AsyncEmailClient(client_wrapper=client_wrapper)
|
330
333
|
|
334
|
+
self.sheets = AsyncSheetsClient(client_wrapper=client_wrapper)
|
335
|
+
|
331
336
|
self.structured_data_extractor = AsyncStructuredDataExtractorClient(client_wrapper=client_wrapper)
|
332
337
|
|
333
338
|
self.tasks = AsyncTasksClient(client_wrapper=client_wrapper)
|