Commit b6e2230
async client (Azure#17366)
* initial commit
* update samples
* updates from feedback
* johans feedback
* renaming to use job terminology
* update samples - optional src language
* samples hero scenarios (Azure#16936)
* [samples] added 'batch_translation_async' sample
* [samples] added 'batch_translation_with_storage_async' sample
* [samples] added remianing async samples
* [samples] update file names
* [samples] added self to instance methods
* [samples][async] fix import textanalytics :)
* [samples] fix self. when calling instance methods
* [samples] fixed async check status to use AsyncItemPaged used in Async Client
* [samples] async -> some async operations instead of sync ones
* [samples][async] use async blob operations
* [samples][async] blob download async
* [samples][async] check_documents async
* [samples][async] added some missing await methods
* [async samples] change await time to recommended period
* [samples] updated async samples to comply with new changes
* [client] modify the 'create_translation_job()' method
* [models wrapping 'JobStatusDetail'
* [models wrapping] update client
* [models wrapping] formats mapping [documents, glossaries, storage]
* [models wrapping] batch document input
* [models wrapping] added document status
* [models wrapping] added support for list document status
* [models wrapping] remove unwanted code
* [models wrapping] forgot to add job id
* [model wrapping] list all jobs
* [pr review] extract job id
* [refactor] some refactoring
* [pr reviews] refactor
* [refactor] to_generated in glossary
* [refactor] to generated in StorageTargets
* [refactor] to_generated in BatchDocumentInput
* [refactor] to_generated in Glossary more
* [refactor] make code readable -> storage formats
* [integration] added support for wait_until_done
* [refactor] spelling error
* [integrate sdk] updated "wait_until_done" to use azure core poller instead of busy wait
* [sync client][wait till done] initial poller
* [sync client][wait poller] poller algorithm completed
* [PR comments] wrap model before returning
* [pr reviews] adjust parameter type to list
* [pr reviews] some linter checks
* [pr reviews] remove static methods, and fix private naming convention in model functions
* [pr reviews] fix return type value
* [PR reviews] implement unimplemented inherited abstract method
* [pr reviews] fix python private method naming in client
* [pr review] handle case with no error happening
* [pr reviews] renaming stuff :)
* [pr reviews] renaming more stuff :)
* [pr reviews] refactor private functions and linting options
* [bug fix] poller -> handle non-standard status responses
* [Azure#17289] remove supported storage sources method
* [bug fix] private method name
* [linting] _models.py
* [linting] client
* [linting] models
* [bug fix] wait until done pipeline response
* [linting] more client linting
* [linting] more client
* [linting] more in models
* more linting
* [linting] more linting things
* [linting] client
* [linting] more
* [linting] more
* [linting] for goodness sakes!
* [bug fix] models -> StorageTarget -> handle when user doesn't pass glossaries
* [linting] line-too-long
* [async client] submit translation job
* [async client] job status
* [async client] more function support added
* [async client] added document status
* [async client] add remaining methods
* [async client] use async poller
* [linting] asycn client
* [linting] more
Co-authored-by: Krista Pratico <[email protected]>1 parent 6a7cedd commit b6e2230
File tree
1 file changed
+98
-20
lines changed- sdk/documenttranslation/azure-ai-documenttranslation/azure/ai/documenttranslation/aio
1 file changed
+98
-20
lines changedLines changed: 98 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
| 25 | + | |
15 | 26 | | |
16 | 27 | | |
17 | 28 | | |
| |||
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
61 | | - | |
62 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
63 | 77 | | |
64 | 78 | | |
65 | 79 | | |
66 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
67 | 93 | | |
68 | 94 | | |
69 | 95 | | |
| |||
74 | 100 | | |
75 | 101 | | |
76 | 102 | | |
77 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
78 | 106 | | |
79 | 107 | | |
80 | 108 | | |
| |||
98 | 126 | | |
99 | 127 | | |
100 | 128 | | |
101 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
102 | 149 | | |
103 | 150 | | |
104 | 151 | | |
| |||
109 | 156 | | |
110 | 157 | | |
111 | 158 | | |
112 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
113 | 177 | | |
114 | 178 | | |
115 | 179 | | |
| |||
122 | 186 | | |
123 | 187 | | |
124 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
125 | 208 | | |
126 | | - | |
127 | 209 | | |
128 | 210 | | |
129 | 211 | | |
| |||
136 | 218 | | |
137 | 219 | | |
138 | 220 | | |
139 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
140 | 224 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 225 | | |
150 | 226 | | |
151 | 227 | | |
| |||
154 | 230 | | |
155 | 231 | | |
156 | 232 | | |
157 | | - | |
158 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
159 | 236 | | |
160 | 237 | | |
161 | 238 | | |
| |||
164 | 241 | | |
165 | 242 | | |
166 | 243 | | |
167 | | - | |
168 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
0 commit comments