Commit 92dda8c
[EGv2] Binary mode (#32922)
* [EGv2] Build Release (#30325)
* move old sdk under legacy
* gen typespec code
* naming changes from archboard
* samples
* update patch naming
* update imports with new gen
* update samples
* update client naming on aio
* update receive op
* update async to close client
* update receive()
* update gen code
* moving around samples
* updating samples
* update samples
* update patch and samples
* patch internalmodels
* spacing
* updating model patch
* update patch models
* add both models back
* update docstring
* update docs
* updating patch for receive
* old EG models
* add reject samples
* patch
* update format
* update patch
* eventgrid_client exceptions
* update test imports
* update total sample
* receive patch fix
* add in more tests
* update test file
* remove locktoken model
* remove LockToken in patch
* remove event delivery delay
* eg client exceptions
* .8.5 generation, and deliveryCount
* rename sample
* update version for beta
* changelog
* updating for gen
* regen
* generate via commit
* publish result
* fix docstring
* publish docstring
* return type
* publish result
* return publish result -- is none
* format
* update Publish result model
* deliverycount patch
* update from main
* add copyright
* added to readme
* remove from readme
* force publish_result response
* update patch tp unindent
* cspell
* update mypy.ini
* import order
* mark livetest
* update operations init
* rename async
* mypy
* ignore mypy
* pylint
* pylint
* ignore pylint for now to avoid gen code errors
* ignore samples until ARM setup
* update patches
* remove publish result
* remove PublishResult
* remove publishresult
* comma
Co-authored-by: swathipil <[email protected]>
* update publishResult
* change to .value
* gen code " to '
* remove comment
* ran black
* update changelog
* update sample readme
* gen code without query name
* gen code
* update tsp commit
* remove publishresult
* readme disclaimer
* update changelog
---------
Co-authored-by: swathipil <[email protected]>
* Beta LiveTests (#30728)
* add bicep file for tests
* update output
* update test
* secret sanitization
* refactor failing test
* update conftest
* update assets and sanitizers
* update preparer loc
* update conftest
* conftest
* update conftest
* remove variables for now
* update assets
* update tests
* try to update regex
* update recordings
* update conftest
* update preparer
* update test
* update exception test
* update tests
* update asset
* update conftest
* pr comments
* default needs to be eastus
* import
* [EGv2] Build Release (#30325)
* move old sdk under legacy
* gen typespec code
* naming changes from archboard
* samples
* update patch naming
* update imports with new gen
* update samples
* update client naming on aio
* update receive op
* update async to close client
* update receive()
* update gen code
* moving around samples
* updating samples
* update samples
* update patch and samples
* patch internalmodels
* spacing
* updating model patch
* update patch models
* add both models back
* update docstring
* update docs
* updating patch for receive
* old EG models
* add reject samples
* patch
* update format
* update patch
* eventgrid_client exceptions
* update test imports
* update total sample
* receive patch fix
* add in more tests
* update test file
* remove locktoken model
* remove LockToken in patch
* remove event delivery delay
* eg client exceptions
* .8.5 generation, and deliveryCount
* rename sample
* update version for beta
* changelog
* updating for gen
* regen
* generate via commit
* publish result
* fix docstring
* publish docstring
* return type
* publish result
* return publish result -- is none
* format
* update Publish result model
* deliverycount patch
* update from main
* add copyright
* added to readme
* remove from readme
* force publish_result response
* update patch tp unindent
* cspell
* update mypy.ini
* import order
* mark livetest
* update operations init
* rename async
* mypy
* ignore mypy
* pylint
* pylint
* ignore pylint for now to avoid gen code errors
* ignore samples until ARM setup
* update patches
* remove publish result
* remove PublishResult
* remove publishresult
* comma
Co-authored-by: swathipil <[email protected]>
* update publishResult
* change to .value
* gen code " to '
* remove comment
* ran black
* update changelog
* update sample readme
* gen code without query name
* gen code
* update tsp commit
* remove publishresult
* readme disclaimer
* update changelog
---------
Co-authored-by: swathipil <[email protected]>
* fix merge
* dont go to generated before binary
* update patch
* update patches
* eventgrid client patch
* changes
* add
* update test
* update tyoe checking
* pass through binary_mode for now --
* update patch aio
* add async func
* update
* sys
* update kwargs
* add Todo and start adding more tests
* update
* differentiate between binary and not
* update binary
* no base64 in binary mode
* binary
* try JSONEncoder on everything if not str/bytes
* update test
* update test
* update changes
* whitespace
* space
* remove commented
* str serialize extensions?
* xml test
* encode extensions as object
* update test
* update extension serialization for deserialize
* move flag to operation level
* extra comma
* dont raise httpresponse
* update patch
* accept dict cloud events
* spacing
* remove content_type check
* add live test
* remove live test mark
* update
* use env vars
* update test
* only run live test
* comment
* typo
* error incorrect
* start comments
* update test
* add sample
* update tests
* update docstrings to add clarity
* update err message
* remove generated cloud event
* update sample
* update
* update samples to include dict
* update patch
* spacing
* add comments
* formatting
* update doc
* update tests
* update tests
* tests
* skip tests for now
* typo
* add dict binary mode
* update docstring
* update patch to allow throw error
* first pass at comments
* update patch eror
* nit
---------
Co-authored-by: swathipil <[email protected]>1 parent 80b6d30 commit 92dda8c
File tree
11 files changed
+826
-59
lines changed- sdk/eventgrid/azure-eventgrid
- azure/eventgrid
- _operations
- aio/_operations
- samples
- async_samples/eventgrid_client_samples
- sync_samples/eventgrid_client_samples
- tests
- unittests
11 files changed
+826
-59
lines changedLines changed: 306 additions & 36 deletions
Large diffs are not rendered by default.
Lines changed: 190 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
15 | 28 | | |
16 | 29 | | |
| 30 | + | |
17 | 31 | | |
18 | 32 | | |
19 | 33 | | |
20 | 34 | | |
21 | 35 | | |
22 | 36 | | |
| 37 | + | |
23 | 38 | | |
24 | 39 | | |
25 | 40 | | |
| |||
33 | 48 | | |
34 | 49 | | |
35 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
36 | 55 | | |
37 | 56 | | |
38 | 57 | | |
| |||
49 | 68 | | |
50 | 69 | | |
51 | 70 | | |
| 71 | + | |
52 | 72 | | |
53 | 73 | | |
54 | 74 | | |
| |||
62 | 82 | | |
63 | 83 | | |
64 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
65 | 157 | | |
66 | 158 | | |
67 | 159 | | |
| |||
74 | 166 | | |
75 | 167 | | |
76 | 168 | | |
77 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
78 | 175 | | |
79 | 176 | | |
80 | 177 | | |
| |||
85 | 182 | | |
86 | 183 | | |
87 | 184 | | |
88 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
89 | 190 | | |
90 | 191 | | |
91 | 192 | | |
| |||
95 | 196 | | |
96 | 197 | | |
97 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
98 | 213 | | |
99 | 214 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 215 | + | |
| 216 | + | |
103 | 217 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
108 | 223 | | |
109 | 224 | | |
110 | 225 | | |
| |||
158 | 273 | | |
159 | 274 | | |
160 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
161 | 339 | | |
162 | 340 | | |
163 | 341 | | |
| |||
Lines changed: 51 additions & 0 deletions
| 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 | + | |
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
| |||
0 commit comments