athena-intelligence 0.1.263__tar.gz → 0.1.264__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of athena-intelligence might be problematic. Click here for more details.

Files changed (152) hide show
  1. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/__init__.py +0 -3
  4. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/assets/client.py +0 -148
  5. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/assets/raw_client.py +0 -237
  6. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/client_wrapper.py +2 -2
  7. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/__init__.py +0 -3
  8. athena_intelligence-0.1.263/src/athena/types/edit_project_response_out.py +0 -46
  9. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/README.md +0 -0
  10. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/__init__.py +0 -0
  11. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/client.py +0 -0
  12. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/drive/__init__.py +0 -0
  13. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/drive/client.py +0 -0
  14. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/drive/raw_client.py +0 -0
  15. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/general/__init__.py +0 -0
  16. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/general/client.py +0 -0
  17. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/general/raw_client.py +0 -0
  18. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/raw_client.py +0 -0
  19. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/research/__init__.py +0 -0
  20. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/research/client.py +0 -0
  21. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/research/raw_client.py +0 -0
  22. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/sql/__init__.py +0 -0
  23. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/sql/client.py +0 -0
  24. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/agents/sql/raw_client.py +0 -0
  25. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/aop/__init__.py +0 -0
  26. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/aop/client.py +0 -0
  27. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/aop/raw_client.py +0 -0
  28. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/assets/__init__.py +0 -0
  29. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/base_client.py +0 -0
  30. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/client.py +0 -0
  31. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/__init__.py +0 -0
  32. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/api_error.py +0 -0
  33. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/datetime_utils.py +0 -0
  34. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/file.py +0 -0
  35. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/force_multipart.py +0 -0
  36. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/http_client.py +0 -0
  37. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/http_response.py +0 -0
  38. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/jsonable_encoder.py +0 -0
  39. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/pydantic_utilities.py +0 -0
  40. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/query_encoder.py +0 -0
  41. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/remove_none_from_dict.py +0 -0
  42. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/request_options.py +0 -0
  43. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/core/serialization.py +0 -0
  44. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/environment.py +0 -0
  45. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/__init__.py +0 -0
  46. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/bad_request_error.py +0 -0
  47. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/content_too_large_error.py +0 -0
  48. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/internal_server_error.py +0 -0
  49. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/not_found_error.py +0 -0
  50. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/unauthorized_error.py +0 -0
  51. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/unprocessable_entity_error.py +0 -0
  52. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/errors/unsupported_media_type_error.py +0 -0
  53. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/py.typed +0 -0
  54. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/query/__init__.py +0 -0
  55. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/query/client.py +0 -0
  56. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/query/raw_client.py +0 -0
  57. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/query/types/__init__.py +0 -0
  58. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
  59. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/threads/__init__.py +0 -0
  60. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/threads/client.py +0 -0
  61. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/threads/raw_client.py +0 -0
  62. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/__init__.py +0 -0
  63. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/calendar/__init__.py +0 -0
  64. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/calendar/client.py +0 -0
  65. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/calendar/raw_client.py +0 -0
  66. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/client.py +0 -0
  67. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/email/__init__.py +0 -0
  68. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/email/client.py +0 -0
  69. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/email/raw_client.py +0 -0
  70. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/raw_client.py +0 -0
  71. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/sheets/__init__.py +0 -0
  72. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/sheets/client.py +0 -0
  73. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/sheets/raw_client.py +0 -0
  74. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/sheets/types/__init__.py +0 -0
  75. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/sheets/types/update_sheet_range_request_values_item_item.py +0 -0
  76. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/structured_data_extractor/__init__.py +0 -0
  77. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/structured_data_extractor/client.py +0 -0
  78. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
  79. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/tasks/__init__.py +0 -0
  80. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/tasks/client.py +0 -0
  81. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/tasks/raw_client.py +0 -0
  82. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/types/__init__.py +0 -0
  83. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
  84. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/aop_async_execute_response_out.py +0 -0
  85. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/aop_execute_request_in.py +0 -0
  86. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/aop_execute_response_out.py +0 -0
  87. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/asset_content_request_out.py +0 -0
  88. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/asset_node.py +0 -0
  89. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/asset_screenshot_response_out.py +0 -0
  90. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/backgroundcolor.py +0 -0
  91. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/border_model.py +0 -0
  92. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/border_style.py +0 -0
  93. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/borders_model.py +0 -0
  94. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/cell_format.py +0 -0
  95. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/cell_format_horizontal_alignment.py +0 -0
  96. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/cell_format_vertical_alignment.py +0 -0
  97. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/chunk.py +0 -0
  98. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/chunk_content_item.py +0 -0
  99. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/chunk_result.py +0 -0
  100. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/chunk_result_chunk_id.py +0 -0
  101. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/color.py +0 -0
  102. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/content.py +0 -0
  103. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/conversation_asset_info.py +0 -0
  104. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/conversation_message.py +0 -0
  105. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/conversation_result.py +0 -0
  106. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/create_new_sheet_tab_response.py +0 -0
  107. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/create_project_response_out.py +0 -0
  108. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/custom_agent_response.py +0 -0
  109. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/data_frame_request_out.py +0 -0
  110. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
  111. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
  112. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/data_frame_request_out_index_item.py +0 -0
  113. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/data_frame_unknown_format_error.py +0 -0
  114. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/dimension_properties.py +0 -0
  115. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/document_chunk.py +0 -0
  116. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/drive_agent_response.py +0 -0
  117. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/file_chunk_request_out.py +0 -0
  118. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/file_too_large_error.py +0 -0
  119. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/folder_response.py +0 -0
  120. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_config.py +0 -0
  121. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
  122. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_request.py +0 -0
  123. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_response.py +0 -0
  124. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_response_message.py +0 -0
  125. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
  126. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/get_table_response.py +0 -0
  127. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/grid_range.py +0 -0
  128. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/id.py +0 -0
  129. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/image_url_content.py +0 -0
  130. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/input_message.py +0 -0
  131. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/input_message_content_item.py +0 -0
  132. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/number_format_model.py +0 -0
  133. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/number_format_type.py +0 -0
  134. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/paginated_assets_out.py +0 -0
  135. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/prompt_message.py +0 -0
  136. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/public_asset_out.py +0 -0
  137. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/research_agent_response.py +0 -0
  138. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/save_asset_request_out.py +0 -0
  139. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/sheet.py +0 -0
  140. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/sheet_operation_response.py +0 -0
  141. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/sql_agent_response.py +0 -0
  142. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/structured_data_extractor_response.py +0 -0
  143. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/tabcolor.py +0 -0
  144. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/table_row_data.py +0 -0
  145. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/text_content.py +0 -0
  146. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/text_format_model.py +0 -0
  147. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/textrotation.py +0 -0
  148. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/theme_color.py +0 -0
  149. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/thread_status_response_out.py +0 -0
  150. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/type.py +0 -0
  151. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/src/athena/types/wrap_strategy.py +0 -0
  152. {athena_intelligence-0.1.263 → athena_intelligence-0.1.264}/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.263
