autonomize-core 0.1.0__py3-none-any.whl → 0.1.1__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.
- {autonomize_core-0.1.0.dist-info → autonomize_core-0.1.1.dist-info}/METADATA +6 -6
- {autonomize_core-0.1.0.dist-info → autonomize_core-0.1.1.dist-info}/RECORD +4 -4
- {autonomize_core-0.1.0.dist-info → autonomize_core-0.1.1.dist-info}/WHEEL +1 -1
- {autonomize_core-0.1.0.dist-info → autonomize_core-0.1.1.dist-info}/LICENSE +0 -0
@@ -1,8 +1,7 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: autonomize-core
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: Autonomize Core contains the unified authentication source to access platform.
|
5
|
-
Home-page: https://github.com/autonomize-ai/autonomize-core
|
6
5
|
License: Proprietary
|
7
6
|
Author: Varun Prakash
|
8
7
|
Author-email: varun.prakash@autonomize.ai
|
@@ -22,6 +21,7 @@ Classifier: Topic :: Text Processing
|
|
22
21
|
Classifier: Typing :: Typed
|
23
22
|
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
24
23
|
Project-URL: Documentation, https://github.com/autonomize-ai/autonomize-core
|
24
|
+
Project-URL: Homepage, https://github.com/autonomize-ai/autonomize-core
|
25
25
|
Project-URL: Repository, https://github.com/autonomize-ai/autonomize-core
|
26
26
|
Description-Content-Type: text/markdown
|
27
27
|
|
@@ -72,12 +72,12 @@ cred = ModelhubCredential(
|
|
72
72
|
client_secret=MODELHUB_AUTH_CLIENT_SECRET,
|
73
73
|
)
|
74
74
|
|
75
|
-
|
75
|
+
token = cred.get_token()
|
76
76
|
```
|
77
77
|
|
78
78
|
### Async Usage
|
79
79
|
|
80
|
-
Simply use sync methods with `a` prefix and use `await` for each call. Example: `cred.get_token` becomes `await cred.aget_token` and everything else remains the same.
|
80
|
+
Simply use sync methods with `a` prefix and use `await` for each call. Example: `cred.get_token()` becomes `await cred.aget_token()` and everything else remains the same.
|
81
81
|
|
82
82
|
```python
|
83
83
|
import os
|
@@ -89,7 +89,7 @@ cred = ModelhubCredential(
|
|
89
89
|
client_secret=MODELHUB_AUTH_CLIENT_SECRET,
|
90
90
|
)
|
91
91
|
|
92
|
-
|
92
|
+
token = await cred.aget_token()
|
93
93
|
```
|
94
94
|
|
95
95
|
## Contribution
|
@@ -6,7 +6,7 @@ autonomize/exceptions/core/__init__.py,sha256=5flhl7JoAxV-3ofkWxpW7Am0mrdZDB3Rfm
|
|
6
6
|
autonomize/exceptions/core/credentials.py,sha256=GzBUKyEdNH4ORXMpy0y19WXkX1VRwWIBARhEg46NuRk,676
|
7
7
|
autonomize/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
autonomize/utils/logger.py,sha256=oQLM9pmQkHBQRN9c4hCXDBOf2BqHB06JjizIaWbNFfw,2168
|
9
|
-
autonomize_core-0.1.
|
10
|
-
autonomize_core-0.1.
|
11
|
-
autonomize_core-0.1.
|
12
|
-
autonomize_core-0.1.
|
9
|
+
autonomize_core-0.1.1.dist-info/LICENSE,sha256=1BOgDsbiPB_RVAQMpdx88RIvXmu5u5X5bSd4aVhxUok,170
|
10
|
+
autonomize_core-0.1.1.dist-info/METADATA,sha256=WTzJCHVMiEN6YfwzoFHo7PPbdOEcICCTyQwm3D0uNDs,3641
|
11
|
+
autonomize_core-0.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
12
|
+
autonomize_core-0.1.1.dist-info/RECORD,,
|
File without changes
|