athena-intelligence 0.1.303__py3-none-any.whl → 0.1.378__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- athena/__init__.py +0 -9
- athena/base_client.py +4 -4
- athena/core/client_wrapper.py +2 -2
- athena/environment.py +1 -1
- athena/tools/client.py +0 -10
- athena/tools/raw_client.py +0 -8
- athena/types/__init__.py +0 -9
- athena/types/border_model.py +8 -3
- athena/types/cell_format.py +15 -4
- athena/types/dimension_properties.py +1 -1
- athena/types/sheet.py +13 -6
- athena/types/text_format_model.py +11 -2
- {athena_intelligence-0.1.303.dist-info → athena_intelligence-0.1.378.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.303.dist-info → athena_intelligence-0.1.378.dist-info}/RECORD +15 -18
- athena/types/backgroundcolor.py +0 -7
- athena/types/color.py +0 -7
- athena/types/tabcolor.py +0 -7
- {athena_intelligence-0.1.303.dist-info → athena_intelligence-0.1.378.dist-info}/WHEEL +0 -0
athena/__init__.py
CHANGED
|
@@ -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,
|
|
@@ -70,7 +68,6 @@ if typing.TYPE_CHECKING:
|
|
|
70
68
|
SheetOperationResponse,
|
|
71
69
|
SqlAgentResponse,
|
|
72
70
|
StructuredDataExtractorResponse,
|
|
73
|
-
Tabcolor,
|
|
74
71
|
TableRowData,
|
|
75
72
|
TextContent,
|
|
76
73
|
TextFormatModel,
|
|
@@ -105,7 +102,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
105
102
|
"AsyncAthena": ".client",
|
|
106
103
|
"Athena": ".client",
|
|
107
104
|
"AthenaEnvironment": ".environment",
|
|
108
|
-
"Backgroundcolor": ".types",
|
|
109
105
|
"BadRequestError": ".errors",
|
|
110
106
|
"BorderModel": ".types",
|
|
111
107
|
"BorderStyle": ".types",
|
|
@@ -119,7 +115,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
119
115
|
"ChunkContentItem_Text": ".types",
|
|
120
116
|
"ChunkResult": ".types",
|
|
121
117
|
"ChunkResultChunkId": ".types",
|
|
122
|
-
"Color": ".types",
|
|
123
118
|
"Content": ".types",
|
|
124
119
|
"ContentTooLargeError": ".errors",
|
|
125
120
|
"ConversationAssetInfo": ".types",
|
|
@@ -167,7 +162,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
167
162
|
"SheetOperationResponse": ".types",
|
|
168
163
|
"SqlAgentResponse": ".types",
|
|
169
164
|
"StructuredDataExtractorResponse": ".types",
|
|
170
|
-
"Tabcolor": ".types",
|
|
171
165
|
"TableRowData": ".types",
|
|
172
166
|
"TextContent": ".types",
|
|
173
167
|
"TextFormatModel": ".types",
|
|
@@ -221,7 +215,6 @@ __all__ = [
|
|
|
221
215
|
"AsyncAthena",
|
|
222
216
|
"Athena",
|
|
223
217
|
"AthenaEnvironment",
|
|
224
|
-
"Backgroundcolor",
|
|
225
218
|
"BadRequestError",
|
|
226
219
|
"BorderModel",
|
|
227
220
|
"BorderStyle",
|
|
@@ -235,7 +228,6 @@ __all__ = [
|
|
|
235
228
|
"ChunkContentItem_Text",
|
|
236
229
|
"ChunkResult",
|
|
237
230
|
"ChunkResultChunkId",
|
|
238
|
-
"Color",
|
|
239
231
|
"Content",
|
|
240
232
|
"ContentTooLargeError",
|
|
241
233
|
"ConversationAssetInfo",
|
|
@@ -283,7 +275,6 @@ __all__ = [
|
|
|
283
275
|
"SheetOperationResponse",
|
|
284
276
|
"SqlAgentResponse",
|
|
285
277
|
"StructuredDataExtractorResponse",
|
|
286
|
-
"Tabcolor",
|
|
287
278
|
"TableRowData",
|
|
288
279
|
"TextContent",
|
|
289
280
|
"TextFormatModel",
|
athena/base_client.py
CHANGED
|
@@ -31,7 +31,7 @@ class BaseAthena:
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
Defaults to AthenaEnvironment.
|
|
34
|
+
Defaults to AthenaEnvironment.PRODUCTION
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -61,7 +61,7 @@ class BaseAthena:
|
|
|
61
61
|
self,
|
|
62
62
|
*,
|
|
63
63
|
base_url: typing.Optional[str] = None,
|
|
64
|
-
environment: AthenaEnvironment = AthenaEnvironment.
|
|
64
|
+
environment: AthenaEnvironment = AthenaEnvironment.PRODUCTION,
|
|
65
65
|
api_key: str,
|
|
66
66
|
headers: typing.Optional[typing.Dict[str, str]] = None,
|
|
67
67
|
timeout: typing.Optional[float] = None,
|
|
@@ -152,7 +152,7 @@ class AsyncBaseAthena:
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
Defaults to AthenaEnvironment.
|
|
155
|
+
Defaults to AthenaEnvironment.PRODUCTION
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
@@ -182,7 +182,7 @@ class AsyncBaseAthena:
|
|
|
182
182
|
self,
|
|
183
183
|
*,
|
|
184
184
|
base_url: typing.Optional[str] = None,
|
|
185
|
-
environment: AthenaEnvironment = AthenaEnvironment.
|
|
185
|
+
environment: AthenaEnvironment = AthenaEnvironment.PRODUCTION,
|
|
186
186
|
api_key: str,
|
|
187
187
|
headers: typing.Optional[typing.Dict[str, str]] = None,
|
|
188
188
|
timeout: typing.Optional[float] = None,
|
athena/core/client_wrapper.py
CHANGED
|
@@ -22,10 +22,10 @@ class BaseClientWrapper:
|
|
|
22
22
|
|
|
23
23
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
|
-
"User-Agent": "athena-intelligence/0.1.
|
|
25
|
+
"User-Agent": "athena-intelligence/0.1.378",
|
|
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.378",
|
|
29
29
|
**(self.get_custom_headers() or {}),
|
|
30
30
|
}
|
|
31
31
|
headers["X-API-KEY"] = self.api_key
|
athena/environment.py
CHANGED
athena/tools/client.py
CHANGED
|
@@ -159,7 +159,6 @@ class ToolsClient:
|
|
|
159
159
|
self,
|
|
160
160
|
*,
|
|
161
161
|
asset_id: typing.Optional[str] = None,
|
|
162
|
-
folder_id: typing.Optional[str] = None,
|
|
163
162
|
include_asset_details: typing.Optional[bool] = None,
|
|
164
163
|
include_system_files: typing.Optional[bool] = None,
|
|
165
164
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -171,8 +170,6 @@ class ToolsClient:
|
|
|
171
170
|
----------
|
|
172
171
|
asset_id : typing.Optional[str]
|
|
173
172
|
|
|
174
|
-
folder_id : typing.Optional[str]
|
|
175
|
-
|
|
176
173
|
include_asset_details : typing.Optional[bool]
|
|
177
174
|
|
|
178
175
|
include_system_files : typing.Optional[bool]
|
|
@@ -194,14 +191,12 @@ class ToolsClient:
|
|
|
194
191
|
)
|
|
195
192
|
client.tools.list_contents(
|
|
196
193
|
asset_id="asset_id",
|
|
197
|
-
folder_id="folder_id",
|
|
198
194
|
include_asset_details=True,
|
|
199
195
|
include_system_files=True,
|
|
200
196
|
)
|
|
201
197
|
"""
|
|
202
198
|
_response = self._raw_client.list_contents(
|
|
203
199
|
asset_id=asset_id,
|
|
204
|
-
folder_id=folder_id,
|
|
205
200
|
include_asset_details=include_asset_details,
|
|
206
201
|
include_system_files=include_system_files,
|
|
207
202
|
request_options=request_options,
|
|
@@ -544,7 +539,6 @@ class AsyncToolsClient:
|
|
|
544
539
|
self,
|
|
545
540
|
*,
|
|
546
541
|
asset_id: typing.Optional[str] = None,
|
|
547
|
-
folder_id: typing.Optional[str] = None,
|
|
548
542
|
include_asset_details: typing.Optional[bool] = None,
|
|
549
543
|
include_system_files: typing.Optional[bool] = None,
|
|
550
544
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -556,8 +550,6 @@ class AsyncToolsClient:
|
|
|
556
550
|
----------
|
|
557
551
|
asset_id : typing.Optional[str]
|
|
558
552
|
|
|
559
|
-
folder_id : typing.Optional[str]
|
|
560
|
-
|
|
561
553
|
include_asset_details : typing.Optional[bool]
|
|
562
554
|
|
|
563
555
|
include_system_files : typing.Optional[bool]
|
|
@@ -584,7 +576,6 @@ class AsyncToolsClient:
|
|
|
584
576
|
async def main() -> None:
|
|
585
577
|
await client.tools.list_contents(
|
|
586
578
|
asset_id="asset_id",
|
|
587
|
-
folder_id="folder_id",
|
|
588
579
|
include_asset_details=True,
|
|
589
580
|
include_system_files=True,
|
|
590
581
|
)
|
|
@@ -594,7 +585,6 @@ class AsyncToolsClient:
|
|
|
594
585
|
"""
|
|
595
586
|
_response = await self._raw_client.list_contents(
|
|
596
587
|
asset_id=asset_id,
|
|
597
|
-
folder_id=folder_id,
|
|
598
588
|
include_asset_details=include_asset_details,
|
|
599
589
|
include_system_files=include_system_files,
|
|
600
590
|
request_options=request_options,
|
athena/tools/raw_client.py
CHANGED
|
@@ -285,7 +285,6 @@ class RawToolsClient:
|
|
|
285
285
|
self,
|
|
286
286
|
*,
|
|
287
287
|
asset_id: typing.Optional[str] = None,
|
|
288
|
-
folder_id: typing.Optional[str] = None,
|
|
289
288
|
include_asset_details: typing.Optional[bool] = None,
|
|
290
289
|
include_system_files: typing.Optional[bool] = None,
|
|
291
290
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -297,8 +296,6 @@ class RawToolsClient:
|
|
|
297
296
|
----------
|
|
298
297
|
asset_id : typing.Optional[str]
|
|
299
298
|
|
|
300
|
-
folder_id : typing.Optional[str]
|
|
301
|
-
|
|
302
299
|
include_asset_details : typing.Optional[bool]
|
|
303
300
|
|
|
304
301
|
include_system_files : typing.Optional[bool]
|
|
@@ -316,7 +313,6 @@ class RawToolsClient:
|
|
|
316
313
|
method="GET",
|
|
317
314
|
params={
|
|
318
315
|
"asset_id": asset_id,
|
|
319
|
-
"folder_id": folder_id,
|
|
320
316
|
"include_asset_details": include_asset_details,
|
|
321
317
|
"include_system_files": include_system_files,
|
|
322
318
|
},
|
|
@@ -934,7 +930,6 @@ class AsyncRawToolsClient:
|
|
|
934
930
|
self,
|
|
935
931
|
*,
|
|
936
932
|
asset_id: typing.Optional[str] = None,
|
|
937
|
-
folder_id: typing.Optional[str] = None,
|
|
938
933
|
include_asset_details: typing.Optional[bool] = None,
|
|
939
934
|
include_system_files: typing.Optional[bool] = None,
|
|
940
935
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -946,8 +941,6 @@ class AsyncRawToolsClient:
|
|
|
946
941
|
----------
|
|
947
942
|
asset_id : typing.Optional[str]
|
|
948
943
|
|
|
949
|
-
folder_id : typing.Optional[str]
|
|
950
|
-
|
|
951
944
|
include_asset_details : typing.Optional[bool]
|
|
952
945
|
|
|
953
946
|
include_system_files : typing.Optional[bool]
|
|
@@ -965,7 +958,6 @@ class AsyncRawToolsClient:
|
|
|
965
958
|
method="GET",
|
|
966
959
|
params={
|
|
967
960
|
"asset_id": asset_id,
|
|
968
|
-
"folder_id": folder_id,
|
|
969
961
|
"include_asset_details": include_asset_details,
|
|
970
962
|
"include_system_files": include_system_files,
|
|
971
963
|
},
|
athena/types/__init__.py
CHANGED
|
@@ -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
|
|
@@ -69,7 +67,6 @@ if typing.TYPE_CHECKING:
|
|
|
69
67
|
from .sheet_operation_response import SheetOperationResponse
|
|
70
68
|
from .sql_agent_response import SqlAgentResponse
|
|
71
69
|
from .structured_data_extractor_response import StructuredDataExtractorResponse
|
|
72
|
-
from .tabcolor import Tabcolor
|
|
73
70
|
from .table_row_data import TableRowData
|
|
74
71
|
from .text_content import TextContent
|
|
75
72
|
from .text_format_model import TextFormatModel
|
|
@@ -85,7 +82,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
85
82
|
"AssetContentRequestOut": ".asset_content_request_out",
|
|
86
83
|
"AssetNode": ".asset_node",
|
|
87
84
|
"AssetScreenshotResponseOut": ".asset_screenshot_response_out",
|
|
88
|
-
"Backgroundcolor": ".backgroundcolor",
|
|
89
85
|
"BorderModel": ".border_model",
|
|
90
86
|
"BorderStyle": ".border_style",
|
|
91
87
|
"BordersModel": ".borders_model",
|
|
@@ -98,7 +94,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
98
94
|
"ChunkContentItem_Text": ".chunk_content_item",
|
|
99
95
|
"ChunkResult": ".chunk_result",
|
|
100
96
|
"ChunkResultChunkId": ".chunk_result_chunk_id",
|
|
101
|
-
"Color": ".color",
|
|
102
97
|
"Content": ".content",
|
|
103
98
|
"ConversationAssetInfo": ".conversation_asset_info",
|
|
104
99
|
"ConversationMessage": ".conversation_message",
|
|
@@ -142,7 +137,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
142
137
|
"SheetOperationResponse": ".sheet_operation_response",
|
|
143
138
|
"SqlAgentResponse": ".sql_agent_response",
|
|
144
139
|
"StructuredDataExtractorResponse": ".structured_data_extractor_response",
|
|
145
|
-
"Tabcolor": ".tabcolor",
|
|
146
140
|
"TableRowData": ".table_row_data",
|
|
147
141
|
"TextContent": ".text_content",
|
|
148
142
|
"TextFormatModel": ".text_format_model",
|
|
@@ -182,7 +176,6 @@ __all__ = [
|
|
|
182
176
|
"AssetContentRequestOut",
|
|
183
177
|
"AssetNode",
|
|
184
178
|
"AssetScreenshotResponseOut",
|
|
185
|
-
"Backgroundcolor",
|
|
186
179
|
"BorderModel",
|
|
187
180
|
"BorderStyle",
|
|
188
181
|
"BordersModel",
|
|
@@ -195,7 +188,6 @@ __all__ = [
|
|
|
195
188
|
"ChunkContentItem_Text",
|
|
196
189
|
"ChunkResult",
|
|
197
190
|
"ChunkResultChunkId",
|
|
198
|
-
"Color",
|
|
199
191
|
"Content",
|
|
200
192
|
"ConversationAssetInfo",
|
|
201
193
|
"ConversationMessage",
|
|
@@ -239,7 +231,6 @@ __all__ = [
|
|
|
239
231
|
"SheetOperationResponse",
|
|
240
232
|
"SqlAgentResponse",
|
|
241
233
|
"StructuredDataExtractorResponse",
|
|
242
|
-
"Tabcolor",
|
|
243
234
|
"TableRowData",
|
|
244
235
|
"TextContent",
|
|
245
236
|
"TextFormatModel",
|
athena/types/border_model.py
CHANGED
|
@@ -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 .
|
|
8
|
+
from .theme_color import ThemeColor
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class BorderModel(UniversalBaseModel):
|
|
12
|
-
|
|
12
|
+
color_hex: typing.Optional[str] = pydantic.Field(default=None)
|
|
13
13
|
"""
|
|
14
|
-
Border color
|
|
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
|
athena/types/cell_format.py
CHANGED
|
@@ -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
|
-
|
|
21
|
-
typing.Optional[
|
|
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)
|
athena/types/sheet.py
CHANGED
|
@@ -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 .
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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
|
|
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 .
|
|
9
|
+
from .theme_color import ThemeColor
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class TextFormatModel(UniversalBaseModel):
|
|
13
13
|
bold: typing.Optional[bool] = None
|
|
14
|
-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
athena/__init__.py,sha256=
|
|
1
|
+
athena/__init__.py,sha256=Sb-YPlpSo4ZGx4wDSOmIB6BQbgFOBeHRh8TdSpI5uGA,8927
|
|
2
2
|
athena/agents/__init__.py,sha256=LqM1Kj7aFzYoFsB7xrYKPDJAnOWmcig1LNE4jAiWpJQ,1166
|
|
3
3
|
athena/agents/client.py,sha256=b3QvSCRsiHD6UREN7llGY946V-oZdKkhouQ6p_nH1j8,8044
|
|
4
4
|
athena/agents/drive/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
@@ -20,11 +20,11 @@ athena/aop/raw_client.py,sha256=ZQRtNNirk1xfbkKHADxSCPB0UQjf4HO5l-6z7W936X8,1850
|
|
|
20
20
|
athena/assets/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
21
21
|
athena/assets/client.py,sha256=bkWVNjqEgG6h3cIg6b3L9h8ireNTsQpvDj5bVfgxC8k,17012
|
|
22
22
|
athena/assets/raw_client.py,sha256=x5J-o3dvAPFg1rShQCrjhBJYar2ySBkhjlBafDF3d7E,30181
|
|
23
|
-
athena/base_client.py,sha256=
|
|
23
|
+
athena/base_client.py,sha256=IlYf1TLV3w-JZPATzyT-b5wSrjKm-fsT_3bC172GpVI,9576
|
|
24
24
|
athena/client.py,sha256=KY9yAklJA8XWmRu_LzHDEF3KrTwwl2phnfMeOnHYWQs,22142
|
|
25
25
|
athena/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
|
|
26
26
|
athena/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
27
|
-
athena/core/client_wrapper.py,sha256=
|
|
27
|
+
athena/core/client_wrapper.py,sha256=hU8aAHYud0qKxryFTtj-ydnfidEQTdZ8nw51XOuru1E,2392
|
|
28
28
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
29
29
|
athena/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
30
30
|
athena/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -36,7 +36,7 @@ athena/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,
|
|
|
36
36
|
athena/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
37
37
|
athena/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
38
38
|
athena/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
39
|
-
athena/environment.py,sha256=
|
|
39
|
+
athena/environment.py,sha256=qTOfpg8B5EGqwcJFB4ANkLFn2Y6rsPWGuhU8GRPlFl0,162
|
|
40
40
|
athena/errors/__init__.py,sha256=mz82PTudQ7K7-oV8Yxa99QipVhg7RmUmPfvg-QdQMHc,1959
|
|
41
41
|
athena/errors/bad_request_error.py,sha256=PnE3v3kETCXm9E3LiNcHLNtjPEUvpe98-r59q-kQb78,338
|
|
42
42
|
athena/errors/content_too_large_error.py,sha256=i4Af_rueEaP5CftotSDwCaMRlkcC76KyT2NsEIjZH0I,392
|
|
@@ -58,11 +58,11 @@ athena/tools/__init__.py,sha256=T5lHIgOR5ESMpuKeK0R8nVbYnP0LK2KtQKv5wkGlO_A,1621
|
|
|
58
58
|
athena/tools/calendar/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
59
59
|
athena/tools/calendar/client.py,sha256=NMiwSaBD-JYcAoudGyBMtWVIWPm6ChFqOFSndxYupY0,4385
|
|
60
60
|
athena/tools/calendar/raw_client.py,sha256=6HmAXGcOxXuRMdxA1_U1oROkouJebOXVFAnz5CDHgto,6858
|
|
61
|
-
athena/tools/client.py,sha256=
|
|
61
|
+
athena/tools/client.py,sha256=oz9Uc4HEW__51OF75WO5m1l_-1Or33x4KLhKrYyO-g4,23098
|
|
62
62
|
athena/tools/email/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
63
63
|
athena/tools/email/client.py,sha256=dOidOOOLHdfz2c3nykzyOa7nTftS91d2_aws0LTg8DU,5921
|
|
64
64
|
athena/tools/email/raw_client.py,sha256=GkSxb-RFdhGgFNghnwH6i0cPI_gfWGLUmWvBNlBlhE4,9962
|
|
65
|
-
athena/tools/raw_client.py,sha256=
|
|
65
|
+
athena/tools/raw_client.py,sha256=rnx7bagSCtWuDNxJ4c6vHuRcP_Tv6rS7DbWT4LS3caQ,53212
|
|
66
66
|
athena/tools/sheets/__init__.py,sha256=hX95w8l-Ei_8uDc1DIpsj_1Y7G_C88V6JVkn2oVtqd8,1131
|
|
67
67
|
athena/tools/sheets/client.py,sha256=zg8i4i7ZZHuMwjM5jP5yCY4uSt9_UR_lWt6XdZw3MoE,59112
|
|
68
68
|
athena/tools/sheets/raw_client.py,sha256=CmIx3uq_szoyyvSyFIkzv4eM2Sw1SZfHLkCaU3srEpo,97154
|
|
@@ -76,25 +76,23 @@ athena/tools/tasks/client.py,sha256=c_YZ7OjQNJmPKbeeXJznXj3zo5CRFSv02dLupAdHAyo,
|
|
|
76
76
|
athena/tools/tasks/raw_client.py,sha256=Mexzuf_HcRXWNlESDGQkHHv5tC2tAo-AX3PBSuSRO3U,3812
|
|
77
77
|
athena/tools/types/__init__.py,sha256=EBAoLXAl5YZCDYkI-YPJA0035ZRyGktyW4tspFXOQso,1180
|
|
78
78
|
athena/tools/types/tools_data_frame_request_columns_item.py,sha256=GA1FUlTV_CfSc-KToTAwFf4Exl0rr4fsweVZupztjw0,138
|
|
79
|
-
athena/types/__init__.py,sha256=
|
|
79
|
+
athena/types/__init__.py,sha256=TCuDN_zXSNt_IcOkolPL_3nCuc4OoksLfAQ8pQHtZ7c,10233
|
|
80
80
|
athena/types/aop_async_execute_response_out.py,sha256=Ggs9j5JvLCMaVwaHNyY3whA5gcUffLqc4PwuxYWI-38,1642
|
|
81
81
|
athena/types/aop_execute_request_in.py,sha256=mEsMKyNN6e90gZra733lJDC6z0bZWdc72af3B-Z5aqE,889
|
|
82
82
|
athena/types/aop_execute_response_out.py,sha256=_w6_WERRgGEVI0O_4qRfVZPLpcaa8yihWgwB4ZV0Zs8,1847
|
|
83
83
|
athena/types/asset_content_request_out.py,sha256=RYlcY6j6Ju5EQL7UquDwyTe7uqxyuO8Bg8LCsv1YiUE,652
|
|
84
84
|
athena/types/asset_node.py,sha256=3l7CUK2c_h4QT8ktSq0rFP9veF9G_V9mNe3NZlGl-xQ,804
|
|
85
85
|
athena/types/asset_screenshot_response_out.py,sha256=tiAt9xnpXWMRUnblWzUEJbXYzB412kdqKkb_02OFFGE,1069
|
|
86
|
-
athena/types/
|
|
87
|
-
athena/types/border_model.py,sha256=fwddWJwNQxxgrjItRFLK5tm7wCNSQUe7l3cKhAvHv1U,813
|
|
86
|
+
athena/types/border_model.py,sha256=GQcHV5jBYSLxyLhQCZPPuItwH-oOzP1urGhdgEg7zU0,1025
|
|
88
87
|
athena/types/border_style.py,sha256=-3j_VzGM4SHzljbSyWZc8InthLG9GVqMyVK7uYopLEw,211
|
|
89
88
|
athena/types/borders_model.py,sha256=YqVsHbJ8irgO3flFwZyGXTWLpdCRy_sQ_XVksGjM9fs,2163
|
|
90
|
-
athena/types/cell_format.py,sha256=
|
|
89
|
+
athena/types/cell_format.py,sha256=GskvpmBPCt6Yo_HqUM0XWEjbMJ5fBk1OLMgYKd33YEE,2536
|
|
91
90
|
athena/types/cell_format_horizontal_alignment.py,sha256=UnSTOLSLVUK0zHfcOLGnZb8grjnzbnIhkh7-ikz9rLc,180
|
|
92
91
|
athena/types/cell_format_vertical_alignment.py,sha256=lvp9Em3mgHmECuUS_iH9tHrP4GcnoB_DTVKJC74tfGs,178
|
|
93
92
|
athena/types/chunk.py,sha256=9hE8tQHBknGcdY7eEgOOwd27KHbMIZXV203jaoVgx2c,747
|
|
94
93
|
athena/types/chunk_content_item.py,sha256=nKP8lq4AbbAZEKY7bRKOc7sDvqfyslCBCn8Cl_Pdz0c,1128
|
|
95
94
|
athena/types/chunk_result.py,sha256=hgrS4hMeuwTRpJ2YrMdrW_QWWWUQ82iYVVTuhFWm1X0,734
|
|
96
95
|
athena/types/chunk_result_chunk_id.py,sha256=pzJ6yL6NdUtseoeU4Kw2jlxSTMCVew2TrjhR1MbCuFg,124
|
|
97
|
-
athena/types/color.py,sha256=O4wDqWkVhYgl-gtTh74qwzGKSbaGe2K8m5R5ra_0o4k,155
|
|
98
96
|
athena/types/content.py,sha256=sSPPkZkHZgA_rO6UyTnR2QBK5mOqUz2pZ--B86r5584,211
|
|
99
97
|
athena/types/conversation_asset_info.py,sha256=xqZMI9W77vPj8jjiNbtIMZhPOeEamCZ0eXRS1Cxiuek,3077
|
|
100
98
|
athena/types/conversation_message.py,sha256=bJsO0T9ktciCAys28ESQJQNfY-29pI3lKxPhRb7D4ic,1084
|
|
@@ -109,7 +107,7 @@ athena/types/data_frame_request_out_columns_item.py,sha256=9cjzciFv6C8n8Griytt_q
|
|
|
109
107
|
athena/types/data_frame_request_out_data_item_item.py,sha256=KMTJRr-1bdKDNMbUericCliwRoPHLGRV-n2bJtxdRW0,144
|
|
110
108
|
athena/types/data_frame_request_out_index_item.py,sha256=bW7oe912trpkYKodj-I_AiTXXy61yWzliekcsUZkZE0,141
|
|
111
109
|
athena/types/data_frame_unknown_format_error.py,sha256=yEykbkXCfsxDKYHXps8jOtv6RENOn5vLNKpoKwBVJ5Q,575
|
|
112
|
-
athena/types/dimension_properties.py,sha256=
|
|
110
|
+
athena/types/dimension_properties.py,sha256=jg9r6FMf3MwD90oKQTGbQ0HN-G979cbH3zsTsD7mfoc,1764
|
|
113
111
|
athena/types/drive_agent_response.py,sha256=sxxt3DVibsYrF8bnil9ZKD3GFkD0m2hp9qDfQSaNqcs,639
|
|
114
112
|
athena/types/file_too_large_error.py,sha256=xXAMDgmJ9w0AGu-dKF1m1nCKtoqDetUf2DRqQ64npHY,527
|
|
115
113
|
athena/types/folder_response.py,sha256=pKIzL_4PpNweVrfvMdJPsToaaxZqMuW8071zJ40-Xow,811
|
|
@@ -132,20 +130,19 @@ athena/types/prompt_message.py,sha256=5WrlKURJuD0DPhMmP3gpBNuRgGfbE9ArY0BW_OSq0P
|
|
|
132
130
|
athena/types/public_asset_out.py,sha256=rBPFX3PKM0zxK3Qh8uICE14idg-UkDDob_xFRprO4bo,2775
|
|
133
131
|
athena/types/research_agent_response.py,sha256=BnBRbDcQEh-qNjLfvjoigTVHtkYZjwdjYU5ONjr-OWQ,656
|
|
134
132
|
athena/types/save_asset_request_out.py,sha256=_jM8B291p-dilNcrGSt3s26tjrj77c6kLpbxPymjJhA,600
|
|
135
|
-
athena/types/sheet.py,sha256=
|
|
133
|
+
athena/types/sheet.py,sha256=kVDoD59Zox2W2k2u-sk4GlmDJiCTfpXg3DKPlBzGtb0,3892
|
|
136
134
|
athena/types/sheet_operation_response.py,sha256=w-Nl11a1kii-RHTzgrt9QjpN1nuWfbF4nO4zAO2cCpw,793
|
|
137
135
|
athena/types/sql_agent_response.py,sha256=qp-VIpsZziEkx8EIF4bdhmlPqqH8a8GaCWLANJxE5kU,765
|
|
138
136
|
athena/types/structured_data_extractor_response.py,sha256=yFQ0CiFDdlZIq2X8UprEAwOPhNBqG8lzVu9_aDySW2M,1067
|
|
139
|
-
athena/types/tabcolor.py,sha256=_PSGZSD-aFI1GrTz4lKXKg6gsYgONO1Ed96QGw0JLWE,158
|
|
140
137
|
athena/types/table_row_data.py,sha256=leurR2kOfMxRhv9qVKfpU-iv1iW3400zEahAH9hwMT0,141
|
|
141
138
|
athena/types/text_content.py,sha256=tcVCPj3tHh5zQcTElr2tdCIjjfx3ZI63rKIlaG8vo64,592
|
|
142
|
-
athena/types/text_format_model.py,sha256=
|
|
139
|
+
athena/types/text_format_model.py,sha256=YlUuw71ElT_LdYUzgetKzs6pabIy_-N-udC4EwVq0ZI,1356
|
|
143
140
|
athena/types/textrotation.py,sha256=wIAadKprL9_UMxUM_V3EJ9XOgC_Rz6otcrnfLXJdqX8,141
|
|
144
141
|
athena/types/theme_color.py,sha256=pSt2QC4JB8qxRhUZX8Hgz_2eEX-ou_lWExIIHcjxZ-A,558
|
|
145
142
|
athena/types/thread_status_response_out.py,sha256=g8OA1dt4u_h1gBd_8NGqiGL-7-zr6rDwYxpzW5VgqHI,1344
|
|
146
143
|
athena/types/type.py,sha256=Gvs56nvBMPcQpOZkfPocGNNb7S05PuINianbT309QAQ,146
|
|
147
144
|
athena/types/wrap_strategy.py,sha256=ykPFCr91HGvzIk9BRppW_UBWoUamFxDhLO_ETzQgVKI,164
|
|
148
145
|
athena/version.py,sha256=tnXYUugs9zF_pkVdem-QBorKSuhEOOuetkR57dADDxE,86
|
|
149
|
-
athena_intelligence-0.1.
|
|
150
|
-
athena_intelligence-0.1.
|
|
151
|
-
athena_intelligence-0.1.
|
|
146
|
+
athena_intelligence-0.1.378.dist-info/METADATA,sha256=VKyGHyS8U2SUQem1425uyAB42bP3005YX7xzm0kEThQ,5440
|
|
147
|
+
athena_intelligence-0.1.378.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
148
|
+
athena_intelligence-0.1.378.dist-info/RECORD,,
|
athena/types/backgroundcolor.py
DELETED
athena/types/color.py
DELETED
athena/types/tabcolor.py
DELETED
|
File without changes
|