athena-intelligence 0.1.244__tar.gz → 0.1.385__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of athena-intelligence might be problematic. Click here for more details.
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/PKG-INFO +1 -1
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/pyproject.toml +1 -1
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/__init__.py +15 -12
- athena_intelligence-0.1.385/src/athena/assets/client.py +501 -0
- athena_intelligence-0.1.385/src/athena/assets/raw_client.py +726 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/client.py +9 -13
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/client_wrapper.py +2 -2
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/environment.py +0 -2
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/client.py +4 -15
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/raw_client.py +12 -17
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/__init__.py +15 -12
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/border_model.py +11 -2
- athena_intelligence-0.1.385/src/athena/types/borders_model.py +58 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/cell_format.py +15 -4
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/conversation_asset_info.py +5 -0
- athena_intelligence-0.1.385/src/athena/types/creatable_asset_type.py +5 -0
- athena_intelligence-0.1.385/src/athena/types/create_asset_response_out.py +46 -0
- athena_intelligence-0.1.385/src/athena/types/create_project_response_out.py +51 -0
- athena_intelligence-0.1.385/src/athena/types/dimension_properties.py +49 -0
- athena_intelligence-0.1.385/src/athena/types/grid_range.py +39 -0
- athena_intelligence-0.1.385/src/athena/types/sheet.py +83 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/text_format_model.py +11 -2
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/thread_status_response_out.py +5 -0
- athena_intelligence-0.1.244/src/athena/assets/client.py +0 -154
- athena_intelligence-0.1.244/src/athena/assets/raw_client.py +0 -164
- athena_intelligence-0.1.244/src/athena/types/backgroundcolor.py +0 -7
- athena_intelligence-0.1.244/src/athena/types/borders_model.py +0 -23
- athena_intelligence-0.1.244/src/athena/types/color.py +0 -7
- athena_intelligence-0.1.244/src/athena/types/document_chunk.py +0 -24
- athena_intelligence-0.1.244/src/athena/types/file_chunk_request_out.py +0 -24
- athena_intelligence-0.1.244/src/athena/types/sheet.py +0 -53
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/README.md +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/drive/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/drive/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/drive/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/general/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/general/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/general/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/research/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/research/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/research/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/sql/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/sql/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/agents/sql/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/aop/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/aop/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/aop/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/assets/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/base_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/api_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/datetime_utils.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/file.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/force_multipart.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/http_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/http_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/jsonable_encoder.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/pydantic_utilities.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/query_encoder.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/remove_none_from_dict.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/request_options.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/core/serialization.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/bad_request_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/content_too_large_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/internal_server_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/not_found_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/unauthorized_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/unprocessable_entity_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/errors/unsupported_media_type_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/py.typed +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/query/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/query/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/query/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/query/types/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/threads/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/threads/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/threads/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/calendar/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/calendar/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/calendar/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/email/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/email/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/email/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/sheets/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/sheets/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/sheets/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/sheets/types/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/sheets/types/update_sheet_range_request_values_item_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/structured_data_extractor/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/structured_data_extractor/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/tasks/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/tasks/client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/tasks/raw_client.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/types/__init__.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/aop_async_execute_response_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/aop_execute_request_in.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/aop_execute_response_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/asset_content_request_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/asset_node.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/asset_screenshot_response_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/border_style.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/cell_format_horizontal_alignment.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/cell_format_vertical_alignment.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/chunk.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/chunk_content_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/chunk_result.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/chunk_result_chunk_id.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/content.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/conversation_message.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/conversation_result.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/create_new_sheet_tab_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/custom_agent_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/data_frame_request_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/data_frame_request_out_index_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/data_frame_unknown_format_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/drive_agent_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/file_too_large_error.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/folder_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_config.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_request.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_response_message.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/get_table_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/id.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/image_url_content.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/input_message.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/input_message_content_item.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/number_format_model.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/number_format_type.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/paginated_assets_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/prompt_message.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/public_asset_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/research_agent_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/save_asset_request_out.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/sheet_operation_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/sql_agent_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/structured_data_extractor_response.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/table_row_data.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/text_content.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/textrotation.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/theme_color.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/type.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/types/wrap_strategy.py +0 -0
- {athena_intelligence-0.1.244 → athena_intelligence-0.1.385}/src/athena/version.py +0 -0
|
@@ -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,21 +25,22 @@ 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,
|
|
33
31
|
ConversationResult,
|
|
32
|
+
CreatableAssetType,
|
|
33
|
+
CreateAssetResponseOut,
|
|
34
34
|
CreateNewSheetTabResponse,
|
|
35
|
+
CreateProjectResponseOut,
|
|
35
36
|
CustomAgentResponse,
|
|
36
37
|
DataFrameRequestOut,
|
|
37
38
|
DataFrameRequestOutColumnsItem,
|
|
38
39
|
DataFrameRequestOutDataItemItem,
|
|
39
40
|
DataFrameRequestOutIndexItem,
|
|
40
41
|
DataFrameUnknownFormatError,
|
|
41
|
-
|
|
42
|
+
DimensionProperties,
|
|
42
43
|
DriveAgentResponse,
|
|
43
|
-
FileChunkRequestOut,
|
|
44
44
|
FileTooLargeError,
|
|
45
45
|
FolderResponse,
|
|
46
46
|
GeneralAgentConfig,
|
|
@@ -50,6 +50,7 @@ if typing.TYPE_CHECKING:
|
|
|
50
50
|
GeneralAgentResponseMessage,
|
|
51
51
|
GeneralAgentResponseMessageKwargs,
|
|
52
52
|
GetTableResponse,
|
|
53
|
+
GridRange,
|
|
53
54
|
Id,
|
|
54
55
|
ImageUrlContent,
|
|
55
56
|
InputMessage,
|
|
@@ -101,7 +102,6 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
101
102
|
"AsyncAthena": ".client",
|
|
102
103
|
"Athena": ".client",
|
|
103
104
|
"AthenaEnvironment": ".environment",
|
|
104
|
-
"Backgroundcolor": ".types",
|
|
105
105
|
"BadRequestError": ".errors",
|
|
106
106
|
"BorderModel": ".types",
|
|
107
107
|
"BorderStyle": ".types",
|
|
@@ -115,22 +115,23 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
115
115
|
"ChunkContentItem_Text": ".types",
|
|
116
116
|
"ChunkResult": ".types",
|
|
117
117
|
"ChunkResultChunkId": ".types",
|
|
118
|
-
"Color": ".types",
|
|
119
118
|
"Content": ".types",
|
|
120
119
|
"ContentTooLargeError": ".errors",
|
|
121
120
|
"ConversationAssetInfo": ".types",
|
|
122
121
|
"ConversationMessage": ".types",
|
|
123
122
|
"ConversationResult": ".types",
|
|
123
|
+
"CreatableAssetType": ".types",
|
|
124
|
+
"CreateAssetResponseOut": ".types",
|
|
124
125
|
"CreateNewSheetTabResponse": ".types",
|
|
126
|
+
"CreateProjectResponseOut": ".types",
|
|
125
127
|
"CustomAgentResponse": ".types",
|
|
126
128
|
"DataFrameRequestOut": ".types",
|
|
127
129
|
"DataFrameRequestOutColumnsItem": ".types",
|
|
128
130
|
"DataFrameRequestOutDataItemItem": ".types",
|
|
129
131
|
"DataFrameRequestOutIndexItem": ".types",
|
|
130
132
|
"DataFrameUnknownFormatError": ".types",
|
|
131
|
-
"
|
|
133
|
+
"DimensionProperties": ".types",
|
|
132
134
|
"DriveAgentResponse": ".types",
|
|
133
|
-
"FileChunkRequestOut": ".types",
|
|
134
135
|
"FileTooLargeError": ".types",
|
|
135
136
|
"FolderResponse": ".types",
|
|
136
137
|
"GeneralAgentConfig": ".types",
|
|
@@ -140,6 +141,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
140
141
|
"GeneralAgentResponseMessage": ".types",
|
|
141
142
|
"GeneralAgentResponseMessageKwargs": ".types",
|
|
142
143
|
"GetTableResponse": ".types",
|
|
144
|
+
"GridRange": ".types",
|
|
143
145
|
"Id": ".types",
|
|
144
146
|
"ImageUrlContent": ".types",
|
|
145
147
|
"InputMessage": ".types",
|
|
@@ -213,7 +215,6 @@ __all__ = [
|
|
|
213
215
|
"AsyncAthena",
|
|
214
216
|
"Athena",
|
|
215
217
|
"AthenaEnvironment",
|
|
216
|
-
"Backgroundcolor",
|
|
217
218
|
"BadRequestError",
|
|
218
219
|
"BorderModel",
|
|
219
220
|
"BorderStyle",
|
|
@@ -227,22 +228,23 @@ __all__ = [
|
|
|
227
228
|
"ChunkContentItem_Text",
|
|
228
229
|
"ChunkResult",
|
|
229
230
|
"ChunkResultChunkId",
|
|
230
|
-
"Color",
|
|
231
231
|
"Content",
|
|
232
232
|
"ContentTooLargeError",
|
|
233
233
|
"ConversationAssetInfo",
|
|
234
234
|
"ConversationMessage",
|
|
235
235
|
"ConversationResult",
|
|
236
|
+
"CreatableAssetType",
|
|
237
|
+
"CreateAssetResponseOut",
|
|
236
238
|
"CreateNewSheetTabResponse",
|
|
239
|
+
"CreateProjectResponseOut",
|
|
237
240
|
"CustomAgentResponse",
|
|
238
241
|
"DataFrameRequestOut",
|
|
239
242
|
"DataFrameRequestOutColumnsItem",
|
|
240
243
|
"DataFrameRequestOutDataItemItem",
|
|
241
244
|
"DataFrameRequestOutIndexItem",
|
|
242
245
|
"DataFrameUnknownFormatError",
|
|
243
|
-
"
|
|
246
|
+
"DimensionProperties",
|
|
244
247
|
"DriveAgentResponse",
|
|
245
|
-
"FileChunkRequestOut",
|
|
246
248
|
"FileTooLargeError",
|
|
247
249
|
"FolderResponse",
|
|
248
250
|
"GeneralAgentConfig",
|
|
@@ -252,6 +254,7 @@ __all__ = [
|
|
|
252
254
|
"GeneralAgentResponseMessage",
|
|
253
255
|
"GeneralAgentResponseMessageKwargs",
|
|
254
256
|
"GetTableResponse",
|
|
257
|
+
"GridRange",
|
|
255
258
|
"Id",
|
|
256
259
|
"ImageUrlContent",
|
|
257
260
|
"InputMessage",
|
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
+
from ..core.request_options import RequestOptions
|
|
7
|
+
from ..types.creatable_asset_type import CreatableAssetType
|
|
8
|
+
from ..types.create_asset_response_out import CreateAssetResponseOut
|
|
9
|
+
from ..types.create_project_response_out import CreateProjectResponseOut
|
|
10
|
+
from ..types.paginated_assets_out import PaginatedAssetsOut
|
|
11
|
+
from ..types.public_asset_out import PublicAssetOut
|
|
12
|
+
from .raw_client import AsyncRawAssetsClient, RawAssetsClient
|
|
13
|
+
|
|
14
|
+
# this is used as the default value for optional parameters
|
|
15
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class AssetsClient:
|
|
19
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
20
|
+
self._raw_client = RawAssetsClient(client_wrapper=client_wrapper)
|
|
21
|
+
|
|
22
|
+
@property
|
|
23
|
+
def with_raw_response(self) -> RawAssetsClient:
|
|
24
|
+
"""
|
|
25
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
26
|
+
|
|
27
|
+
Returns
|
|
28
|
+
-------
|
|
29
|
+
RawAssetsClient
|
|
30
|
+
"""
|
|
31
|
+
return self._raw_client
|
|
32
|
+
|
|
33
|
+
def list(
|
|
34
|
+
self,
|
|
35
|
+
*,
|
|
36
|
+
limit: typing.Optional[int] = None,
|
|
37
|
+
offset: typing.Optional[int] = None,
|
|
38
|
+
filters: typing.Optional[str] = None,
|
|
39
|
+
sort: typing.Optional[str] = None,
|
|
40
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
41
|
+
) -> PaginatedAssetsOut:
|
|
42
|
+
"""
|
|
43
|
+
Retrieve a paginated list of assets with optional filtering and sorting. Assets include documents, presentations, spreadsheets, images, videos, and other file types managed by Athena Intelligence.
|
|
44
|
+
|
|
45
|
+
Parameters
|
|
46
|
+
----------
|
|
47
|
+
limit : typing.Optional[int]
|
|
48
|
+
Maximum number of assets to return per page (1-500)
|
|
49
|
+
|
|
50
|
+
offset : typing.Optional[int]
|
|
51
|
+
Number of assets to skip for pagination
|
|
52
|
+
|
|
53
|
+
filters : typing.Optional[str]
|
|
54
|
+
JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status
|
|
55
|
+
|
|
56
|
+
sort : typing.Optional[str]
|
|
57
|
+
JSON string of sort criteria: [{"field": "updated_at", "direction": "desc"}]. Supported fields: created_by_id, created_by_email, created_at, updated_at, is_archived, is_hidden, summary_ready, summary_status
|
|
58
|
+
|
|
59
|
+
request_options : typing.Optional[RequestOptions]
|
|
60
|
+
Request-specific configuration.
|
|
61
|
+
|
|
62
|
+
Returns
|
|
63
|
+
-------
|
|
64
|
+
PaginatedAssetsOut
|
|
65
|
+
Successfully retrieved paginated list of assets
|
|
66
|
+
|
|
67
|
+
Examples
|
|
68
|
+
--------
|
|
69
|
+
from athena import Athena
|
|
70
|
+
|
|
71
|
+
client = Athena(
|
|
72
|
+
api_key="YOUR_API_KEY",
|
|
73
|
+
)
|
|
74
|
+
client.assets.list(
|
|
75
|
+
limit=1,
|
|
76
|
+
offset=1,
|
|
77
|
+
filters="filters",
|
|
78
|
+
sort="sort",
|
|
79
|
+
)
|
|
80
|
+
"""
|
|
81
|
+
_response = self._raw_client.list(
|
|
82
|
+
limit=limit, offset=offset, filters=filters, sort=sort, request_options=request_options
|
|
83
|
+
)
|
|
84
|
+
return _response.data
|
|
85
|
+
|
|
86
|
+
def create(
|
|
87
|
+
self,
|
|
88
|
+
*,
|
|
89
|
+
asset_type: CreatableAssetType,
|
|
90
|
+
parent_folder_id: typing.Optional[str] = OMIT,
|
|
91
|
+
title: typing.Optional[str] = OMIT,
|
|
92
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
93
|
+
) -> CreateAssetResponseOut:
|
|
94
|
+
"""
|
|
95
|
+
Create a new asset such as a spreadsheet, document, or folder in your workspace. This endpoint uses internal GraphQL mutations to create assets with proper permissions and workspace integration.
|
|
96
|
+
|
|
97
|
+
Parameters
|
|
98
|
+
----------
|
|
99
|
+
asset_type : CreatableAssetType
|
|
100
|
+
Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder'
|
|
101
|
+
|
|
102
|
+
parent_folder_id : typing.Optional[str]
|
|
103
|
+
ID of the parent folder to create the asset in
|
|
104
|
+
|
|
105
|
+
title : typing.Optional[str]
|
|
106
|
+
Title for the new asset
|
|
107
|
+
|
|
108
|
+
request_options : typing.Optional[RequestOptions]
|
|
109
|
+
Request-specific configuration.
|
|
110
|
+
|
|
111
|
+
Returns
|
|
112
|
+
-------
|
|
113
|
+
CreateAssetResponseOut
|
|
114
|
+
Asset created successfully
|
|
115
|
+
|
|
116
|
+
Examples
|
|
117
|
+
--------
|
|
118
|
+
from athena import Athena
|
|
119
|
+
|
|
120
|
+
client = Athena(
|
|
121
|
+
api_key="YOUR_API_KEY",
|
|
122
|
+
)
|
|
123
|
+
client.assets.create(
|
|
124
|
+
asset_type="spreadsheet",
|
|
125
|
+
parent_folder_id="asset_folder_12345",
|
|
126
|
+
title="My New Spreadsheet",
|
|
127
|
+
)
|
|
128
|
+
"""
|
|
129
|
+
_response = self._raw_client.create(
|
|
130
|
+
asset_type=asset_type, parent_folder_id=parent_folder_id, title=title, request_options=request_options
|
|
131
|
+
)
|
|
132
|
+
return _response.data
|
|
133
|
+
|
|
134
|
+
def create_project(
|
|
135
|
+
self,
|
|
136
|
+
*,
|
|
137
|
+
title: str,
|
|
138
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
139
|
+
description: typing.Optional[str] = OMIT,
|
|
140
|
+
parent_folder_id: typing.Optional[str] = OMIT,
|
|
141
|
+
project_type: typing.Optional[str] = OMIT,
|
|
142
|
+
share_with_emails: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
143
|
+
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
144
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
145
|
+
) -> CreateProjectResponseOut:
|
|
146
|
+
"""
|
|
147
|
+
Create a new project with custom metadata. Projects can be typed (e.g., 'candidate', 'user', 'company') and include flexible custom metadata for storing additional information.
|
|
148
|
+
|
|
149
|
+
Parameters
|
|
150
|
+
----------
|
|
151
|
+
title : str
|
|
152
|
+
The project title
|
|
153
|
+
|
|
154
|
+
custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
155
|
+
A flexible dictionary for storing custom metadata
|
|
156
|
+
|
|
157
|
+
description : typing.Optional[str]
|
|
158
|
+
Optional project description
|
|
159
|
+
|
|
160
|
+
parent_folder_id : typing.Optional[str]
|
|
161
|
+
Optional parent folder ID
|
|
162
|
+
|
|
163
|
+
project_type : typing.Optional[str]
|
|
164
|
+
User-defined project type (e.g., 'candidate', 'user', 'company')
|
|
165
|
+
|
|
166
|
+
share_with_emails : typing.Optional[typing.Sequence[str]]
|
|
167
|
+
Optional list of email addresses to share the project with (VIEW permission)
|
|
168
|
+
|
|
169
|
+
tags : typing.Optional[typing.Sequence[str]]
|
|
170
|
+
Optional list of tags for categorizing the project
|
|
171
|
+
|
|
172
|
+
request_options : typing.Optional[RequestOptions]
|
|
173
|
+
Request-specific configuration.
|
|
174
|
+
|
|
175
|
+
Returns
|
|
176
|
+
-------
|
|
177
|
+
CreateProjectResponseOut
|
|
178
|
+
Project created successfully
|
|
179
|
+
|
|
180
|
+
Examples
|
|
181
|
+
--------
|
|
182
|
+
from athena import Athena
|
|
183
|
+
|
|
184
|
+
client = Athena(
|
|
185
|
+
api_key="YOUR_API_KEY",
|
|
186
|
+
)
|
|
187
|
+
client.assets.create_project(
|
|
188
|
+
custom_metadata={
|
|
189
|
+
"email": "john.doe@example.com",
|
|
190
|
+
"phone": "+1-555-0123",
|
|
191
|
+
"source": "linkedin",
|
|
192
|
+
"status": "active",
|
|
193
|
+
},
|
|
194
|
+
description="Candidate profile for senior software engineer position",
|
|
195
|
+
parent_folder_id="asset_folder_123",
|
|
196
|
+
project_type="candidate",
|
|
197
|
+
share_with_emails=["colleague@example.com", "manager@example.com"],
|
|
198
|
+
tags=["engineering", "senior", "active"],
|
|
199
|
+
title="John Doe - Software Engineer",
|
|
200
|
+
)
|
|
201
|
+
"""
|
|
202
|
+
_response = self._raw_client.create_project(
|
|
203
|
+
title=title,
|
|
204
|
+
custom_metadata=custom_metadata,
|
|
205
|
+
description=description,
|
|
206
|
+
parent_folder_id=parent_folder_id,
|
|
207
|
+
project_type=project_type,
|
|
208
|
+
share_with_emails=share_with_emails,
|
|
209
|
+
tags=tags,
|
|
210
|
+
request_options=request_options,
|
|
211
|
+
)
|
|
212
|
+
return _response.data
|
|
213
|
+
|
|
214
|
+
def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
|
|
215
|
+
"""
|
|
216
|
+
Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
|
|
217
|
+
|
|
218
|
+
Parameters
|
|
219
|
+
----------
|
|
220
|
+
asset_id : str
|
|
221
|
+
|
|
222
|
+
request_options : typing.Optional[RequestOptions]
|
|
223
|
+
Request-specific configuration.
|
|
224
|
+
|
|
225
|
+
Returns
|
|
226
|
+
-------
|
|
227
|
+
PublicAssetOut
|
|
228
|
+
Successfully retrieved asset
|
|
229
|
+
|
|
230
|
+
Examples
|
|
231
|
+
--------
|
|
232
|
+
from athena import Athena
|
|
233
|
+
|
|
234
|
+
client = Athena(
|
|
235
|
+
api_key="YOUR_API_KEY",
|
|
236
|
+
)
|
|
237
|
+
client.assets.get(
|
|
238
|
+
asset_id="asset_id",
|
|
239
|
+
)
|
|
240
|
+
"""
|
|
241
|
+
_response = self._raw_client.get(asset_id, request_options=request_options)
|
|
242
|
+
return _response.data
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
class AsyncAssetsClient:
|
|
246
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
247
|
+
self._raw_client = AsyncRawAssetsClient(client_wrapper=client_wrapper)
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
def with_raw_response(self) -> AsyncRawAssetsClient:
|
|
251
|
+
"""
|
|
252
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
253
|
+
|
|
254
|
+
Returns
|
|
255
|
+
-------
|
|
256
|
+
AsyncRawAssetsClient
|
|
257
|
+
"""
|
|
258
|
+
return self._raw_client
|
|
259
|
+
|
|
260
|
+
async def list(
|
|
261
|
+
self,
|
|
262
|
+
*,
|
|
263
|
+
limit: typing.Optional[int] = None,
|
|
264
|
+
offset: typing.Optional[int] = None,
|
|
265
|
+
filters: typing.Optional[str] = None,
|
|
266
|
+
sort: typing.Optional[str] = None,
|
|
267
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
268
|
+
) -> PaginatedAssetsOut:
|
|
269
|
+
"""
|
|
270
|
+
Retrieve a paginated list of assets with optional filtering and sorting. Assets include documents, presentations, spreadsheets, images, videos, and other file types managed by Athena Intelligence.
|
|
271
|
+
|
|
272
|
+
Parameters
|
|
273
|
+
----------
|
|
274
|
+
limit : typing.Optional[int]
|
|
275
|
+
Maximum number of assets to return per page (1-500)
|
|
276
|
+
|
|
277
|
+
offset : typing.Optional[int]
|
|
278
|
+
Number of assets to skip for pagination
|
|
279
|
+
|
|
280
|
+
filters : typing.Optional[str]
|
|
281
|
+
JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status
|
|
282
|
+
|
|
283
|
+
sort : typing.Optional[str]
|
|
284
|
+
JSON string of sort criteria: [{"field": "updated_at", "direction": "desc"}]. Supported fields: created_by_id, created_by_email, created_at, updated_at, is_archived, is_hidden, summary_ready, summary_status
|
|
285
|
+
|
|
286
|
+
request_options : typing.Optional[RequestOptions]
|
|
287
|
+
Request-specific configuration.
|
|
288
|
+
|
|
289
|
+
Returns
|
|
290
|
+
-------
|
|
291
|
+
PaginatedAssetsOut
|
|
292
|
+
Successfully retrieved paginated list of assets
|
|
293
|
+
|
|
294
|
+
Examples
|
|
295
|
+
--------
|
|
296
|
+
import asyncio
|
|
297
|
+
|
|
298
|
+
from athena import AsyncAthena
|
|
299
|
+
|
|
300
|
+
client = AsyncAthena(
|
|
301
|
+
api_key="YOUR_API_KEY",
|
|
302
|
+
)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
async def main() -> None:
|
|
306
|
+
await client.assets.list(
|
|
307
|
+
limit=1,
|
|
308
|
+
offset=1,
|
|
309
|
+
filters="filters",
|
|
310
|
+
sort="sort",
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
asyncio.run(main())
|
|
315
|
+
"""
|
|
316
|
+
_response = await self._raw_client.list(
|
|
317
|
+
limit=limit, offset=offset, filters=filters, sort=sort, request_options=request_options
|
|
318
|
+
)
|
|
319
|
+
return _response.data
|
|
320
|
+
|
|
321
|
+
async def create(
|
|
322
|
+
self,
|
|
323
|
+
*,
|
|
324
|
+
asset_type: CreatableAssetType,
|
|
325
|
+
parent_folder_id: typing.Optional[str] = OMIT,
|
|
326
|
+
title: typing.Optional[str] = OMIT,
|
|
327
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
328
|
+
) -> CreateAssetResponseOut:
|
|
329
|
+
"""
|
|
330
|
+
Create a new asset such as a spreadsheet, document, or folder in your workspace. This endpoint uses internal GraphQL mutations to create assets with proper permissions and workspace integration.
|
|
331
|
+
|
|
332
|
+
Parameters
|
|
333
|
+
----------
|
|
334
|
+
asset_type : CreatableAssetType
|
|
335
|
+
Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder'
|
|
336
|
+
|
|
337
|
+
parent_folder_id : typing.Optional[str]
|
|
338
|
+
ID of the parent folder to create the asset in
|
|
339
|
+
|
|
340
|
+
title : typing.Optional[str]
|
|
341
|
+
Title for the new asset
|
|
342
|
+
|
|
343
|
+
request_options : typing.Optional[RequestOptions]
|
|
344
|
+
Request-specific configuration.
|
|
345
|
+
|
|
346
|
+
Returns
|
|
347
|
+
-------
|
|
348
|
+
CreateAssetResponseOut
|
|
349
|
+
Asset created successfully
|
|
350
|
+
|
|
351
|
+
Examples
|
|
352
|
+
--------
|
|
353
|
+
import asyncio
|
|
354
|
+
|
|
355
|
+
from athena import AsyncAthena
|
|
356
|
+
|
|
357
|
+
client = AsyncAthena(
|
|
358
|
+
api_key="YOUR_API_KEY",
|
|
359
|
+
)
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
async def main() -> None:
|
|
363
|
+
await client.assets.create(
|
|
364
|
+
asset_type="spreadsheet",
|
|
365
|
+
parent_folder_id="asset_folder_12345",
|
|
366
|
+
title="My New Spreadsheet",
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
asyncio.run(main())
|
|
371
|
+
"""
|
|
372
|
+
_response = await self._raw_client.create(
|
|
373
|
+
asset_type=asset_type, parent_folder_id=parent_folder_id, title=title, request_options=request_options
|
|
374
|
+
)
|
|
375
|
+
return _response.data
|
|
376
|
+
|
|
377
|
+
async def create_project(
|
|
378
|
+
self,
|
|
379
|
+
*,
|
|
380
|
+
title: str,
|
|
381
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
382
|
+
description: typing.Optional[str] = OMIT,
|
|
383
|
+
parent_folder_id: typing.Optional[str] = OMIT,
|
|
384
|
+
project_type: typing.Optional[str] = OMIT,
|
|
385
|
+
share_with_emails: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
386
|
+
tags: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
387
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
388
|
+
) -> CreateProjectResponseOut:
|
|
389
|
+
"""
|
|
390
|
+
Create a new project with custom metadata. Projects can be typed (e.g., 'candidate', 'user', 'company') and include flexible custom metadata for storing additional information.
|
|
391
|
+
|
|
392
|
+
Parameters
|
|
393
|
+
----------
|
|
394
|
+
title : str
|
|
395
|
+
The project title
|
|
396
|
+
|
|
397
|
+
custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
398
|
+
A flexible dictionary for storing custom metadata
|
|
399
|
+
|
|
400
|
+
description : typing.Optional[str]
|
|
401
|
+
Optional project description
|
|
402
|
+
|
|
403
|
+
parent_folder_id : typing.Optional[str]
|
|
404
|
+
Optional parent folder ID
|
|
405
|
+
|
|
406
|
+
project_type : typing.Optional[str]
|
|
407
|
+
User-defined project type (e.g., 'candidate', 'user', 'company')
|
|
408
|
+
|
|
409
|
+
share_with_emails : typing.Optional[typing.Sequence[str]]
|
|
410
|
+
Optional list of email addresses to share the project with (VIEW permission)
|
|
411
|
+
|
|
412
|
+
tags : typing.Optional[typing.Sequence[str]]
|
|
413
|
+
Optional list of tags for categorizing the project
|
|
414
|
+
|
|
415
|
+
request_options : typing.Optional[RequestOptions]
|
|
416
|
+
Request-specific configuration.
|
|
417
|
+
|
|
418
|
+
Returns
|
|
419
|
+
-------
|
|
420
|
+
CreateProjectResponseOut
|
|
421
|
+
Project created successfully
|
|
422
|
+
|
|
423
|
+
Examples
|
|
424
|
+
--------
|
|
425
|
+
import asyncio
|
|
426
|
+
|
|
427
|
+
from athena import AsyncAthena
|
|
428
|
+
|
|
429
|
+
client = AsyncAthena(
|
|
430
|
+
api_key="YOUR_API_KEY",
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
async def main() -> None:
|
|
435
|
+
await client.assets.create_project(
|
|
436
|
+
custom_metadata={
|
|
437
|
+
"email": "john.doe@example.com",
|
|
438
|
+
"phone": "+1-555-0123",
|
|
439
|
+
"source": "linkedin",
|
|
440
|
+
"status": "active",
|
|
441
|
+
},
|
|
442
|
+
description="Candidate profile for senior software engineer position",
|
|
443
|
+
parent_folder_id="asset_folder_123",
|
|
444
|
+
project_type="candidate",
|
|
445
|
+
share_with_emails=["colleague@example.com", "manager@example.com"],
|
|
446
|
+
tags=["engineering", "senior", "active"],
|
|
447
|
+
title="John Doe - Software Engineer",
|
|
448
|
+
)
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
asyncio.run(main())
|
|
452
|
+
"""
|
|
453
|
+
_response = await self._raw_client.create_project(
|
|
454
|
+
title=title,
|
|
455
|
+
custom_metadata=custom_metadata,
|
|
456
|
+
description=description,
|
|
457
|
+
parent_folder_id=parent_folder_id,
|
|
458
|
+
project_type=project_type,
|
|
459
|
+
share_with_emails=share_with_emails,
|
|
460
|
+
tags=tags,
|
|
461
|
+
request_options=request_options,
|
|
462
|
+
)
|
|
463
|
+
return _response.data
|
|
464
|
+
|
|
465
|
+
async def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
|
|
466
|
+
"""
|
|
467
|
+
Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
|
|
468
|
+
|
|
469
|
+
Parameters
|
|
470
|
+
----------
|
|
471
|
+
asset_id : str
|
|
472
|
+
|
|
473
|
+
request_options : typing.Optional[RequestOptions]
|
|
474
|
+
Request-specific configuration.
|
|
475
|
+
|
|
476
|
+
Returns
|
|
477
|
+
-------
|
|
478
|
+
PublicAssetOut
|
|
479
|
+
Successfully retrieved asset
|
|
480
|
+
|
|
481
|
+
Examples
|
|
482
|
+
--------
|
|
483
|
+
import asyncio
|
|
484
|
+
|
|
485
|
+
from athena import AsyncAthena
|
|
486
|
+
|
|
487
|
+
client = AsyncAthena(
|
|
488
|
+
api_key="YOUR_API_KEY",
|
|
489
|
+
)
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
async def main() -> None:
|
|
493
|
+
await client.assets.get(
|
|
494
|
+
asset_id="asset_id",
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
asyncio.run(main())
|
|
499
|
+
"""
|
|
500
|
+
_response = await self._raw_client.get(asset_id, request_options=request_options)
|
|
501
|
+
return _response.data
|