athena-intelligence 0.1.228__tar.gz → 0.1.230__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.

Files changed (132) hide show
  1. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/__init__.py +2 -0
  4. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/client_wrapper.py +2 -2
  5. athena_intelligence-0.1.230/src/athena/tools/__init__.py +8 -0
  6. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/sheets/client.py +7 -7
  7. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/sheets/raw_client.py +7 -20
  8. athena_intelligence-0.1.230/src/athena/tools/tasks/__init__.py +4 -0
  9. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/__init__.py +2 -0
  10. athena_intelligence-0.1.230/src/athena/types/table_row_data.py +5 -0
  11. athena_intelligence-0.1.228/src/athena/tools/__init__.py +0 -17
  12. athena_intelligence-0.1.228/src/athena/tools/sheets/__init__.py +0 -7
  13. athena_intelligence-0.1.228/src/athena/tools/sheets/types/__init__.py +0 -7
  14. athena_intelligence-0.1.228/src/athena/tools/sheets/types/insert_table_row_request_row_data_item_value.py +0 -5
  15. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/README.md +0 -0
  16. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/__init__.py +0 -0
  17. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/client.py +0 -0
  18. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/drive/__init__.py +0 -0
  19. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/drive/client.py +0 -0
  20. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/drive/raw_client.py +0 -0
  21. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/general/__init__.py +0 -0
  22. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/general/client.py +0 -0
  23. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/general/raw_client.py +0 -0
  24. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/raw_client.py +0 -0
  25. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/research/__init__.py +0 -0
  26. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/research/client.py +0 -0
  27. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/research/raw_client.py +0 -0
  28. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/sql/__init__.py +0 -0
  29. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/sql/client.py +0 -0
  30. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/agents/sql/raw_client.py +0 -0
  31. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/aop/__init__.py +0 -0
  32. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/aop/client.py +0 -0
  33. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/aop/raw_client.py +0 -0
  34. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/assets/__init__.py +0 -0
  35. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/assets/client.py +0 -0
  36. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/assets/raw_client.py +0 -0
  37. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/base_client.py +0 -0
  38. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/client.py +0 -0
  39. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/__init__.py +0 -0
  40. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/api_error.py +0 -0
  41. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/datetime_utils.py +0 -0
  42. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/file.py +0 -0
  43. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/force_multipart.py +0 -0
  44. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/http_client.py +0 -0
  45. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/http_response.py +0 -0
  46. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/jsonable_encoder.py +0 -0
  47. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/pydantic_utilities.py +0 -0
  48. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/query_encoder.py +0 -0
  49. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/remove_none_from_dict.py +0 -0
  50. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/request_options.py +0 -0
  51. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/core/serialization.py +0 -0
  52. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/environment.py +0 -0
  53. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/__init__.py +0 -0
  54. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/bad_request_error.py +0 -0
  55. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/content_too_large_error.py +0 -0
  56. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/internal_server_error.py +0 -0
  57. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/not_found_error.py +0 -0
  58. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/unauthorized_error.py +0 -0
  59. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/unprocessable_entity_error.py +0 -0
  60. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/errors/unsupported_media_type_error.py +0 -0
  61. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/py.typed +0 -0
  62. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/query/__init__.py +0 -0
  63. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/query/client.py +0 -0
  64. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/query/raw_client.py +0 -0
  65. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/query/types/__init__.py +0 -0
  66. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
  67. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/threads/__init__.py +0 -0
  68. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/threads/client.py +0 -0
  69. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/threads/raw_client.py +0 -0
  70. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/calendar/__init__.py +0 -0
  71. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/calendar/client.py +0 -0
  72. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/calendar/raw_client.py +0 -0
  73. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/client.py +0 -0
  74. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/email/__init__.py +0 -0
  75. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/email/client.py +0 -0
  76. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/email/raw_client.py +0 -0
  77. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/raw_client.py +0 -0
  78. {athena_intelligence-0.1.228/src/athena/tools/structured_data_extractor → athena_intelligence-0.1.230/src/athena/tools/sheets}/__init__.py +0 -0
  79. {athena_intelligence-0.1.228/src/athena/tools/tasks → athena_intelligence-0.1.230/src/athena/tools/structured_data_extractor}/__init__.py +0 -0
  80. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/structured_data_extractor/client.py +0 -0
  81. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
  82. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/tasks/client.py +0 -0
  83. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/tasks/raw_client.py +0 -0
  84. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/types/__init__.py +0 -0
  85. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
  86. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/aop_async_execute_response_out.py +0 -0
  87. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/aop_execute_request_in.py +0 -0
  88. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/aop_execute_response_out.py +0 -0
  89. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/asset_content_request_out.py +0 -0
  90. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/asset_node.py +0 -0
  91. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/asset_screenshot_response_out.py +0 -0
  92. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/chunk.py +0 -0
  93. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/chunk_content_item.py +0 -0
  94. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/chunk_result.py +0 -0
  95. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/chunk_result_chunk_id.py +0 -0
  96. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/content.py +0 -0
  97. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/conversation_asset_info.py +0 -0
  98. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/create_new_sheet_tab_response.py +0 -0
  99. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/custom_agent_response.py +0 -0
  100. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/data_frame_request_out.py +0 -0
  101. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
  102. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
  103. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/data_frame_request_out_index_item.py +0 -0
  104. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/data_frame_unknown_format_error.py +0 -0
  105. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/document_chunk.py +0 -0
  106. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/drive_agent_response.py +0 -0
  107. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/file_chunk_request_out.py +0 -0
  108. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/file_too_large_error.py +0 -0
  109. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/folder_response.py +0 -0
  110. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_config.py +0 -0
  111. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
  112. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_request.py +0 -0
  113. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_response.py +0 -0
  114. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_response_message.py +0 -0
  115. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
  116. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/get_table_response.py +0 -0
  117. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/id.py +0 -0
  118. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/image_url_content.py +0 -0
  119. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/input_message.py +0 -0
  120. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/input_message_content_item.py +0 -0
  121. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/paginated_assets_out.py +0 -0
  122. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/prompt_message.py +0 -0
  123. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/public_asset_out.py +0 -0
  124. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/research_agent_response.py +0 -0
  125. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/save_asset_request_out.py +0 -0
  126. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/sheet_operation_response.py +0 -0
  127. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/sql_agent_response.py +0 -0
  128. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/structured_data_extractor_response.py +0 -0
  129. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/text_content.py +0 -0
  130. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/thread_status_response_out.py +0 -0
  131. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/types/type.py +0 -0
  132. {athena_intelligence-0.1.228 → athena_intelligence-0.1.230}/src/athena/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.228
