athena-intelligence 0.1.8__py3-none-any.whl → 0.1.9__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 +1 -1
- athena/client.py +1 -1
- athena/core/client_wrapper.py +1 -1
- athena/{resources/message → message}/client.py +11 -11
- {athena_intelligence-0.1.8.dist-info → athena_intelligence-0.1.9.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.8.dist-info → athena_intelligence-0.1.9.dist-info}/RECORD +8 -9
- athena/resources/__init__.py +0 -5
- /athena/{resources/message → message}/__init__.py +0 -0
- {athena_intelligence-0.1.8.dist-info → athena_intelligence-0.1.9.dist-info}/WHEEL +0 -0
athena/__init__.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
from .types import HttpValidationError, MessageOut, MessageOutDto, Model, Tools, ValidationError, ValidationErrorLocItem
|
4
4
|
from .errors import UnprocessableEntityError
|
5
|
-
from .
|
5
|
+
from . import message
|
6
6
|
from .environment import AthenaEnvironment
|
7
7
|
|
8
8
|
__all__ = [
|
athena/client.py
CHANGED
@@ -6,7 +6,7 @@ import httpx
|
|
6
6
|
|
7
7
|
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
8
8
|
from .environment import AthenaEnvironment
|
9
|
-
from .
|
9
|
+
from .message.client import AsyncMessageClient, MessageClient
|
10
10
|
|
11
11
|
|
12
12
|
class Athena:
|
athena/core/client_wrapper.py
CHANGED
@@ -15,7 +15,7 @@ class BaseClientWrapper:
|
|
15
15
|
headers: typing.Dict[str, str] = {
|
16
16
|
"X-Fern-Language": "Python",
|
17
17
|
"X-Fern-SDK-Name": "athena-intelligence",
|
18
|
-
"X-Fern-SDK-Version": "0.1.
|
18
|
+
"X-Fern-SDK-Version": "0.1.9",
|
19
19
|
}
|
20
20
|
headers["X-API-KEY"] = self._api_key
|
21
21
|
headers["Authorization"] = f"Bearer {self._get_token()}"
|
@@ -4,17 +4,17 @@ import typing
|
|
4
4
|
import urllib.parse
|
5
5
|
from json.decoder import JSONDecodeError
|
6
6
|
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
13
|
-
from
|
14
|
-
from
|
15
|
-
from
|
16
|
-
from
|
17
|
-
from
|
7
|
+
from ..core.api_error import ApiError
|
8
|
+
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
9
|
+
from ..core.jsonable_encoder import jsonable_encoder
|
10
|
+
from ..core.remove_none_from_dict import remove_none_from_dict
|
11
|
+
from ..core.request_options import RequestOptions
|
12
|
+
from ..errors.unprocessable_entity_error import UnprocessableEntityError
|
13
|
+
from ..types.http_validation_error import HttpValidationError
|
14
|
+
from ..types.message_out import MessageOut
|
15
|
+
from ..types.message_out_dto import MessageOutDto
|
16
|
+
from ..types.model import Model
|
17
|
+
from ..types.tools import Tools
|
18
18
|
|
19
19
|
try:
|
20
20
|
import pydantic.v1 as pydantic # type: ignore
|
@@ -1,8 +1,8 @@
|
|
1
|
-
athena/__init__.py,sha256=
|
2
|
-
athena/client.py,sha256=
|
1
|
+
athena/__init__.py,sha256=ZrSwT2fSGbG0dlfJsObzFyrwE4bx9GbsPYbr0zA_wQM,528
|
2
|
+
athena/client.py,sha256=RLsH5rX9uJnrgtzxKEoyde0XAWNEtq1noiUzisqQZEU,4311
|
3
3
|
athena/core/__init__.py,sha256=95onSWXymaL0iV-nBsuKNgjh1LbsymAkRkx7POn1nc0,696
|
4
4
|
athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
5
|
-
athena/core/client_wrapper.py,sha256=
|
5
|
+
athena/core/client_wrapper.py,sha256=3kyOHa02365RXHi4npjowZttp7PSpVkrDUtCL7pwVFA,1628
|
6
6
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
7
7
|
athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
8
8
|
athena/core/jsonable_encoder.py,sha256=MTYkDov2EryHgee4QM46uZiBOuOXK9KTHlBdBwU-CpU,3799
|
@@ -11,10 +11,9 @@ athena/core/request_options.py,sha256=9n3ZHWZkw60MGp7GbdjGEuGo73Pa-6JeusRGhS533a
|
|
11
11
|
athena/environment.py,sha256=D_CljQlUahhEi9smvMslj_5Y8gMFO6D0fRCL0ydRLuM,165
|
12
12
|
athena/errors/__init__.py,sha256=pbbVUFtB9LCocA1RMWMMF_RKjsy5YkOKX5BAuE49w6g,170
|
13
13
|
athena/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
|
14
|
+
athena/message/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
15
|
+
athena/message/client.py,sha256=uCBLimHs50Pwvlpjz5CSVv0jUf6IB5E_SQ0H6lL-LZQ,11881
|
14
16
|
athena/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
-
athena/resources/__init__.py,sha256=H2Sg5QOlqjAbAl_ADBNYPqFArb-9plPdXDPVdeIkXDk,110
|
16
|
-
athena/resources/message/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
17
|
-
athena/resources/message/client.py,sha256=l0_IjdepvNGDeHT0kp6ivNQD13IiP2zwtCi9qjeBQAc,11892
|
18
17
|
athena/types/__init__.py,sha256=sG74gyPktXegm01dMPmvxhq9um_3GdxMtF8kbSR9L4s,517
|
19
18
|
athena/types/http_validation_error.py,sha256=Fcv_CTMMrLvCeTHjF0n5xf5tskMDgt-J6H9gp654eQw,973
|
20
19
|
athena/types/message_out.py,sha256=uvZY_Podv2XccEk8CICug9I_S2hFJTSzCBwcHiauW7A,865
|
@@ -23,6 +22,6 @@ athena/types/model.py,sha256=xyD4lk5YWZTzYQc6f76FUBOQe4_jTHSS8edSzOY5eQc,830
|
|
23
22
|
athena/types/tools.py,sha256=Vfb-D9CYcPZH6MBATNODgfXjFyBpCs4qbkqpCMl7eBM,1277
|
24
23
|
athena/types/validation_error.py,sha256=2JhGNJouo8QpfrMBoT_JCwYSn1nFN2Nnq0p9uPLDH-U,992
|
25
24
|
athena/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
26
|
-
athena_intelligence-0.1.
|
27
|
-
athena_intelligence-0.1.
|
28
|
-
athena_intelligence-0.1.
|
25
|
+
athena_intelligence-0.1.9.dist-info/METADATA,sha256=_r7HfhdG9sCtE7GJWUlc9XQI7_gWjmWFH57SoAgsa4M,3741
|
26
|
+
athena_intelligence-0.1.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
27
|
+
athena_intelligence-0.1.9.dist-info/RECORD,,
|
athena/resources/__init__.py
DELETED
File without changes
|
File without changes
|