athena-intelligence 0.1.213__tar.gz → 0.1.215__tar.gz
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_intelligence-0.1.213 → athena_intelligence-0.1.215}/PKG-INFO +1 -1
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/pyproject.toml +1 -1
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/client_wrapper.py +2 -2
- athena_intelligence-0.1.215/src/athena/tools/__init__.py +17 -0
- athena_intelligence-0.1.215/src/athena/tools/sheets/__init__.py +7 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/client.py +15 -6
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/raw_client.py +30 -6
- athena_intelligence-0.1.215/src/athena/tools/sheets/types/__init__.py +7 -0
- athena_intelligence-0.1.215/src/athena/tools/sheets/types/insert_table_row_request_row_data_item_value.py +5 -0
- athena_intelligence-0.1.213/src/athena/tools/__init__.py +0 -8
- athena_intelligence-0.1.213/src/athena/tools/tasks/__init__.py +0 -4
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/README.md +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/force_multipart.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/http_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/pydantic_utilities.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/query_encoder.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/serialization.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/environment.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/bad_request_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/content_too_large_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/internal_server_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/not_found_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unauthorized_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unsupported_media_type_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/types/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/raw_client.py +0 -0
- {athena_intelligence-0.1.213/src/athena/tools/sheets → athena_intelligence-0.1.215/src/athena/tools/structured_data_extractor}/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/structured_data_extractor/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
- {athena_intelligence-0.1.213/src/athena/tools/structured_data_extractor → athena_intelligence-0.1.215/src/athena/tools/tasks}/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/raw_client.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/types/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/__init__.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_async_execute_response_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_execute_request_in.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_execute_response_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_content_request_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_node.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_not_found_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_screenshot_response_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_content_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_result.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_result_chunk_id.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/content.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/conversation_asset_info.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/create_new_sheet_tab_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/custom_agent_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_index_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_unknown_format_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/document_chunk.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/drive_agent_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/file_chunk_request_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/file_too_large_error.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/folder_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_config.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_request.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response_message.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/get_table_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/id.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/image_url_content.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/input_message.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/input_message_content_item.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/paginated_assets_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/prompt_message.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/public_asset_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/research_agent_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/save_asset_request_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/sheet_operation_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/sql_agent_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/structured_data_extractor_response.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/text_content.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/thread_status_response_out.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/type.py +0 -0
- {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/version.py +0 -0
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/client_wrapper.py
RENAMED
|
@@ -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
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from .types import ToolsDataFrameRequestColumnsItem
|
|
6
|
+
from . import calendar, email, sheets, structured_data_extractor, tasks
|
|
7
|
+
from .sheets import InsertTableRowRequestRowDataItemValue
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"InsertTableRowRequestRowDataItemValue",
|
|
11
|
+
"ToolsDataFrameRequestColumnsItem",
|
|
12
|
+
"calendar",
|
|
13
|
+
"email",
|
|
14
|
+
"sheets",
|
|
15
|
+
"structured_data_extractor",
|
|
16
|
+
"tasks",
|
|
17
|
+
]
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/client.py
RENAMED
|
@@ -8,6 +8,7 @@ from ...types.create_new_sheet_tab_response import CreateNewSheetTabResponse
|
|
|
8
8
|
from ...types.get_table_response import GetTableResponse
|
|
9
9
|
from ...types.sheet_operation_response import SheetOperationResponse
|
|
10
10
|
from .raw_client import AsyncRawSheetsClient, RawSheetsClient
|
|
11
|
+
from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
|
|
11
12
|
|
|
12
13
|
# this is used as the default value for optional parameters
|
|
13
14
|
OMIT = typing.cast(typing.Any, ...)
|
|
@@ -587,6 +588,7 @@ class SheetsClient:
|
|
|
587
588
|
self,
|
|
588
589
|
*,
|
|
589
590
|
asset_id: str,
|
|
591
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
590
592
|
sheet_id: typing.Optional[int] = OMIT,
|
|
591
593
|
request_options: typing.Optional[RequestOptions] = None,
|
|
592
594
|
) -> SheetOperationResponse:
|
|
@@ -598,6 +600,9 @@ class SheetsClient:
|
|
|
598
600
|
asset_id : str
|
|
599
601
|
The ID of the spreadsheet asset
|
|
600
602
|
|
|
603
|
+
new_sheet_id : typing.Optional[int]
|
|
604
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
605
|
+
|
|
601
606
|
sheet_id : typing.Optional[int]
|
|
602
607
|
Sheet ID to duplicate
|
|
603
608
|
|
|
@@ -621,7 +626,7 @@ class SheetsClient:
|
|
|
621
626
|
)
|
|
622
627
|
"""
|
|
623
628
|
_response = self._raw_client.duplicate_sheet(
|
|
624
|
-
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
|
|
625
630
|
)
|
|
626
631
|
return _response.data
|
|
627
632
|
|
|
@@ -935,7 +940,7 @@ class SheetsClient:
|
|
|
935
940
|
self,
|
|
936
941
|
*,
|
|
937
942
|
asset_id: str,
|
|
938
|
-
row_data: typing.Sequence[typing.Dict[str, typing.Optional[
|
|
943
|
+
row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
|
|
939
944
|
table_name: str,
|
|
940
945
|
table_id: typing.Optional[str] = OMIT,
|
|
941
946
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -948,7 +953,7 @@ class SheetsClient:
|
|
|
948
953
|
asset_id : str
|
|
949
954
|
The ID of the spreadsheet asset
|
|
950
955
|
|
|
951
|
-
row_data : typing.Sequence[typing.Dict[str, typing.Optional[
|
|
956
|
+
row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
|
|
952
957
|
Array of row objects where keys are column names and values are cell values
|
|
953
958
|
|
|
954
959
|
table_name : str
|
|
@@ -1714,6 +1719,7 @@ class AsyncSheetsClient:
|
|
|
1714
1719
|
self,
|
|
1715
1720
|
*,
|
|
1716
1721
|
asset_id: str,
|
|
1722
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
1717
1723
|
sheet_id: typing.Optional[int] = OMIT,
|
|
1718
1724
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1719
1725
|
) -> SheetOperationResponse:
|
|
@@ -1725,6 +1731,9 @@ class AsyncSheetsClient:
|
|
|
1725
1731
|
asset_id : str
|
|
1726
1732
|
The ID of the spreadsheet asset
|
|
1727
1733
|
|
|
1734
|
+
new_sheet_id : typing.Optional[int]
|
|
1735
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
1736
|
+
|
|
1728
1737
|
sheet_id : typing.Optional[int]
|
|
1729
1738
|
Sheet ID to duplicate
|
|
1730
1739
|
|
|
@@ -1756,7 +1765,7 @@ class AsyncSheetsClient:
|
|
|
1756
1765
|
asyncio.run(main())
|
|
1757
1766
|
"""
|
|
1758
1767
|
_response = await self._raw_client.duplicate_sheet(
|
|
1759
|
-
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
|
|
1760
1769
|
)
|
|
1761
1770
|
return _response.data
|
|
1762
1771
|
|
|
@@ -2110,7 +2119,7 @@ class AsyncSheetsClient:
|
|
|
2110
2119
|
self,
|
|
2111
2120
|
*,
|
|
2112
2121
|
asset_id: str,
|
|
2113
|
-
row_data: typing.Sequence[typing.Dict[str, typing.Optional[
|
|
2122
|
+
row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
|
|
2114
2123
|
table_name: str,
|
|
2115
2124
|
table_id: typing.Optional[str] = OMIT,
|
|
2116
2125
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -2123,7 +2132,7 @@ class AsyncSheetsClient:
|
|
|
2123
2132
|
asset_id : str
|
|
2124
2133
|
The ID of the spreadsheet asset
|
|
2125
2134
|
|
|
2126
|
-
row_data : typing.Sequence[typing.Dict[str, typing.Optional[
|
|
2135
|
+
row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
|
|
2127
2136
|
Array of row objects where keys are column names and values are cell values
|
|
2128
2137
|
|
|
2129
2138
|
table_name : str
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/raw_client.py
RENAMED
|
@@ -8,10 +8,12 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
|
8
8
|
from ...core.http_response import AsyncHttpResponse, HttpResponse
|
|
9
9
|
from ...core.pydantic_utilities import parse_obj_as
|
|
10
10
|
from ...core.request_options import RequestOptions
|
|
11
|
+
from ...core.serialization import convert_and_respect_annotation_metadata
|
|
11
12
|
from ...errors.unprocessable_entity_error import UnprocessableEntityError
|
|
12
13
|
from ...types.create_new_sheet_tab_response import CreateNewSheetTabResponse
|
|
13
14
|
from ...types.get_table_response import GetTableResponse
|
|
14
15
|
from ...types.sheet_operation_response import SheetOperationResponse
|
|
16
|
+
from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
|
|
15
17
|
|
|
16
18
|
# this is used as the default value for optional parameters
|
|
17
19
|
OMIT = typing.cast(typing.Any, ...)
|
|
@@ -750,6 +752,7 @@ class RawSheetsClient:
|
|
|
750
752
|
self,
|
|
751
753
|
*,
|
|
752
754
|
asset_id: str,
|
|
755
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
753
756
|
sheet_id: typing.Optional[int] = OMIT,
|
|
754
757
|
request_options: typing.Optional[RequestOptions] = None,
|
|
755
758
|
) -> HttpResponse[SheetOperationResponse]:
|
|
@@ -761,6 +764,9 @@ class RawSheetsClient:
|
|
|
761
764
|
asset_id : str
|
|
762
765
|
The ID of the spreadsheet asset
|
|
763
766
|
|
|
767
|
+
new_sheet_id : typing.Optional[int]
|
|
768
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
769
|
+
|
|
764
770
|
sheet_id : typing.Optional[int]
|
|
765
771
|
Sheet ID to duplicate
|
|
766
772
|
|
|
@@ -777,6 +783,7 @@ class RawSheetsClient:
|
|
|
777
783
|
method="POST",
|
|
778
784
|
json={
|
|
779
785
|
"asset_id": asset_id,
|
|
786
|
+
"new_sheet_id": new_sheet_id,
|
|
780
787
|
"sheet_id": sheet_id,
|
|
781
788
|
},
|
|
782
789
|
headers={
|
|
@@ -1215,7 +1222,7 @@ class RawSheetsClient:
|
|
|
1215
1222
|
self,
|
|
1216
1223
|
*,
|
|
1217
1224
|
asset_id: str,
|
|
1218
|
-
row_data: typing.Sequence[typing.Dict[str, typing.Optional[
|
|
1225
|
+
row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
|
|
1219
1226
|
table_name: str,
|
|
1220
1227
|
table_id: typing.Optional[str] = OMIT,
|
|
1221
1228
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -1228,7 +1235,7 @@ class RawSheetsClient:
|
|
|
1228
1235
|
asset_id : str
|
|
1229
1236
|
The ID of the spreadsheet asset
|
|
1230
1237
|
|
|
1231
|
-
row_data : typing.Sequence[typing.Dict[str, typing.Optional[
|
|
1238
|
+
row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
|
|
1232
1239
|
Array of row objects where keys are column names and values are cell values
|
|
1233
1240
|
|
|
1234
1241
|
table_name : str
|
|
@@ -1250,7 +1257,13 @@ class RawSheetsClient:
|
|
|
1250
1257
|
method="POST",
|
|
1251
1258
|
json={
|
|
1252
1259
|
"asset_id": asset_id,
|
|
1253
|
-
"row_data":
|
|
1260
|
+
"row_data": convert_and_respect_annotation_metadata(
|
|
1261
|
+
object_=row_data,
|
|
1262
|
+
annotation=typing.Sequence[
|
|
1263
|
+
typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]
|
|
1264
|
+
],
|
|
1265
|
+
direction="write",
|
|
1266
|
+
),
|
|
1254
1267
|
"table_id": table_id,
|
|
1255
1268
|
"table_name": table_name,
|
|
1256
1269
|
},
|
|
@@ -2115,6 +2128,7 @@ class AsyncRawSheetsClient:
|
|
|
2115
2128
|
self,
|
|
2116
2129
|
*,
|
|
2117
2130
|
asset_id: str,
|
|
2131
|
+
new_sheet_id: typing.Optional[int] = OMIT,
|
|
2118
2132
|
sheet_id: typing.Optional[int] = OMIT,
|
|
2119
2133
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2120
2134
|
) -> AsyncHttpResponse[SheetOperationResponse]:
|
|
@@ -2126,6 +2140,9 @@ class AsyncRawSheetsClient:
|
|
|
2126
2140
|
asset_id : str
|
|
2127
2141
|
The ID of the spreadsheet asset
|
|
2128
2142
|
|
|
2143
|
+
new_sheet_id : typing.Optional[int]
|
|
2144
|
+
New sheet ID for the duplicated sheet (auto-generated if not provided)
|
|
2145
|
+
|
|
2129
2146
|
sheet_id : typing.Optional[int]
|
|
2130
2147
|
Sheet ID to duplicate
|
|
2131
2148
|
|
|
@@ -2142,6 +2159,7 @@ class AsyncRawSheetsClient:
|
|
|
2142
2159
|
method="POST",
|
|
2143
2160
|
json={
|
|
2144
2161
|
"asset_id": asset_id,
|
|
2162
|
+
"new_sheet_id": new_sheet_id,
|
|
2145
2163
|
"sheet_id": sheet_id,
|
|
2146
2164
|
},
|
|
2147
2165
|
headers={
|
|
@@ -2580,7 +2598,7 @@ class AsyncRawSheetsClient:
|
|
|
2580
2598
|
self,
|
|
2581
2599
|
*,
|
|
2582
2600
|
asset_id: str,
|
|
2583
|
-
row_data: typing.Sequence[typing.Dict[str, typing.Optional[
|
|
2601
|
+
row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
|
|
2584
2602
|
table_name: str,
|
|
2585
2603
|
table_id: typing.Optional[str] = OMIT,
|
|
2586
2604
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -2593,7 +2611,7 @@ class AsyncRawSheetsClient:
|
|
|
2593
2611
|
asset_id : str
|
|
2594
2612
|
The ID of the spreadsheet asset
|
|
2595
2613
|
|
|
2596
|
-
row_data : typing.Sequence[typing.Dict[str, typing.Optional[
|
|
2614
|
+
row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
|
|
2597
2615
|
Array of row objects where keys are column names and values are cell values
|
|
2598
2616
|
|
|
2599
2617
|
table_name : str
|
|
@@ -2615,7 +2633,13 @@ class AsyncRawSheetsClient:
|
|
|
2615
2633
|
method="POST",
|
|
2616
2634
|
json={
|
|
2617
2635
|
"asset_id": asset_id,
|
|
2618
|
-
"row_data":
|
|
2636
|
+
"row_data": convert_and_respect_annotation_metadata(
|
|
2637
|
+
object_=row_data,
|
|
2638
|
+
annotation=typing.Sequence[
|
|
2639
|
+
typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]
|
|
2640
|
+
],
|
|
2641
|
+
direction="write",
|
|
2642
|
+
),
|
|
2619
2643
|
"table_id": table_id,
|
|
2620
2644
|
"table_name": table_name,
|
|
2621
2645
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
# isort: skip_file
|
|
4
|
-
|
|
5
|
-
from .types import ToolsDataFrameRequestColumnsItem
|
|
6
|
-
from . import calendar, email, sheets, structured_data_extractor, tasks
|
|
7
|
-
|
|
8
|
-
__all__ = ["ToolsDataFrameRequestColumnsItem", "calendar", "email", "sheets", "structured_data_extractor", "tasks"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/__init__.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/raw_client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/__init__.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/raw_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/__init__.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/raw_client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/raw_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/datetime_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/force_multipart.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/http_response.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/jsonable_encoder.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/pydantic_utilities.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/query_encoder.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/remove_none_from_dict.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/request_options.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/serialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/bad_request_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/not_found_error.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unauthorized_error.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/types/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/raw_client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/__init__.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/raw_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/__init__.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/raw_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/raw_client.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/types/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_content_item.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_result.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/document_chunk.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/drive_agent_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/file_too_large_error.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/folder_response.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/get_table_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/image_url_content.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/input_message.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/paginated_assets_out.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/prompt_message.py
RENAMED
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/public_asset_out.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/sql_agent_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/text_content.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|