athena-intelligence 0.1.272__tar.gz → 0.1.338__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.
Files changed (153) hide show
  1. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/__init__.py +0 -15
  4. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/client.py +9 -13
  5. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/client_wrapper.py +2 -2
  6. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/environment.py +0 -2
  7. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/client.py +4 -5
  8. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/raw_client.py +12 -9
  9. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/__init__.py +0 -15
  10. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/border_model.py +8 -3
  11. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/cell_format.py +15 -4
  12. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/dimension_properties.py +1 -1
  13. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/sheet.py +13 -6
  14. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/text_format_model.py +11 -2
  15. athena_intelligence-0.1.272/src/athena/types/backgroundcolor.py +0 -7
  16. athena_intelligence-0.1.272/src/athena/types/color.py +0 -7
  17. athena_intelligence-0.1.272/src/athena/types/document_chunk.py +0 -24
  18. athena_intelligence-0.1.272/src/athena/types/file_chunk_request_out.py +0 -24
  19. athena_intelligence-0.1.272/src/athena/types/tabcolor.py +0 -7
  20. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/README.md +0 -0
  21. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/__init__.py +0 -0
  22. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/client.py +0 -0
  23. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/drive/__init__.py +0 -0
  24. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/drive/client.py +0 -0
  25. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/drive/raw_client.py +0 -0
  26. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/general/__init__.py +0 -0
  27. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/general/client.py +0 -0
  28. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/general/raw_client.py +0 -0
  29. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/raw_client.py +0 -0
  30. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/research/__init__.py +0 -0
  31. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/research/client.py +0 -0
  32. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/research/raw_client.py +0 -0
  33. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/sql/__init__.py +0 -0
  34. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/sql/client.py +0 -0
  35. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/agents/sql/raw_client.py +0 -0
  36. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/aop/__init__.py +0 -0
  37. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/aop/client.py +0 -0
  38. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/aop/raw_client.py +0 -0
  39. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/assets/__init__.py +0 -0
  40. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/assets/client.py +0 -0
  41. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/assets/raw_client.py +0 -0
  42. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/base_client.py +0 -0
  43. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/__init__.py +0 -0
  44. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/api_error.py +0 -0
  45. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/datetime_utils.py +0 -0
  46. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/file.py +0 -0
  47. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/force_multipart.py +0 -0
  48. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/http_client.py +0 -0
  49. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/http_response.py +0 -0
  50. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/jsonable_encoder.py +0 -0
  51. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/pydantic_utilities.py +0 -0
  52. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/query_encoder.py +0 -0
  53. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/remove_none_from_dict.py +0 -0
  54. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/request_options.py +0 -0
  55. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/core/serialization.py +0 -0
  56. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/__init__.py +0 -0
  57. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/bad_request_error.py +0 -0
  58. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/content_too_large_error.py +0 -0
  59. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/internal_server_error.py +0 -0
  60. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/not_found_error.py +0 -0
  61. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/unauthorized_error.py +0 -0
  62. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/unprocessable_entity_error.py +0 -0
  63. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/errors/unsupported_media_type_error.py +0 -0
  64. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/py.typed +0 -0
  65. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/query/__init__.py +0 -0
  66. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/query/client.py +0 -0
  67. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/query/raw_client.py +0 -0
  68. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/query/types/__init__.py +0 -0
  69. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
  70. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/threads/__init__.py +0 -0
  71. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/threads/client.py +0 -0
  72. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/threads/raw_client.py +0 -0
  73. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/__init__.py +0 -0
  74. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/calendar/__init__.py +0 -0
  75. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/calendar/client.py +0 -0
  76. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/calendar/raw_client.py +0 -0
  77. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/email/__init__.py +0 -0
  78. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/email/client.py +0 -0
  79. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/email/raw_client.py +0 -0
  80. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/sheets/__init__.py +0 -0
  81. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/sheets/client.py +0 -0
  82. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/sheets/raw_client.py +0 -0
  83. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/sheets/types/__init__.py +0 -0
  84. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/sheets/types/update_sheet_range_request_values_item_item.py +0 -0
  85. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/structured_data_extractor/__init__.py +0 -0
  86. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/structured_data_extractor/client.py +0 -0
  87. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
  88. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/tasks/__init__.py +0 -0
  89. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/tasks/client.py +0 -0
  90. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/tasks/raw_client.py +0 -0
  91. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/types/__init__.py +0 -0
  92. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
  93. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/aop_async_execute_response_out.py +0 -0
  94. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/aop_execute_request_in.py +0 -0
  95. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/aop_execute_response_out.py +0 -0
  96. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/asset_content_request_out.py +0 -0
  97. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/asset_node.py +0 -0
  98. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/asset_screenshot_response_out.py +0 -0
  99. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/border_style.py +0 -0
  100. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/borders_model.py +0 -0
  101. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/cell_format_horizontal_alignment.py +0 -0
  102. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/cell_format_vertical_alignment.py +0 -0
  103. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/chunk.py +0 -0
  104. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/chunk_content_item.py +0 -0
  105. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/chunk_result.py +0 -0
  106. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/chunk_result_chunk_id.py +0 -0
  107. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/content.py +0 -0
  108. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/conversation_asset_info.py +0 -0
  109. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/conversation_message.py +0 -0
  110. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/conversation_result.py +0 -0
  111. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/creatable_asset_type.py +0 -0
  112. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/create_asset_response_out.py +0 -0
  113. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/create_new_sheet_tab_response.py +0 -0
  114. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/create_project_response_out.py +0 -0
  115. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/custom_agent_response.py +0 -0
  116. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/data_frame_request_out.py +0 -0
  117. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
  118. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
  119. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/data_frame_request_out_index_item.py +0 -0
  120. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/data_frame_unknown_format_error.py +0 -0
  121. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/drive_agent_response.py +0 -0
  122. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/file_too_large_error.py +0 -0
  123. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/folder_response.py +0 -0
  124. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_config.py +0 -0
  125. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
  126. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_request.py +0 -0
  127. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_response.py +0 -0
  128. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_response_message.py +0 -0
  129. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
  130. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/get_table_response.py +0 -0
  131. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/grid_range.py +0 -0
  132. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/id.py +0 -0
  133. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/image_url_content.py +0 -0
  134. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/input_message.py +0 -0
  135. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/input_message_content_item.py +0 -0
  136. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/number_format_model.py +0 -0
  137. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/number_format_type.py +0 -0
  138. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/paginated_assets_out.py +0 -0
  139. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/prompt_message.py +0 -0
  140. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/public_asset_out.py +0 -0
  141. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/research_agent_response.py +0 -0
  142. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/save_asset_request_out.py +0 -0
  143. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/sheet_operation_response.py +0 -0
  144. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/sql_agent_response.py +0 -0
  145. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/structured_data_extractor_response.py +0 -0
  146. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/table_row_data.py +0 -0
  147. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/text_content.py +0 -0
  148. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/textrotation.py +0 -0
  149. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/theme_color.py +0 -0
  150. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/thread_status_response_out.py +0 -0
  151. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/type.py +0 -0
  152. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/src/athena/types/wrap_strategy.py +0 -0
  153. {athena_intelligence-0.1.272 → athena_intelligence-0.1.338}/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.272