3
+ Version: 0.1.264
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.263"
6
+ version = "0.1.264"
7
7
  description = "Athena Intelligence Python Library"
8
8
  readme = "README.md"
9
9
  authors = []
@@ -42,7 +42,6 @@ if typing.TYPE_CHECKING:
42
42
  DimensionProperties,
43
43
  DocumentChunk,
44
44
  DriveAgentResponse,
45
- EditProjectResponseOut,
46
45
  FileChunkRequestOut,
47
46
  FileTooLargeError,
48
47
  FolderResponse,
@@ -137,7 +136,6 @@ _dynamic_imports: typing.Dict[str, str] = {
137
136
  "DimensionProperties": ".types",
138
137
  "DocumentChunk": ".types",
139
138
  "DriveAgentResponse": ".types",
140
- "EditProjectResponseOut": ".types",
141
139
  "FileChunkRequestOut": ".types",
142
140
  "FileTooLargeError": ".types",
143
141
  "FolderResponse": ".types",
@@ -254,7 +252,6 @@ __all__ = [
254
252
  "DimensionProperties",
255
253
  "DocumentChunk",
256
254
  "DriveAgentResponse",
257
- "EditProjectResponseOut",
258
255
  "FileChunkRequestOut",
259
256
  "FileTooLargeError",
260
257
  "FolderResponse",
@@ -5,7 +5,6 @@ import typing
5
5
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
6
  from ..core.request_options import RequestOptions
7
7
  from ..types.create_project_response_out import CreateProjectResponseOut
8
- from ..types.edit_project_response_out import EditProjectResponseOut
9
8
  from ..types.paginated_assets_out import PaginatedAssetsOut
10
9
  from ..types.public_asset_out import PublicAssetOut
11
10
  from .raw_client import AsyncRawAssetsClient, RawAssetsClient
@@ -150,74 +149,6 @@ class AssetsClient:
150
149
  )
151
150
  return _response.data
152
151
 
153
- def edit_project(
154
- self,
155
- *,
156
- asset_id: str,
157
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
158
- description: typing.Optional[str] = OMIT,
159
- parent_folder_id: typing.Optional[str] = OMIT,
160
- project_type: typing.Optional[str] = OMIT,
161
- title: typing.Optional[str] = OMIT,
162
- request_options: typing.Optional[RequestOptions] = None,
163
- ) -> EditProjectResponseOut:
164
- """
165
- Edit an existing project's metadata. All fields are optional - only provided fields will be updated. Custom metadata is merged with existing metadata (new keys added, existing keys updated).
166
-
167
- Parameters
168
- ----------
169
- asset_id : str
170
- The ID of the project to edit
171
-
172
- custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
173
- Custom metadata to merge with existing metadata (optional). New keys are added, existing keys are updated.
174
-
175
- description : typing.Optional[str]
176
- New project description (optional)
177
-
178
- parent_folder_id : typing.Optional[str]
179
- New parent folder ID (optional)
180
-
181
- project_type : typing.Optional[str]
182
- New project type (optional, e.g., 'candidate', 'user', 'company')
183
-
184
- title : typing.Optional[str]
185
- New project title (optional)
186
-
187
- request_options : typing.Optional[RequestOptions]
188
- Request-specific configuration.
189
-
190
- Returns
191
- -------
192
- EditProjectResponseOut
193
- Project edited successfully
194
-
195
- Examples
196
- --------
197
- from athena import Athena
198
-
199
- client = Athena(
200
- api_key="YOUR_API_KEY",
201
- )
202
- client.assets.edit_project(
203
- asset_id="asset_project_abc123",
204
- custom_metadata={"interview_date": "2024-03-15", "status": "interviewed"},
205
- description="Updated candidate profile",
206
- project_type="candidate",
207
- title="Jane Smith - Senior Engineer",
208
- )
209
- """
210
- _response = self._raw_client.edit_project(
211
- asset_id=asset_id,
212
- custom_metadata=custom_metadata,
213
- description=description,
214
- parent_folder_id=parent_folder_id,
215
- project_type=project_type,
216
- title=title,
217
- request_options=request_options,
218
- )
219
- return _response.data
220
-
221
152
  def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
222
153
  """
223
154
  Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
@@ -401,85 +332,6 @@ class AsyncAssetsClient:
401
332
  )
402
333
  return _response.data
403
334
 
404
- async def edit_project(
405
- self,
406
- *,
407
- asset_id: str,
408
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
409
- description: typing.Optional[str] = OMIT,
410
- parent_folder_id: typing.Optional[str] = OMIT,
411
- project_type: typing.Optional[str] = OMIT,
412
- title: typing.Optional[str] = OMIT,
413
- request_options: typing.Optional[RequestOptions] = None,
414
- ) -> EditProjectResponseOut:
415
- """
416
- Edit an existing project's metadata. All fields are optional - only provided fields will be updated. Custom metadata is merged with existing metadata (new keys added, existing keys updated).
417
-
418
- Parameters
419
- ----------
420
- asset_id : str
421
- The ID of the project to edit
422
-
423
- custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
424
- Custom metadata to merge with existing metadata (optional). New keys are added, existing keys are updated.
425
-
426
- description : typing.Optional[str]
427
- New project description (optional)
428
-
429
- parent_folder_id : typing.Optional[str]
430
- New parent folder ID (optional)
431
-
432
- project_type : typing.Optional[str]
433
- New project type (optional, e.g., 'candidate', 'user', 'company')
434
-
435
- title : typing.Optional[str]
436
- New project title (optional)
437
-
438
- request_options : typing.Optional[RequestOptions]
439
- Request-specific configuration.
440
-
441
- Returns
442
- -------
443
- EditProjectResponseOut
444
- Project edited successfully
445
-
446
- Examples
447
- --------
448
- import asyncio
449
-
450
- from athena import AsyncAthena
451
-
452
- client = AsyncAthena(
453
- api_key="YOUR_API_KEY",
454
- )
455
-
456
-
457
- async def main() -> None:
458
- await client.assets.edit_project(
459
- asset_id="asset_project_abc123",
460
- custom_metadata={
461
- "interview_date": "2024-03-15",
462
- "status": "interviewed",
463
- },
464
- description="Updated candidate profile",
465
- project_type="candidate",
466
- title="Jane Smith - Senior Engineer",
467
- )
468
-
469
-
470
- asyncio.run(main())
471
- """
472
- _response = await self._raw_client.edit_project(
473
- asset_id=asset_id,
474
- custom_metadata=custom_metadata,
475
- description=description,
476
- parent_folder_id=parent_folder_id,
477
- project_type=project_type,
478
- title=title,
479
- request_options=request_options,
480
- )
481
- return _response.data
482
-
483
335
  async def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
484
336
  """
485
337
  Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
@@ -15,7 +15,6 @@ from ..errors.not_found_error import NotFoundError
15
15
  from ..errors.unauthorized_error import UnauthorizedError
16
16
  from ..errors.unprocessable_entity_error import UnprocessableEntityError
17
17
  from ..types.create_project_response_out import CreateProjectResponseOut
18
- from ..types.edit_project_response_out import EditProjectResponseOut
19
18
  from ..types.paginated_assets_out import PaginatedAssetsOut
20
19
  from ..types.public_asset_out import PublicAssetOut
21
20
 
@@ -200,124 +199,6 @@ class RawAssetsClient:
200
199
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
201
200
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
202
201
 
203
- def edit_project(
204
- self,
205
- *,
206
- asset_id: str,
207
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
208
- description: typing.Optional[str] = OMIT,
209
- parent_folder_id: typing.Optional[str] = OMIT,
210
- project_type: typing.Optional[str] = OMIT,
211
- title: typing.Optional[str] = OMIT,
212
- request_options: typing.Optional[RequestOptions] = None,
213
- ) -> HttpResponse[EditProjectResponseOut]:
214
- """
215
- Edit an existing project's metadata. All fields are optional - only provided fields will be updated. Custom metadata is merged with existing metadata (new keys added, existing keys updated).
216
-
217
- Parameters
218
- ----------
219
- asset_id : str
220
- The ID of the project to edit
221
-
222
- custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
223
- Custom metadata to merge with existing metadata (optional). New keys are added, existing keys are updated.
224
-
225
- description : typing.Optional[str]
226
- New project description (optional)
227
-
228
- parent_folder_id : typing.Optional[str]
229
- New parent folder ID (optional)
230
-
231
- project_type : typing.Optional[str]
232
- New project type (optional, e.g., 'candidate', 'user', 'company')
233
-
234
- title : typing.Optional[str]
235
- New project title (optional)
236
-
237
- request_options : typing.Optional[RequestOptions]
238
- Request-specific configuration.
239
-
240
- Returns
241
- -------
242
- HttpResponse[EditProjectResponseOut]
243
- Project edited successfully
244
- """
245
- _response = self._client_wrapper.httpx_client.request(
246
- "api/v0/assets/edit_project",
247
- method="POST",
248
- json={
249
- "asset_id": asset_id,
250
- "custom_metadata": custom_metadata,
251
- "description": description,
252
- "parent_folder_id": parent_folder_id,
253
- "project_type": project_type,
254
- "title": title,
255
- },
256
- headers={
257
- "content-type": "application/json",
258
- },
259
- request_options=request_options,
260
- omit=OMIT,
261
- )
262
- try:
263
- if 200 <= _response.status_code < 300:
264
- _data = typing.cast(
265
- EditProjectResponseOut,
266
- parse_obj_as(
267
- type_=EditProjectResponseOut, # type: ignore
268
- object_=_response.json(),
269
- ),
270
- )
271
- return HttpResponse(response=_response, data=_data)
272
- if _response.status_code == 400:
273
- raise BadRequestError(
274
- headers=dict(_response.headers),
275
- body=typing.cast(
276
- typing.Optional[typing.Any],
277
- parse_obj_as(
278
- type_=typing.Optional[typing.Any], # type: ignore
279
- object_=_response.json(),
280
- ),
281
- ),
282
- )
283
- if _response.status_code == 404:
284
- raise NotFoundError(
285
- headers=dict(_response.headers),
286
- body=typing.cast(
287
- typing.Optional[typing.Any],
288
- parse_obj_as(
289
- type_=typing.Optional[typing.Any], # type: ignore
290
- object_=_response.json(),
291
- ),
292
- ),
293
- )
294
- if _response.status_code == 422:
295
- raise UnprocessableEntityError(
296
- headers=dict(_response.headers),
297
- body=typing.cast(
298
- typing.Optional[typing.Any],
299
- parse_obj_as(
300
- type_=typing.Optional[typing.Any], # type: ignore
301
- object_=_response.json(),
302
- ),
303
- ),
304
- )
305
- if _response.status_code == 500:
306
- raise InternalServerError(
307
- headers=dict(_response.headers),
308
- body=typing.cast(
309
- typing.Optional[typing.Any],
310
- parse_obj_as(
311
- type_=typing.Optional[typing.Any], # type: ignore
312
- object_=_response.json(),
313
- ),
314
- ),
315
- )
316
- _response_json = _response.json()
317
- except JSONDecodeError:
318
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
319
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
320
-
321
202
  def get(
322
203
  self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None
323
204
  ) -> HttpResponse[PublicAssetOut]:
@@ -567,124 +448,6 @@ class AsyncRawAssetsClient:
567
448
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
568
449
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
569
450
 
570
- async def edit_project(
571
- self,
572
- *,
573
- asset_id: str,
574
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
575
- description: typing.Optional[str] = OMIT,
576
- parent_folder_id: typing.Optional[str] = OMIT,
577
- project_type: typing.Optional[str] = OMIT,
578
- title: typing.Optional[str] = OMIT,
579
- request_options: typing.Optional[RequestOptions] = None,
580
- ) -> AsyncHttpResponse[EditProjectResponseOut]:
581
- """
582
- Edit an existing project's metadata. All fields are optional - only provided fields will be updated. Custom metadata is merged with existing metadata (new keys added, existing keys updated).
583
-
584
- Parameters
585
- ----------
586
- asset_id : str
587
- The ID of the project to edit
588
-
589
- custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
590
- Custom metadata to merge with existing metadata (optional). New keys are added, existing keys are updated.
591
-
592
- description : typing.Optional[str]
593
- New project description (optional)
594
-
595
- parent_folder_id : typing.Optional[str]
596
- New parent folder ID (optional)
597
-
598
- project_type : typing.Optional[str]
599
- New project type (optional, e.g., 'candidate', 'user', 'company')
600
-
601
- title : typing.Optional[str]
602
- New project title (optional)
603
-
604
- request_options : typing.Optional[RequestOptions]
605
- Request-specific configuration.
606
-
607
- Returns
608
- -------
609
- AsyncHttpResponse[EditProjectResponseOut]
610
- Project edited successfully
611
- """
612
- _response = await self._client_wrapper.httpx_client.request(
613
- "api/v0/assets/edit_project",
614
- method="POST",
615
- json={
616
- "asset_id": asset_id,
617
- "custom_metadata": custom_metadata,
618
- "description": description,
619
- "parent_folder_id": parent_folder_id,
620
- "project_type": project_type,
621
- "title": title,
622
- },
623
- headers={
624
- "content-type": "application/json",
625
- },
626
- request_options=request_options,
627
- omit=OMIT,
628
- )
629
- try:
630
- if 200 <= _response.status_code < 300:
631
- _data = typing.cast(
632
- EditProjectResponseOut,
633
- parse_obj_as(
634
- type_=EditProjectResponseOut, # type: ignore
635
- object_=_response.json(),
636
- ),
637
- )
638
- return AsyncHttpResponse(response=_response, data=_data)
639
- if _response.status_code == 400:
640
- raise BadRequestError(
641
- headers=dict(_response.headers),
642
- body=typing.cast(
643
- typing.Optional[typing.Any],
644
- parse_obj_as(
645
- type_=typing.Optional[typing.Any], # type: ignore
646
- object_=_response.json(),
647
- ),
648
- ),
649
- )
650
- if _response.status_code == 404:
651
- raise NotFoundError(
652
- headers=dict(_response.headers),
653
- body=typing.cast(
654
- typing.Optional[typing.Any],
655
- parse_obj_as(
656
- type_=typing.Optional[typing.Any], # type: ignore
657
- object_=_response.json(),
658
- ),
659
- ),
660
- )
661
- if _response.status_code == 422:
662
- raise UnprocessableEntityError(
663
- headers=dict(_response.headers),
664
- body=typing.cast(
665
- typing.Optional[typing.Any],
666
- parse_obj_as(
667
- type_=typing.Optional[typing.Any], # type: ignore
668
- object_=_response.json(),
669
- ),
670
- ),
671
- )
672
- if _response.status_code == 500:
673
- raise InternalServerError(
674
- headers=dict(_response.headers),
675
- body=typing.cast(
676
- typing.Optional[typing.Any],
677
- parse_obj_as(
678
- type_=typing.Optional[typing.Any], # type: ignore
679
- object_=_response.json(),
680
- ),
681
- ),
682
- )
683
- _response_json = _response.json()
684
- except JSONDecodeError:
685
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
686
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
687
-
688
451
  async def get(
689
452
  self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None
690
453
  ) -> AsyncHttpResponse[PublicAssetOut]:
@@ -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.263",
25
+ "User-Agent": "athena-intelligence/0.1.264",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.263",
28
+ "X-Fern-SDK-Version": "0.1.264",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
@@ -39,7 +39,6 @@ if typing.TYPE_CHECKING:
39
39
  from .dimension_properties import DimensionProperties
40
40
  from .document_chunk import DocumentChunk
41
41
  from .drive_agent_response import DriveAgentResponse
42
- from .edit_project_response_out import EditProjectResponseOut
43
42
  from .file_chunk_request_out import FileChunkRequestOut
44
43
  from .file_too_large_error import FileTooLargeError
45
44
  from .folder_response import FolderResponse
@@ -115,7 +114,6 @@ _dynamic_imports: typing.Dict[str, str] = {
115
114
  "DimensionProperties": ".dimension_properties",
116
115
  "DocumentChunk": ".document_chunk",
117
116
  "DriveAgentResponse": ".drive_agent_response",
118
- "EditProjectResponseOut": ".edit_project_response_out",
119
117
  "FileChunkRequestOut": ".file_chunk_request_out",
120
118
  "FileTooLargeError": ".file_too_large_error",
121
119
  "FolderResponse": ".folder_response",
@@ -213,7 +211,6 @@ __all__ = [
213
211
  "DimensionProperties",
214
212
  "DocumentChunk",
215
213
  "DriveAgentResponse",
216
- "EditProjectResponseOut",
217
214
  "FileChunkRequestOut",
218
215
  "FileTooLargeError",
219
216
  "FolderResponse",
@@ -1,46 +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 EditProjectResponseOut(UniversalBaseModel):
10
- """
11
- Response model for editing a project.
12
- """
13
-
14
- asset_id: str = pydantic.Field()
15
- """
16
- The ID of the edited project
17
- """
18
-
19
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
20
- """
21
- The updated custom metadata
22
- """
23
-
24
- description: typing.Optional[str] = pydantic.Field(default=None)
25
- """
26
- The updated project description
27
- """
28
-
29
- project_type: typing.Optional[str] = pydantic.Field(default=None)
30
- """
31
- The updated project type
32
- """
33
-
34
- title: str = pydantic.Field()
35
- """
36
- The updated project title
37
- """
38
-
39
- if IS_PYDANTIC_V2:
40
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
41
- else:
42
-
43
- class Config:
44
- frozen = True
45
- smart_union = True
46
- extra = pydantic.Extra.allow