athena-intelligence 0.1.102__py3-none-any.whl → 0.1.103__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/client.py +2 -2
- athena/core/client_wrapper.py +1 -1
- {athena_intelligence-0.1.102.dist-info → athena_intelligence-0.1.103.dist-info}/METADATA +1 -1
- {athena_intelligence-0.1.102.dist-info → athena_intelligence-0.1.103.dist-info}/RECORD +5 -5
- {athena_intelligence-0.1.102.dist-info → athena_intelligence-0.1.103.dist-info}/WHEEL +0 -0
athena/client.py
CHANGED
@@ -220,7 +220,7 @@ class Athena(BaseAthena):
|
|
220
220
|
if environment == SpecialEnvironments.AUTODETECT_ENVIRONMENT:
|
221
221
|
if 'ATHENA_API_URL' in os.environ:
|
222
222
|
|
223
|
-
class AutodetectedEnvironments:
|
223
|
+
class AutodetectedEnvironments(enum.Enum):
|
224
224
|
CURRENT = os.environ['ATHENA_API_URL']
|
225
225
|
|
226
226
|
environment = cast(AthenaEnvironment, AutodetectedEnvironments.CURRENT)
|
@@ -290,7 +290,7 @@ class AsyncAthena(AsyncBaseAthena):
|
|
290
290
|
if environment == SpecialEnvironments.AUTODETECT_ENVIRONMENT:
|
291
291
|
if 'ATHENA_API_URL' in os.environ:
|
292
292
|
|
293
|
-
class AutodetectedEnvironments:
|
293
|
+
class AutodetectedEnvironments(enum.Enum):
|
294
294
|
CURRENT = os.environ['ATHENA_API_URL']
|
295
295
|
|
296
296
|
environment = cast(AthenaEnvironment, AutodetectedEnvironments.CURRENT)
|
athena/core/client_wrapper.py
CHANGED
@@ -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.
|
20
|
+
"X-Fern-SDK-Version": "0.1.103",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -1,9 +1,9 @@
|
|
1
1
|
athena/__init__.py,sha256=lGo6ASUYoueZCu_oWrD7ruCsa0nLRNo9qZ_-2RV4WxY,1192
|
2
2
|
athena/base_client.py,sha256=TlP599mOBvj7Tk8IpFe5dgrDM98GJu3lEQh_zwl4vtA,5439
|
3
|
-
athena/client.py,sha256=
|
3
|
+
athena/client.py,sha256=2iXOf_xzfAqy_QcBWHaILM4RqmrF-TuZUULoA6wEtJw,12374
|
4
4
|
athena/core/__init__.py,sha256=UFXpYzcGxWQUucU1TkjOQ9mGWN3A5JohluOIWVYKU4I,973
|
5
5
|
athena/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
6
|
-
athena/core/client_wrapper.py,sha256=
|
6
|
+
athena/core/client_wrapper.py,sha256=Ef1urlkCpXDULFqlxmLoLIKgOvEH8E4WfiCfrIB5J-0,1806
|
7
7
|
athena/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
8
8
|
athena/core/file.py,sha256=sy1RUGZ3aJYuw998bZytxxo6QdgKmlnlgBaMvwEKCGg,1480
|
9
9
|
athena/core/http_client.py,sha256=Z4NuAsJD-51yqmoME17O5sxwx5orSp1wsnd6bPyKcgA,17768
|
@@ -37,6 +37,6 @@ athena/types/data_frame_unknown_format_error.py,sha256=lbgAUArEgIYZt3P5Ji4Clp-xy
|
|
37
37
|
athena/types/file_fetch_error.py,sha256=iR7IXjj2C4lJFcWV3aS2gfhmT3CE-_hhBDSWFaCktHU,1162
|
38
38
|
athena/types/sql_unauthorized_error.py,sha256=QSQbBlOBVYYjvcmSLZbsr4twcanPeMxIl74sKUU3Hac,1123
|
39
39
|
athena/version.py,sha256=8aYAOJtVLaJLpRp6mTiEIhnl8gXA7yE0aDtZ-3mKQ4k,87
|
40
|
-
athena_intelligence-0.1.
|
41
|
-
athena_intelligence-0.1.
|
42
|
-
athena_intelligence-0.1.
|
40
|
+
athena_intelligence-0.1.103.dist-info/METADATA,sha256=MWCffRWIKQNIUK97iEqSuliS9IJLadf_RPKEQ7h6Co4,5274
|
41
|
+
athena_intelligence-0.1.103.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
42
|
+
athena_intelligence-0.1.103.dist-info/RECORD,,
|
File without changes
|