3
+ Version: 0.1.338
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.272"
6
+ version = "0.1.338"
7
7
  description = "Athena Intelligence Python Library"
8
8
  readme = "README.md"
9
9
  authors = []
@@ -13,7 +13,6 @@ if typing.TYPE_CHECKING:
13
13
  AssetContentRequestOut,
14
14
  AssetNode,
15
15
  AssetScreenshotResponseOut,
16
- Backgroundcolor,
17
16
  BorderModel,
18
17
  BorderStyle,
19
18
  BordersModel,
@@ -26,7 +25,6 @@ if typing.TYPE_CHECKING:
26
25
  ChunkContentItem_Text,
27
26
  ChunkResult,
28
27
  ChunkResultChunkId,
29
- Color,
30
28
  Content,
31
29
  ConversationAssetInfo,
32
30
  ConversationMessage,
@@ -42,9 +40,7 @@ if typing.TYPE_CHECKING:
42
40
  DataFrameRequestOutIndexItem,
43
41
  DataFrameUnknownFormatError,
44
42
  DimensionProperties,
45
- DocumentChunk,
46
43
  DriveAgentResponse,
47
- FileChunkRequestOut,
48
44
  FileTooLargeError,
49
45
  FolderResponse,
50
46
  GeneralAgentConfig,
@@ -72,7 +68,6 @@ if typing.TYPE_CHECKING:
72
68
  SheetOperationResponse,
73
69
  SqlAgentResponse,
74
70
  StructuredDataExtractorResponse,
