autonomize-core 0.1.0__tar.gz → 0.1.2__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.
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: autonomize-core
3
- Version: 0.1.0
3
+ Version: 0.1.2
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
- r = cred.get_token()
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
- r = await cred.aget_token()
92
+ token = await cred.aget_token()
93
93
  ```
94
94
 
95
95
  ## Contribution
@@ -45,12 +45,12 @@ cred = ModelhubCredential(
45
45
  client_secret=MODELHUB_AUTH_CLIENT_SECRET,
46
46
  )
47
47
 
48
- r = cred.get_token()
48
+ token = cred.get_token()
49
49
  ```
50
50
 
51
51
  ### Async Usage
52
52
 
53
- 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.
53
+ 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.
54
54
 
55
55
  ```python
56
56
  import os
@@ -62,7 +62,7 @@ cred = ModelhubCredential(
62
62
  client_secret=MODELHUB_AUTH_CLIENT_SECRET,
63
63
  )
64
64
 
65
- r = await cred.aget_token()
65
+ token = await cred.aget_token()
66
66
  ```
67
67
 
68
68
  ## Contribution
File without changes
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "autonomize-core"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "Autonomize Core contains the unified authentication source to access platform."
5
5
  authors = ["Varun Prakash <varun.prakash@autonomize.ai>"]
6
6
  readme = "README.md"
File without changes