Commit bbe8954
False 500 testing (#57)
* push wip code for handling false 500s
* query task response via uuid
* cleaning up, remove print statements
* raise 409 error when retry history is empty
* small changes
- we don't need to force a retry on a 409, it will only result in another 409, so let's just directly handle the issue
- try_history back to 500
* Update api.py
* more formatting
* Update api.py
* fomatting
Co-authored-by: Kevin Xu <kevin.xu@scale.com>1 parent b7ffab5 commit bbe8954
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
112 | 132 | | |
113 | 133 | | |
114 | | - | |
115 | 134 | | |
116 | 135 | | |
117 | 136 | | |
| |||
0 commit comments