75
- Tabcolor,
76
71
  TableRowData,
77
72
  TextContent,
78
73
  TextFormatModel,
@@ -107,7 +102,6 @@ _dynamic_imports: typing.Dict[str, str] = {
107
102
  "AsyncAthena": ".client",
108
103
  "Athena": ".client",
109
104
  "AthenaEnvironment": ".environment",
110
- "Backgroundcolor": ".types",
111
105
  "BadRequestError": ".errors",
112
106
  "BorderModel": ".types",
113
107
  "BorderStyle": ".types",
@@ -121,7 +115,6 @@ _dynamic_imports: typing.Dict[str, str] = {
121
115
  "ChunkContentItem_Text": ".types",
122
116
  "ChunkResult": ".types",
123
117
  "ChunkResultChunkId": ".types",
124
- "Color": ".types",
125
118
  "Content": ".types",
126
119
  "ContentTooLargeError": ".errors",
127
120
  "ConversationAssetInfo": ".types",
@@ -138,9 +131,7 @@ _dynamic_imports: typing.Dict[str, str] = {
138
131
  "DataFrameRequestOutIndexItem": ".types",
139
132
  "DataFrameUnknownFormatError": ".types",
140
133
  "DimensionProperties": ".types",
141
- "DocumentChunk": ".types",
142
134
  "DriveAgentResponse": ".types",
143
- "FileChunkRequestOut": ".types",
144
135
  "FileTooLargeError": ".types",
145
136
  "FolderResponse": ".types",
146
137
  "GeneralAgentConfig": ".types",
@@ -171,7 +162,6 @@ _dynamic_imports: typing.Dict[str, str] = {
171
162
  "SheetOperationResponse": ".types",
172
163
  "SqlAgentResponse": ".types",
173
164
  "StructuredDataExtractorResponse": ".types",
174
- "Tabcolor": ".types",
175
165
  "TableRowData": ".types",
176
166
  "TextContent": ".types",
177
167
  "TextFormatModel": ".types",
@@ -225,7 +215,6 @@ __all__ = [
225
215
  "AsyncAthena",
226
216
  "Athena",
227
217
  "AthenaEnvironment",
228
- "Backgroundcolor",
229
218
  "BadRequestError",
230
219
  "BorderModel",
231
220
  "BorderStyle",
@@ -239,7 +228,6 @@ __all__ = [
239
228
  "ChunkContentItem_Text",
240
229
  "ChunkResult",
241
230
  "ChunkResultChunkId",
242
- "Color",
243
231
  "Content",
244
232
  "ContentTooLargeError",
245
233
  "ConversationAssetInfo",
@@ -256,9 +244,7 @@ __all__ = [
256
244
  "DataFrameRequestOutIndexItem",
257
245
  "DataFrameUnknownFormatError",
258
246
  "DimensionProperties",
259
- "DocumentChunk",
260
247
  "DriveAgentResponse",
261
- "FileChunkRequestOut",
262
248
  "FileTooLargeError",
263
249
  "FolderResponse",
264
250
  "GeneralAgentConfig",
@@ -289,7 +275,6 @@ __all__ = [
289
275
  "SheetOperationResponse",
290
276
  "SqlAgentResponse",
291
277
  "StructuredDataExtractorResponse",
292
- "Tabcolor",
293
278
  "TableRowData",
294
279
  "TextContent",
295
280
  "TextFormatModel",
@@ -413,7 +413,7 @@ class AthenaModel(RemoteRunnable):
413
413
  self.api_key = api_key
414
414
  self.timeout = timeout
415
415
  super().__init__(
416
- base_url + "/api/models/general",
416
+ base_url + "/api/v0/agents/general",
417
417
  headers={"X-API-KEY": api_key},
418
418
  timeout=timeout,
419
419
  )
@@ -467,14 +467,12 @@ class Athena(BaseAthena):
467
467
  " (ATHENA_API_KEY environment variable not found)"
468
468
  )
469
469
  if environment == SpecialEnvironments.AUTODETECT_ENVIRONMENT:
470
- if "ATHENA_API_URL" in os.environ:
470
+ current_url = os.environ.get("ATHENA_API_URL", "https://api.athenaintel.com")
471
471
 
472
- class AutodetectedEnvironments(enum.Enum):
473
- CURRENT = os.environ["ATHENA_API_URL"]
472
+ class _CurrentEnv(enum.Enum):
473
+ CURRENT = current_url
474
474
 
475
- environment = cast(AthenaEnvironment, AutodetectedEnvironments.CURRENT)
476
- else:
477
- environment = AthenaEnvironment.PRODUCTION
475
+ environment = cast(AthenaEnvironment, _CurrentEnv.CURRENT)
478
476
  super().__init__(
479
477
  base_url=base_url,
480
478
  environment=environment, # type: ignore[arg-type]
@@ -543,14 +541,12 @@ class AsyncAthena(AsyncBaseAthena):
543
541
  " (ATHENA_API_KEY environment variable not found)"
544
542
  )
545
543
  if environment == SpecialEnvironments.AUTODETECT_ENVIRONMENT:
546
- if "ATHENA_API_URL" in os.environ:
544
+ current_url = os.environ.get("ATHENA_API_URL", "https://api.athenaintel.com")
547
545
 
548
- class AutodetectedEnvironments(enum.Enum):
549
- CURRENT = os.environ["ATHENA_API_URL"]
546
+ class _CurrentEnv(enum.Enum):
547
+ CURRENT = current_url
550
548
 
551
- environment = cast(AthenaEnvironment, AutodetectedEnvironments.CURRENT)
552
- else:
553
- environment = AthenaEnvironment.PRODUCTION
549
+ environment = cast(AthenaEnvironment, _CurrentEnv.CURRENT)
554
550
  self._tools: typing.Optional[WrappedAsyncToolsClient] = None
555
551
  super().__init__(
556
552
  base_url=base_url,
@@ -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.272",
25
+ "User-Agent": "athena-intelligence/0.1.338",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.272",
28
+ "X-Fern-SDK-Version": "0.1.338",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
@@ -5,5 +5,3 @@ import enum
5
5
 
6
6
  class AthenaEnvironment(enum.Enum):
7
7
  PRODUCTION = "https://api.athenaintel.com"
8
- STAGING = "https://staging-api.athenaintel.com"
9
- CANARY = "https://api-canary.athena-olympus.com"
@@ -10,7 +10,6 @@ from ..core.request_options import RequestOptions
10
10
  from ..types.asset_content_request_out import AssetContentRequestOut
11
11
  from ..types.asset_screenshot_response_out import AssetScreenshotResponseOut
12
12
  from ..types.data_frame_request_out import DataFrameRequestOut
13
- from ..types.file_chunk_request_out import FileChunkRequestOut
14
13
  from ..types.folder_response import FolderResponse
15
14
  from ..types.save_asset_request_out import SaveAssetRequestOut
16
15
  from .raw_client import AsyncRawToolsClient, RawToolsClient
@@ -49,7 +48,7 @@ class ToolsClient:
49
48
 
50
49
  def get_asset_chunks(
51
50
  self, *, asset_ids: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None
52
- ) -> FileChunkRequestOut:
51
+ ) -> typing.Optional[typing.Any]:
53
52
  """
54
53
  Get the chunks of a file.
55
54
 
@@ -63,7 +62,7 @@ class ToolsClient:
63
62
 
64
63
  Returns
65
64
  -------
66
- FileChunkRequestOut
65
+ typing.Optional[typing.Any]
67
66
  Successful Response
68
67
 
69
68
  Examples
@@ -410,7 +409,7 @@ class AsyncToolsClient:
410
409
 
411
410
  async def get_asset_chunks(
412
411
  self, *, asset_ids: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None
413
- ) -> FileChunkRequestOut:
412
+ ) -> typing.Optional[typing.Any]:
414
413
  """
415
414
  Get the chunks of a file.
416
415
 
@@ -424,7 +423,7 @@ class AsyncToolsClient:
424
423
 
425
424
  Returns
426
425
  -------
427
- FileChunkRequestOut
426
+ typing.Optional[typing.Any]
428
427
  Successful Response
429
428
 
430
429
  Examples
@@ -21,7 +21,6 @@ from ..types.asset_content_request_out import AssetContentRequestOut
21
21
  from ..types.asset_screenshot_response_out import AssetScreenshotResponseOut
22
22
  from ..types.data_frame_request_out import DataFrameRequestOut
23
23
  from ..types.data_frame_unknown_format_error import DataFrameUnknownFormatError
24
- from ..types.file_chunk_request_out import FileChunkRequestOut
25
24
  from ..types.file_too_large_error import FileTooLargeError
26
25
  from ..types.folder_response import FolderResponse
27
26
  from ..types.save_asset_request_out import SaveAssetRequestOut
@@ -37,7 +36,7 @@ class RawToolsClient:
37
36
 
38
37
  def get_asset_chunks(
39
38
  self, *, asset_ids: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None
40
- ) -> HttpResponse[FileChunkRequestOut]:
39
+ ) -> HttpResponse[typing.Optional[typing.Any]]:
41
40
  """
42
41
  Get the chunks of a file.
43
42
 
@@ -51,7 +50,7 @@ class RawToolsClient:
51
50
 
52
51
  Returns
53
52
  -------
54
- HttpResponse[FileChunkRequestOut]
53
+ HttpResponse[typing.Optional[typing.Any]]
55
54
  Successful Response
56
55
  """
57
56
  _response = self._client_wrapper.httpx_client.request(
@@ -67,11 +66,13 @@ class RawToolsClient:
67
66
  omit=OMIT,
68
67
  )
69
68
  try:
69
+ if _response is None or not _response.text.strip():
70
+ return HttpResponse(response=_response, data=None)
70
71
  if 200 <= _response.status_code < 300:
71
72
  _data = typing.cast(
72
- FileChunkRequestOut,
73
+ typing.Optional[typing.Any],
73
74
  parse_obj_as(
74
- type_=FileChunkRequestOut, # type: ignore
75
+ type_=typing.Optional[typing.Any], # type: ignore
75
76
  object_=_response.json(),
76
77
  ),
77
78
  )
@@ -684,7 +685,7 @@ class AsyncRawToolsClient:
684
685
 
685
686
  async def get_asset_chunks(
686
687
  self, *, asset_ids: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None
687
- ) -> AsyncHttpResponse[FileChunkRequestOut]:
688
+ ) -> AsyncHttpResponse[typing.Optional[typing.Any]]:
688
689
  """
689
690
  Get the chunks of a file.
690
691
 
@@ -698,7 +699,7 @@ class AsyncRawToolsClient:
698
699
 
699
700
  Returns
700
701
  -------
701
- AsyncHttpResponse[FileChunkRequestOut]
702
+ AsyncHttpResponse[typing.Optional[typing.Any]]
702
703
  Successful Response
703
704
  """
704
705
  _response = await self._client_wrapper.httpx_client.request(
@@ -714,11 +715,13 @@ class AsyncRawToolsClient:
714
715
  omit=OMIT,
715
716
  )
716
717
  try:
718
+ if _response is None or not _response.text.strip():
719
+ return AsyncHttpResponse(response=_response, data=None)
717
720
  if 200 <= _response.status_code < 300:
718
721
  _data = typing.cast(
719
- FileChunkRequestOut,
722
+ typing.Optional[typing.Any],
720
723
  parse_obj_as(
721
- type_=FileChunkRequestOut, # type: ignore
724
+ type_=typing.Optional[typing.Any], # type: ignore
722
725
  object_=_response.json(),
723
726
  ),
724
727
  )
@@ -12,7 +12,6 @@ if typing.TYPE_CHECKING:
12
12
  from .asset_content_request_out import AssetContentRequestOut
13
13
  from .asset_node import AssetNode
14
14
  from .asset_screenshot_response_out import AssetScreenshotResponseOut
15
- from .backgroundcolor import Backgroundcolor
16
15
  from .border_model import BorderModel
17
16
  from .border_style import BorderStyle
18
17
  from .borders_model import BordersModel
@@ -23,7 +22,6 @@ if typing.TYPE_CHECKING:
23
22
  from .chunk_content_item import ChunkContentItem, ChunkContentItem_ImageUrl, ChunkContentItem_Text
24
23
  from .chunk_result import ChunkResult
25
24
  from .chunk_result_chunk_id import ChunkResultChunkId
26
- from .color import Color
27
25
  from .content import Content
28
26
  from .conversation_asset_info import ConversationAssetInfo
29
27
  from .conversation_message import ConversationMessage
@@ -39,9 +37,7 @@ if typing.TYPE_CHECKING:
39
37
  from .data_frame_request_out_index_item import DataFrameRequestOutIndexItem
40
38
  from .data_frame_unknown_format_error import DataFrameUnknownFormatError
41
39
  from .dimension_properties import DimensionProperties
42
- from .document_chunk import DocumentChunk
43
40
  from .drive_agent_response import DriveAgentResponse
44
- from .file_chunk_request_out import FileChunkRequestOut
45
41
  from .file_too_large_error import FileTooLargeError
46
42
  from .folder_response import FolderResponse
47
43
  from .general_agent_config import GeneralAgentConfig
@@ -71,7 +67,6 @@ if typing.TYPE_CHECKING:
71
67
  from .sheet_operation_response import SheetOperationResponse
72
68
  from .sql_agent_response import SqlAgentResponse
73
69
  from .structured_data_extractor_response import StructuredDataExtractorResponse
74
- from .tabcolor import Tabcolor
75
70
  from .table_row_data import TableRowData
76
71
  from .text_content import TextContent
77
72
  from .text_format_model import TextFormatModel
@@ -87,7 +82,6 @@ _dynamic_imports: typing.Dict[str, str] = {
87
82
  "AssetContentRequestOut": ".asset_content_request_out",
88
83
  "AssetNode": ".asset_node",
89
84
  "AssetScreenshotResponseOut": ".asset_screenshot_response_out",
90
- "Backgroundcolor": ".backgroundcolor",
91
85
  "BorderModel": ".border_model",
92
86
  "BorderStyle": ".border_style",
93
87
  "BordersModel": ".borders_model",
@@ -100,7 +94,6 @@ _dynamic_imports: typing.Dict[str, str] = {
100
94
  "ChunkContentItem_Text": ".chunk_content_item",
101
95
  "ChunkResult": ".chunk_result",
102
96
  "ChunkResultChunkId": ".chunk_result_chunk_id",
103
- "Color": ".color",
104
97
  "Content": ".content",
105
98
  "ConversationAssetInfo": ".conversation_asset_info",
106
99
  "ConversationMessage": ".conversation_message",
@@ -116,9 +109,7 @@ _dynamic_imports: typing.Dict[str, str] = {
116
109
  "DataFrameRequestOutIndexItem": ".data_frame_request_out_index_item",
117
110
  "DataFrameUnknownFormatError": ".data_frame_unknown_format_error",
118
111
  "DimensionProperties": ".dimension_properties",
119
- "DocumentChunk": ".document_chunk",
120
112
  "DriveAgentResponse": ".drive_agent_response",
121
- "FileChunkRequestOut": ".file_chunk_request_out",
122
113
  "FileTooLargeError": ".file_too_large_error",
123
114
  "FolderResponse": ".folder_response",
124
115
  "GeneralAgentConfig": ".general_agent_config",
@@ -146,7 +137,6 @@ _dynamic_imports: typing.Dict[str, str] = {
146
137
  "SheetOperationResponse": ".sheet_operation_response",
147
138
  "SqlAgentResponse": ".sql_agent_response",
148
139
  "StructuredDataExtractorResponse": ".structured_data_extractor_response",
149
- "Tabcolor": ".tabcolor",
150
140
  "TableRowData": ".table_row_data",
151
141
  "TextContent": ".text_content",
152
142
  "TextFormatModel": ".text_format_model",
@@ -186,7 +176,6 @@ __all__ = [
186
176
  "AssetContentRequestOut",
187
177
  "AssetNode",
188
178
  "AssetScreenshotResponseOut",
189
- "Backgroundcolor",
190
179
  "BorderModel",
191
180
  "BorderStyle",
192
181
  "BordersModel",
@@ -199,7 +188,6 @@ __all__ = [
199
188
  "ChunkContentItem_Text",
200
189
  "ChunkResult",
201
190
  "ChunkResultChunkId",
202
- "Color",
203
191
  "Content",
204
192
  "ConversationAssetInfo",
205
193
  "ConversationMessage",
@@ -215,9 +203,7 @@ __all__ = [
215
203
  "DataFrameRequestOutIndexItem",
216
204
  "DataFrameUnknownFormatError",
217
205
  "DimensionProperties",
218
- "DocumentChunk",
219
206
  "DriveAgentResponse",
220
- "FileChunkRequestOut",
221
207
  "FileTooLargeError",
222
208
  "FolderResponse",
223
209
  "GeneralAgentConfig",
@@ -245,7 +231,6 @@ __all__ = [
245
231
  "SheetOperationResponse",
246
232
  "SqlAgentResponse",
247
233
  "StructuredDataExtractorResponse",
248
- "Tabcolor",
249
234
  "TableRowData",
250
235
  "TextContent",
251
236
  "TextFormatModel",
@@ -5,13 +5,18 @@ import typing
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
7
  from .border_style import BorderStyle
8
- from .color import Color
8
+ from .theme_color import ThemeColor
9
9
 
10
10
 
11
11
  class BorderModel(UniversalBaseModel):
12
- color: typing.Optional[Color] = pydantic.Field(default=None)
12
+ color_hex: typing.Optional[str] = pydantic.Field(default=None)
13
13
  """
14
- Border color. Defaults to theme color 1 (default black). Always set the color if border width and border style is present
14
+ Border color as hex string (e.g., '#FF0000'). Use either color_hex or color_theme, not both.
15
+ """
16
+
17
+ color_theme: typing.Optional[ThemeColor] = pydantic.Field(default=None)
18
+ """
19
+ Border color as theme reference. Use either color_hex or color_theme, not both. Defaults to theme color 1 if neither is specified.
15
20
  """
16
21
 
17
22
  style: BorderStyle
@@ -6,20 +6,31 @@ import pydantic
6
6
  import typing_extensions
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
- from .backgroundcolor import Backgroundcolor
10
9
  from .borders_model import BordersModel
11
10
  from .cell_format_horizontal_alignment import CellFormatHorizontalAlignment
12
11
  from .cell_format_vertical_alignment import CellFormatVerticalAlignment
13
12
  from .number_format_model import NumberFormatModel
14
13
  from .text_format_model import TextFormatModel
15
14
  from .textrotation import Textrotation
15
+ from .theme_color import ThemeColor
16
16
  from .wrap_strategy import WrapStrategy
17
17
 
18
18
 
19
19
  class CellFormat(UniversalBaseModel):
20
- background_color: typing_extensions.Annotated[
21
- typing.Optional[Backgroundcolor], FieldMetadata(alias="backgroundColor")
22
- ] = None
20
+ background_color_hex: typing_extensions.Annotated[
21
+ typing.Optional[str], FieldMetadata(alias="backgroundColor_hex")
22
+ ] = pydantic.Field(default=None)
23
+ """
24
+ Background color as hex string (e.g., '#FF0000'). Use either backgroundColor_hex or backgroundColor_theme, not both.
25
+ """
26
+
27
+ background_color_theme: typing_extensions.Annotated[
28
+ typing.Optional[ThemeColor], FieldMetadata(alias="backgroundColor_theme")
29
+ ] = pydantic.Field(default=None)
30
+ """
31
+ Background color as theme reference. Use either backgroundColor_hex or backgroundColor_theme, not both.
32
+ """
33
+
23
34
  borders: typing.Optional[BordersModel] = None
24
35
  horizontal_alignment: typing_extensions.Annotated[
25
36
  typing.Optional[CellFormatHorizontalAlignment], FieldMetadata(alias="horizontalAlignment")
@@ -31,7 +31,7 @@ class DimensionProperties(UniversalBaseModel):
31
31
  pydantic.Field(default=None)
32
32
  )
33
33
  """
34
- True if the user manually resized this dimension (e.g., dragged column border to resize)
34
+ True if the user manually resized this dimension (e.g., dragged column border to resize). Must be set to True whenever you set the 'size' field
35
35
  """
36
36
 
37
37
  size: typing.Optional[int] = pydantic.Field(default=None)
@@ -8,7 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
9
  from .dimension_properties import DimensionProperties
10
10
  from .grid_range import GridRange
11
- from .tabcolor import Tabcolor
11
+ from .theme_color import ThemeColor
12
12
 
13
13
 
14
14
  class Sheet(UniversalBaseModel):
@@ -21,7 +21,7 @@ class Sheet(UniversalBaseModel):
21
21
  typing.Optional[typing.List[typing.Optional[DimensionProperties]]], FieldMetadata(alias="columnMetadata")
22
22
  ] = pydantic.Field(default=None)
23
23
  """
24
- Array of column properties, one per column (1-indexed). Each entry defines width, visibility for that column. Use to set custom column widths or hide/show specific columns. Example: columnMetadata[1] controls column A, columnMetadata[2] controls column B, etc. To set column C width to 150px: columnMetadata[3] = DimensionProperties(size=150). To hide column B: columnMetadata[2] = DimensionProperties(hiddenByUser=True). Common use case: Auto-size columns with wide content by setting larger size values
24
+ Array of column properties, one per column (1-indexed). REQUIRED when changing column widths. Each entry defines width, visibility for that column. Example: To set column C (index 3) width to 150px: columnMetadata[3] = DimensionProperties(size=150). Example: To hide column B: columnMetadata[2] = DimensionProperties(hiddenByUser=True). Common widths: 100px (default), 150px (wide text), 200px (very wide), 50px (narrow IDs)
25
25
  """
26
26
 
27
27
  frozen_column_count: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="frozenColumnCount")] = (
@@ -48,7 +48,7 @@ class Sheet(UniversalBaseModel):
48
48
  typing.Optional[typing.List[typing.Optional[DimensionProperties]]], FieldMetadata(alias="rowMetadata")
49
49
  ] = pydantic.Field(default=None)
50
50
  """
51
- Array of row properties, one per row (1-indexed). Each entry defines height, visibility for that row. Use to set custom row heights or hide/show specific rows. Example: rowMetadata[1] controls row 1, rowMetadata[2] controls row 2, etc. To set row 5 height to 50px: rowMetadata[5] = DimensionProperties(size=50). To hide row 3: rowMetadata[3] = DimensionProperties(hiddenByUser=True)
51
+ Array of row properties, one per row (1-indexed). REQUIRED when changing row heights. Each entry defines height, visibility for that row. Example: To set row 5 height to 50px: rowMetadata[5] = DimensionProperties(size=50). Example: To hide row 3: rowMetadata[3] = DimensionProperties(hiddenByUser=True). Common heights: 21px (default), 30px (comfortable), 50px (tall headers)
52
52
  """
53
53
 
54
54
  sheet_id: typing_extensions.Annotated[int, FieldMetadata(alias="sheetId")] = pydantic.Field()
@@ -57,11 +57,18 @@ class Sheet(UniversalBaseModel):
57
57
  """
58
58
 
59
59
  show_grid_lines: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="showGridLines")] = None
60
- tab_color: typing_extensions.Annotated[typing.Optional[Tabcolor], FieldMetadata(alias="tabColor")] = pydantic.Field(
61
- default=None
60
+ tab_color_hex: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="tabColor_hex")] = (
61
+ pydantic.Field(default=None)
62
62
  )
63
63
  """
64
- Tab color in hex format (e.g., '#FF0000' for red) or as a theme
64
+ Tab color as hex string (e.g., '#FF0000'). Use either tabColor_hex or tabColor_theme, not both.
65
+ """
66
+
67
+ tab_color_theme: typing_extensions.Annotated[typing.Optional[ThemeColor], FieldMetadata(alias="tabColor_theme")] = (
68
+ pydantic.Field(default=None)
69
+ )
70
+ """
71
+ Tab color as theme reference. Use either tabColor_hex or tabColor_theme, not both.
65
72
  """
66
73
 
67
74
  title: str
@@ -6,12 +6,21 @@ import pydantic
6
6
  import typing_extensions
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
- from .color import Color
9
+ from .theme_color import ThemeColor
10
10
 
11
11
 
12
12
  class TextFormatModel(UniversalBaseModel):
13
13
  bold: typing.Optional[bool] = None
14
- color: typing.Optional[Color] = None
14
+ color_hex: typing.Optional[str] = pydantic.Field(default=None)
15
+ """
16
+ Text color as hex string (e.g., '#FF0000'). Use either color_hex or color_theme, not both.
17
+ """
18
+
19
+ color_theme: typing.Optional[ThemeColor] = pydantic.Field(default=None)
20
+ """
21
+ Text color as theme reference. Use either color_hex or color_theme, not both.
22
+ """
23
+
15
24
  font_family: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="fontFamily")] = None
16
25
  font_size: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="fontSize")] = None
17
26
  italic: typing.Optional[bool] = None
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from .theme_color import ThemeColor
6
-
7
- Backgroundcolor = typing.Union[str, ThemeColor]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from .theme_color import ThemeColor
6
-
7
- Color = typing.Union[str, ThemeColor]
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class DocumentChunk(UniversalBaseModel):
10
- """
11
- A document chunk.
12
- """
13
-
14
- metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None
15
- page_content: str
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .document_chunk import DocumentChunk
8
-
9
-
10
- class FileChunkRequestOut(UniversalBaseModel):
11
- """
12
- Response model for a file chunk.
13
- """
14
-
15
- chunks: typing.Dict[str, typing.List[DocumentChunk]]
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from .theme_color import ThemeColor
6
-
7
- Tabcolor = typing.Union[str, ThemeColor]