athena-intelligence 0.1.61__py3-none-any.whl → 0.1.62__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 CHANGED
@@ -4,6 +4,7 @@ from .types import (
4
4
  Dataset,
5
5
  Document,
6
6
  ExcecuteToolFirstWorkflowOut,
7
+ FileDataResponse,
7
8
  FirecrawlScrapeUrlDataReponseDto,
8
9
  FirecrawlScrapeUrlMetadata,
9
10
  GetDatasetsResponse,
@@ -38,6 +39,7 @@ __all__ = [
38
39
  "Dataset",
39
40
  "Document",
40
41
  "ExcecuteToolFirstWorkflowOut",
42
+ "FileDataResponse",
41
43
  "FirecrawlScrapeUrlDataReponseDto",
42
44
  "FirecrawlScrapeUrlMetadata",
43
45
  "GetDatasetsResponse",
@@ -17,7 +17,7 @@ class BaseClientWrapper:
17
17
  headers: typing.Dict[str, str] = {
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "athena-intelligence",
20
- "X-Fern-SDK-Version": "0.1.61",
20
+ "X-Fern-SDK-Version": "0.1.62",
21
21
  }
22
22
  headers["X-API-KEY"] = self.api_key
23
23
  return headers
athena/types/__init__.py CHANGED
@@ -3,6 +3,7 @@
3
3
  from .dataset import Dataset
4
4
  from .document import Document
5
5
  from .excecute_tool_first_workflow_out import ExcecuteToolFirstWorkflowOut
6
+ from .file_data_response import FileDataResponse
6
7
  from .firecrawl_scrape_url_data_reponse_dto import FirecrawlScrapeUrlDataReponseDto
7
8
  from .firecrawl_scrape_url_metadata import FirecrawlScrapeUrlMetadata
8
9
  from .get_datasets_response import GetDatasetsResponse
@@ -31,6 +32,7 @@ __all__ = [
31
32
  "Dataset",
32
33
  "Document",
33
34
  "ExcecuteToolFirstWorkflowOut",
35
+ "FileDataResponse",
34
36
  "FirecrawlScrapeUrlDataReponseDto",
35
37
  "FirecrawlScrapeUrlMetadata",
36
38
  "GetDatasetsResponse",
@@ -0,0 +1,32 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from ..core.pydantic_utilities import pydantic_v1
8
+
9
+
10
+ class FileDataResponse(pydantic_v1.BaseModel):
11
+ file: typing.Optional[str] = None
12
+ size: typing.Optional[int] = None
13
+ filename: typing.Optional[str] = None
14
+ content_type: typing.Optional[str] = None
15
+ status: typing.Optional[bool] = None
16
+ error: typing.Optional[str] = None
17
+ message: typing.Optional[str] = None
18
+ athena_doc_id: typing.Optional[str] = None
19
+
20
+ def json(self, **kwargs: typing.Any) -> str:
21
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
22
+ return super().json(**kwargs_with_defaults)
23
+
24
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().dict(**kwargs_with_defaults)
27
+
28
+ class Config:
29
+ frozen = True
30
+ smart_union = True
31
+ extra = pydantic_v1.Extra.allow
32
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -5,11 +5,12 @@ import typing
5
5
 
6
6
  from ..core.datetime_utils import serialize_datetime
7
7
  from ..core.pydantic_utilities import pydantic_v1
8
+ from .file_data_response import FileDataResponse
8
9
 
9
10
 
10
11
  class UploadDocumentsOut(pydantic_v1.BaseModel):
11
12
  success: bool
12
- uploaded_document_names: typing.Optional[typing.List[str]] = None
13
+ uploaded_documents: typing.Optional[typing.List[FileDataResponse]] = None
13
14
 
14
15
  def json(self, **kwargs: typing.Any) -> str:
15
16
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.61
3
+ Version: 0.1.62
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,11 +1,11 @@
1
- athena/__init__.py,sha256=nW9mY6EhMcCCepxsoYE8Tg5ZiTVn-Jt6ktFfKDz6Rfw,1651
1
+ athena/__init__.py,sha256=kwliHRjVo_SMeMCAvmreg1pycpiErrhKeFX-tgn3JA4,1697
2
2
  athena/base_client.py,sha256=7bAebRvrpMkwOoEVP1rtWJulF9W3V2bwua4b6FxFm4w,6867
3
3
  athena/chain/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  athena/chain/client.py,sha256=2vSu7d4RvgbGc7jbWpKkCs5dU-ryCIJ1i0I1EsoCEdQ,16177
5
5
  athena/client.py,sha256=8QypiDlbZ0C1YsJh6GzhylLVCZXDQc1MCJTURo2_vvI,3576
6
6
  athena/core/__init__.py,sha256=1pNSKkwyQvMl_F0wohBqmoQAITptg3zlvCwsoSSzy7c,853
7
7
  athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
8
- athena/core/client_wrapper.py,sha256=0dRRrGAub45PEbcQ9RgwH2_NeNjdS7VzywLfzGyGaGE,1495
8
+ athena/core/client_wrapper.py,sha256=M9RdU8r1ZxZ8pnSehNGROhbhC9YYBedrfwP3er_jV10,1495
9
9
  athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
10
10
  athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
11
11
  athena/core/http_client.py,sha256=5ok6hqgZDJhg57EHvMnr0BBaHdG50QxFPKaCZ9aVWTc,5059
@@ -32,10 +32,11 @@ athena/snippet/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
32
32
  athena/snippet/client.py,sha256=EE2ADdtSvk_c3-NkVMfwS1r29-y7YhozPoqXc4DPj8k,11323
33
33
  athena/tools/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
34
34
  athena/tools/client.py,sha256=eILS3_ErH3rhYpMMFhTnDz00QochB0Bvh0njn7qFSy0,26539
35
- athena/types/__init__.py,sha256=TNV20Why134hrwdFekiW1OdWquR3mxPeRYPTNPM8KcE,1884
35
+ athena/types/__init__.py,sha256=9XwKPDwCBCtoRh1rSQTgsJdR3IVfmigA6n1iRuOiM0E,1957
36
36
  athena/types/dataset.py,sha256=ShFYop4Pj-pscWrjWZQFboUmK5TDX3NzP0xNRZimpp8,994
37
37
  athena/types/document.py,sha256=evK_-wGk07kB8y5xyPMFCgqDbItuxCAawdUN20b6zFg,1061
38
38
  athena/types/excecute_tool_first_workflow_out.py,sha256=T4GxP3yzTY3XkumdpUdXbn8Tx_iNc1exed8N2SnwV2w,875
39
+ athena/types/file_data_response.py,sha256=DVkcuaZYDAI-2Ih4xWU5tVsS0cMPoyDOEyeiG6i2xI8,1171
39
40
  athena/types/firecrawl_scrape_url_data_reponse_dto.py,sha256=-MkjjhzRTpuyoypLmiGtvH01TjeoVQxpX-HsALUSFUM,1001
40
41
  athena/types/firecrawl_scrape_url_metadata.py,sha256=kIKb0mMGxw7-49GSsagfx6AperguHDKOvODGPjFtOxU,1143
41
42
  athena/types/get_datasets_response.py,sha256=kbv8BI2nEo34-HJZV33dPhKWKrA1FiIS_OUkUYJj1ZQ,969
@@ -55,13 +56,13 @@ athena/types/sql_results.py,sha256=ExPFds4vZ425AxGt0jhykbPhOjkplZPGQwVKb0LHg_g,8
55
56
  athena/types/status_enum.py,sha256=0UZbhdAx215GHC-U53RS98mYHtn1N3On4VBe4j02Qtc,672
56
57
  athena/types/structured_parse_result.py,sha256=fph7KrT_X_2BKDCOFN1UEufeaMmpSEvT0Oi6aM-e3kU,885
57
58
  athena/types/tools.py,sha256=W0ekZrKpwlf66HJC7kGLWYJE3C1agJRnmMbvfA4M93o,1577
58
- athena/types/upload_documents_out.py,sha256=_WSyRPR9alutkTV8_D8Ry8kAFf2scBKJ8KzCqf9XS9Q,929
59
+ athena/types/upload_documents_out.py,sha256=3FJ0QIKl6zGmswAUpgkrVGP2nLdH3AloXrShg4Mh9lk,986
59
60
  athena/types/url_result.py,sha256=lIgnQeyKy_UfFFPe7HMrrRzb-SK089RxcKcKN9Q3DNQ,873
60
61
  athena/types/validation_error.py,sha256=yqombbKLBSzTPFn6CJH_hbo7tpS68T3JvMdd7kBtO1g,972
61
62
  athena/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
62
63
  athena/upload/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
63
64
  athena/upload/client.py,sha256=e5h10wZ7lGBasJ6X907x7nXHRhX600mLSkdw2qz6pmY,6385
64
65
  athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
65
- athena_intelligence-0.1.61.dist-info/METADATA,sha256=QqiuhckaYXjCRYBK_MJswA56J4had9M1JcRk5YwaWro,4738
66
- athena_intelligence-0.1.61.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
67
- athena_intelligence-0.1.61.dist-info/RECORD,,
66
+ athena_intelligence-0.1.62.dist-info/METADATA,sha256=cToasjyHMK9NNiqf7w3ShaiwaD8ZFemT37qUwZ4P6Y8,4738
67
+ athena_intelligence-0.1.62.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
68
+ athena_intelligence-0.1.62.dist-info/RECORD,,