Commit 3360381
Ask_async docs (#113)
* bump version
* Update UNSURE to be UNCLEAR, catch __USURE received from the service (#105)
* rough draft of demo
* 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
* Automatically reformatting code
* finish making tests work
* Automatically reformatting code
---------
Co-authored-by: Auto-format Bot <autoformatbot@groundlight.ai>
* 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 <autoformatbot@groundlight.ai>
* Add ask_confident and ask_ml (#99)
* Adding ask_confident and ask_fast
* Automatically reformatting code
* Fixing ask_ml behavior
* Adding to test
* Automatically reformatting code
* set default wait for ask_ml
* Unhide wait functions, merging logic, fixed iq_is_answered logic
* Automatically reformatting code
* Rewriting doc strings in Sphinx style
* ask_fast to ask_ml in the tests
* fixed sphinx docstring return types
* Cleaning the lint trap
* Last bits of lint
* Making iq submission with inspection work with newly optional patience time
* single char typo
* Reorder functions to trick Git's LCS alg to be correct
* Automatically reformatting code
---------
Co-authored-by: Auto-format Bot <autoformatbot@groundlight.ai>
* Linting
* addressed self comments
* fix ask_async docstring
* small fixes
* cleaning up a bit
* Update docs/docs/building-applications/5-async-queries.md
Co-authored-by: blaise-muhirwa <135643310+blaise-muhirwa@users.noreply.github.com>
* Update docs/docs/building-applications/5-async-queries.md
Co-authored-by: robotrapta <79607467+robotrapta@users.noreply.github.com>
* small fixes based on PR feedback from Leo and Blaise
---------
Co-authored-by: brandon <brandon@groundlight.ai>
Co-authored-by: Brandon <132288221+brandon-groundlight@users.noreply.github.com>
Co-authored-by: Auto-format Bot <autoformatbot@groundlight.ai>
Co-authored-by: blaise-muhirwa <135643310+blaise-muhirwa@users.noreply.github.com>
Co-authored-by: robotrapta <79607467+robotrapta@users.noreply.github.com>1 parent ed7512f commit 3360381
File tree
9 files changed
+100
-8
lines changed- docs/docs
- building-applications
- getting-started
9 files changed
+100
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments