Commit bfac10f
Version 0.12.0 (#120)
* bump version
* Update UNSURE to be UNCLEAR, catch __USURE received from the service (#105)
* ask_async (#102)
* initial commit
* added ask_async to submit_image_query
* Automatically reformatting code
* added ask async method
* Automatically reformatting code
* added integration tests (requires BE merge first)
* Automatically reformatting code
* satisfying mypy
* Automatically reformatting code
* fix comments
* change what type of exception test is catching
* Automatically reformatting code
* fix imports organization issue
* fix implementation - wait must be 0 not None
* Automatically reformatting code
* forgot to make wait=0 in relevant test
* feedback from PR review
* Automatically reformatting code
* ensure want_async is a serializable bool
* add description
* updated sphinx reqs to render some of the dependencies
* updated docstring for ask_async and fixed small sphinx bugs in other folk's docstrings
* Tests aren't passing because I didn't update the autogenerated code to expect a new param
* Revert "Tests aren't passing because I didn't update the autogenerated code to expect a new param"
This reverts commit 2477fd5.
* fix generated
* Automatically reformatting code
* fix lint
* Automatically reformatting code
* Revert "Automatically reformatting code"
This reverts commit cb9359e.
* Revert "fix generated"
This reverts commit 935c036.
* Revert "Revert "Tests aren't passing because I didn't update the autogenerated code to expect a new param""
This reverts commit 07670e3.
* Revert "Tests aren't passing because I didn't update the autogenerated code to expect a new param"
This reverts commit 2477fd5.
* Revert "updated docstring for ask_async and fixed small sphinx bugs in other folk's docstrings"
This reverts commit 67e3edd.
* third time at generated docs is the charm
---------
Co-authored-by: Auto-format Bot <[email protected]>
* Cli polishing (#109)
* Add basic catch if api token isn't specified when cli is called
* Pushes Groundlight class instantiation up until the function is actually called with arguments.
This means that the entire help args are available even if we can't instantiate the class (no api key)
* Fixed misunderstanding with metaprogramming, added tests
* Addressing comments
---------
Co-authored-by: Auto-format Bot <[email protected]>
* Add ask_confident and ask_ml (#99)
* Adding ask_confident and ask_fast
* Fixing ask_ml behavior
* Unhide wait functions, merging logic, fixed iq_is_answered logic
* Rewriting doc strings in Sphinx style
* fixed sphinx docstring return types
* Making iq submission with inspection work with newly optional patience time
---------
Co-authored-by: Auto-format Bot <[email protected]>
* Linting
* fix ask_async docstring
---------
Co-authored-by: brandon <[email protected]>
Co-authored-by: Brandon <[email protected]>
Co-authored-by: Auto-format Bot <[email protected]>1 parent 4f7d529 commit bfac10f
File tree
17 files changed
+728
-235
lines changed- .vscode
- generated
- docs
- openapi_client
- api
- model
- spec
- sphinx_docs
- src/groundlight
- test
- integration
- unit
17 files changed
+728
-235
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| 166 | + | |
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
| |||
299 | 303 | | |
300 | 304 | | |
301 | 305 | | |
| 306 | + | |
302 | 307 | | |
303 | 308 | | |
304 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 171 | + | |
174 | 172 | | |
175 | 173 | | |
176 | 174 | | |
| |||
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
183 | | - | |
184 | 181 | | |
185 | 182 | | |
186 | 183 | | |
| |||
213 | 210 | | |
214 | 211 | | |
215 | 212 | | |
| 213 | + | |
216 | 214 | | |
217 | 215 | | |
218 | 216 | | |
| |||
247 | 245 | | |
248 | 246 | | |
249 | 247 | | |
250 | | - | |
251 | 248 | | |
252 | 249 | | |
253 | 250 | | |
| |||
306 | 303 | | |
307 | 304 | | |
308 | 305 | | |
| 306 | + | |
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
| |||
0 commit comments