3
+ Version: 0.1.230
4
4
  Summary: Athena Intelligence Python Library
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ name = "athena-intelligence"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "athena-intelligence"
6
- version = "0.1.228"
6
+ version = "0.1.230"
7
7
  description = "Athena Intelligence Python Library"
8
8
  readme = "README.md"
9
9
  authors = []
@@ -50,6 +50,7 @@ from .types import (
50
50
  SheetOperationResponse,
51
51
  SqlAgentResponse,
52
52
  StructuredDataExtractorResponse,
53
+ TableRowData,
53
54
  TextContent,
54
55
  ThreadStatusResponseOut,
55
56
  Type,
@@ -126,6 +127,7 @@ __all__ = [
126
127
  "SheetOperationResponse",
127
128
  "SqlAgentResponse",
128
129
  "StructuredDataExtractorResponse",
130
+ "TableRowData",
129
131
  "TextContent",
130
132
  "ThreadStatusResponseOut",
131
133
  "ToolsDataFrameRequestColumnsItem",
@@ -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.228",
25
+ "User-Agent": "athena-intelligence/0.1.230",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.228",
28
+ "X-Fern-SDK-Version": "0.1.230",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
@@ -0,0 +1,8 @@
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"]
@@ -7,8 +7,8 @@ from ...core.request_options import RequestOptions
7
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
+ from ...types.table_row_data import TableRowData
10
11
  from .raw_client import AsyncRawSheetsClient, RawSheetsClient
11
- from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
12
12
 
13
13
  # this is used as the default value for optional parameters
14
14
  OMIT = typing.cast(typing.Any, ...)
@@ -940,7 +940,7 @@ class SheetsClient:
940
940
  self,
941
941
  *,
942
942
  asset_id: str,
943
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
943
+ row_data: typing.Sequence[TableRowData],
944
944
  table_name: str,
945
945
  table_id: typing.Optional[str] = OMIT,
946
946
  request_options: typing.Optional[RequestOptions] = None,
@@ -953,7 +953,7 @@ class SheetsClient:
953
953
  asset_id : str
954
954
  The ID of the spreadsheet asset
955
955
 
956
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
956
+ row_data : typing.Sequence[TableRowData]
957
957
  Array of row objects where keys are column names and values are cell values
958
958
 
959
959
  table_name : str
@@ -979,7 +979,7 @@ class SheetsClient:
979
979
  )
980
980
  client.tools.sheets.insert_table_row(
981
981
  asset_id="asset_id",
982
- row_data=[{}],
982
+ row_data=[{"key": "value"}],
983
983
  table_name="table_name",
984
984
  )
985
985
  """
@@ -2119,7 +2119,7 @@ class AsyncSheetsClient:
2119
2119
  self,
2120
2120
  *,
2121
2121
  asset_id: str,
2122
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
2122
+ row_data: typing.Sequence[TableRowData],
2123
2123
  table_name: str,
2124
2124
  table_id: typing.Optional[str] = OMIT,
2125
2125
  request_options: typing.Optional[RequestOptions] = None,
@@ -2132,7 +2132,7 @@ class AsyncSheetsClient:
2132
2132
  asset_id : str
2133
2133
  The ID of the spreadsheet asset
2134
2134
 
2135
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
2135
+ row_data : typing.Sequence[TableRowData]
2136
2136
  Array of row objects where keys are column names and values are cell values
2137
2137
 
2138
2138
  table_name : str
@@ -2163,7 +2163,7 @@ class AsyncSheetsClient:
2163
2163
  async def main() -> None:
2164
2164
  await client.tools.sheets.insert_table_row(
2165
2165
  asset_id="asset_id",
2166
- row_data=[{}],
2166
+ row_data=[{"key": "value"}],
2167
2167
  table_name="table_name",
2168
2168
  )
2169
2169
 
@@ -8,12 +8,11 @@ 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
12
11
  from ...errors.unprocessable_entity_error import UnprocessableEntityError
13
12
  from ...types.create_new_sheet_tab_response import CreateNewSheetTabResponse
14
13
  from ...types.get_table_response import GetTableResponse
15
14
  from ...types.sheet_operation_response import SheetOperationResponse
16
- from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
15
+ from ...types.table_row_data import TableRowData
17
16
 
18
17
  # this is used as the default value for optional parameters
19
18
  OMIT = typing.cast(typing.Any, ...)
@@ -1222,7 +1221,7 @@ class RawSheetsClient:
1222
1221
  self,
1223
1222
  *,
1224
1223
  asset_id: str,
1225
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
1224
+ row_data: typing.Sequence[TableRowData],
1226
1225
  table_name: str,
1227
1226
  table_id: typing.Optional[str] = OMIT,
1228
1227
  request_options: typing.Optional[RequestOptions] = None,
@@ -1235,7 +1234,7 @@ class RawSheetsClient:
1235
1234
  asset_id : str
1236
1235
  The ID of the spreadsheet asset
1237
1236
 
1238
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
1237
+ row_data : typing.Sequence[TableRowData]
1239
1238
  Array of row objects where keys are column names and values are cell values
1240
1239
 
1241
1240
  table_name : str
@@ -1257,13 +1256,7 @@ class RawSheetsClient:
1257
1256
  method="POST",
1258
1257
  json={
1259
1258
  "asset_id": asset_id,
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
- ),
1259
+ "row_data": row_data,
1267
1260
  "table_id": table_id,
1268
1261
  "table_name": table_name,
1269
1262
  },
@@ -2598,7 +2591,7 @@ class AsyncRawSheetsClient:
2598
2591
  self,
2599
2592
  *,
2600
2593
  asset_id: str,
2601
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
2594
+ row_data: typing.Sequence[TableRowData],
2602
2595
  table_name: str,
2603
2596
  table_id: typing.Optional[str] = OMIT,
2604
2597
  request_options: typing.Optional[RequestOptions] = None,
@@ -2611,7 +2604,7 @@ class AsyncRawSheetsClient:
2611
2604
  asset_id : str
2612
2605
  The ID of the spreadsheet asset
2613
2606
 
2614
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
2607
+ row_data : typing.Sequence[TableRowData]
2615
2608
  Array of row objects where keys are column names and values are cell values
2616
2609
 
2617
2610
  table_name : str
@@ -2633,13 +2626,7 @@ class AsyncRawSheetsClient:
2633
2626
  method="POST",
2634
2627
  json={
2635
2628
  "asset_id": asset_id,
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
- ),
2629
+ "row_data": row_data,
2643
2630
  "table_id": table_id,
2644
2631
  "table_name": table_name,
2645
2632
  },
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
@@ -49,6 +49,7 @@ from .save_asset_request_out import SaveAssetRequestOut
49
49
  from .sheet_operation_response import SheetOperationResponse
50
50
  from .sql_agent_response import SqlAgentResponse
51
51
  from .structured_data_extractor_response import StructuredDataExtractorResponse
52
+ from .table_row_data import TableRowData
52
53
  from .text_content import TextContent
53
54
  from .thread_status_response_out import ThreadStatusResponseOut
54
55
  from .type import Type
@@ -101,6 +102,7 @@ __all__ = [
101
102
  "SheetOperationResponse",
102
103
  "SqlAgentResponse",
103
104
  "StructuredDataExtractorResponse",
105
+ "TableRowData",
104
106
  "TextContent",
105
107
  "ThreadStatusResponseOut",
106
108
  "Type",
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ TableRowData = typing.Dict[str, typing.Optional[typing.Any]]
@@ -1,17 +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
- from .sheets import InsertTableRowRequestRowDataItemValue
8
-
9
- __all__ = [
10
- "InsertTableRowRequestRowDataItemValue",
11
- "ToolsDataFrameRequestColumnsItem",
12
- "calendar",
13
- "email",
14
- "sheets",
15
- "structured_data_extractor",
16
- "tasks",
17
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-
5
- from .types import InsertTableRowRequestRowDataItemValue
6
-
7
- __all__ = ["InsertTableRowRequestRowDataItemValue"]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-
5
- from .insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
6
-
7
- __all__ = ["InsertTableRowRequestRowDataItemValue"]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- InsertTableRowRequestRowDataItemValue = typing.Union[str, int, float, bool]