Commit 228d085
[http-client-python] import mixin operations from init file (#7992)
When we made mixin operations private, we updated all of our imports to
import from the exact file it was generated in, instead of from the
`operations` module. This makes patch changes to the mixin operation
class via `operations/_patch.py` lose their effect, and was an
unintended consequence. This PR fixes that, importing mixin operation
classes from `operations/__init__.py` so patch changes still take effect
---------
Co-authored-by: iscai-msft <isabellavcai@gmail.com>1 parent 67dfa02 commit 228d085
3 files changed
Lines changed: 15 additions & 5 deletions
File tree
- .chronus/changes
- packages/http-client-python/generator/pygen/codegen
- models
- serializers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
329 | 328 | | |
330 | | - | |
331 | | - | |
| 329 | + | |
332 | 330 | | |
333 | 331 | | |
334 | 332 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | | - | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments