Skip to content

Commit ca6dba4

Browse files
Rebase after merge. (#21014)
Co-authored-by: Travis Prescott <[email protected]>
1 parent 6b33654 commit ca6dba4

16 files changed

+84
-84
lines changed

sdk/search/azure-search-documents/azure/search/documents/_generated/aio/operations/_documents_operations.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def count(
8080
}
8181
request.url = self._client.format_url(request.url, **path_format_arguments)
8282

83-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
83+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
8484
response = pipeline_response.http_response
8585

8686
if response.status_code not in [200]:
@@ -212,7 +212,7 @@ async def search_get(
212212
}
213213
request.url = self._client.format_url(request.url, **path_format_arguments)
214214

215-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
215+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
216216
response = pipeline_response.http_response
217217

218218
if response.status_code not in [200]:
@@ -274,7 +274,7 @@ async def search_post(
274274
}
275275
request.url = self._client.format_url(request.url, **path_format_arguments)
276276

277-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
277+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
278278
response = pipeline_response.http_response
279279

280280
if response.status_code not in [200]:
@@ -337,7 +337,7 @@ async def get(
337337
}
338338
request.url = self._client.format_url(request.url, **path_format_arguments)
339339

340-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
340+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
341341
response = pipeline_response.http_response
342342

343343
if response.status_code not in [200]:
@@ -432,7 +432,7 @@ async def suggest_get(
432432
}
433433
request.url = self._client.format_url(request.url, **path_format_arguments)
434434

435-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
435+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
436436
response = pipeline_response.http_response
437437

438438
if response.status_code not in [200]:
@@ -494,7 +494,7 @@ async def suggest_post(
494494
}
495495
request.url = self._client.format_url(request.url, **path_format_arguments)
496496

497-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
497+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
498498
response = pipeline_response.http_response
499499

500500
if response.status_code not in [200]:
@@ -557,7 +557,7 @@ async def index(
557557
}
558558
request.url = self._client.format_url(request.url, **path_format_arguments)
559559

560-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
560+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
561561
response = pipeline_response.http_response
562562

563563
if response.status_code not in [200, 207]:
@@ -652,7 +652,7 @@ async def autocomplete_get(
652652
}
653653
request.url = self._client.format_url(request.url, **path_format_arguments)
654654

655-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
655+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
656656
response = pipeline_response.http_response
657657

658658
if response.status_code not in [200]:
@@ -714,7 +714,7 @@ async def autocomplete_post(
714714
}
715715
request.url = self._client.format_url(request.url, **path_format_arguments)
716716

717-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
717+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
718718
response = pipeline_response.http_response
719719

720720
if response.status_code not in [200]:

sdk/search/azure-search-documents/azure/search/documents/_generated/operations/_documents_operations.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def count(
510510
}
511511
request.url = self._client.format_url(request.url, **path_format_arguments)
512512

513-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
513+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
514514
response = pipeline_response.http_response
515515

516516
if response.status_code not in [200]:
@@ -643,7 +643,7 @@ def search_get(
643643
}
644644
request.url = self._client.format_url(request.url, **path_format_arguments)
645645

646-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
646+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
647647
response = pipeline_response.http_response
648648

649649
if response.status_code not in [200]:
@@ -706,7 +706,7 @@ def search_post(
706706
}
707707
request.url = self._client.format_url(request.url, **path_format_arguments)
708708

709-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
709+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
710710
response = pipeline_response.http_response
711711

712712
if response.status_code not in [200]:
@@ -770,7 +770,7 @@ def get(
770770
}
771771
request.url = self._client.format_url(request.url, **path_format_arguments)
772772

773-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
773+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
774774
response = pipeline_response.http_response
775775

776776
if response.status_code not in [200]:
@@ -866,7 +866,7 @@ def suggest_get(
866866
}
867867
request.url = self._client.format_url(request.url, **path_format_arguments)
868868

869-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
869+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
870870
response = pipeline_response.http_response
871871

872872
if response.status_code not in [200]:
@@ -929,7 +929,7 @@ def suggest_post(
929929
}
930930
request.url = self._client.format_url(request.url, **path_format_arguments)
931931

932-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
932+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
933933
response = pipeline_response.http_response
934934

935935
if response.status_code not in [200]:
@@ -993,7 +993,7 @@ def index(
993993
}
994994
request.url = self._client.format_url(request.url, **path_format_arguments)
995995

996-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
996+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
997997
response = pipeline_response.http_response
998998

999999
if response.status_code not in [200, 207]:
@@ -1089,7 +1089,7 @@ def autocomplete_get(
10891089
}
10901090
request.url = self._client.format_url(request.url, **path_format_arguments)
10911091

1092-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
1092+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
10931093
response = pipeline_response.http_response
10941094

10951095
if response.status_code not in [200]:
@@ -1152,7 +1152,7 @@ def autocomplete_post(
11521152
}
11531153
request.url = self._client.format_url(request.url, **path_format_arguments)
11541154

1155-
pipeline_response = self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
1155+
pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
11561156
response = pipeline_response.http_response
11571157

11581158
if response.status_code not in [200]:

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_data_sources_operations.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async def create_or_update(
105105
}
106106
request.url = self._client.format_url(request.url, **path_format_arguments)
107107

108-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
108+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
109109
response = pipeline_response.http_response
110110

111111
if response.status_code not in [200, 201]:
@@ -176,7 +176,7 @@ async def delete(
176176
}
177177
request.url = self._client.format_url(request.url, **path_format_arguments)
178178

179-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
179+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
180180
response = pipeline_response.http_response
181181

182182
if response.status_code not in [204, 404]:
@@ -229,7 +229,7 @@ async def get(
229229
}
230230
request.url = self._client.format_url(request.url, **path_format_arguments)
231231

232-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
232+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
233233
response = pipeline_response.http_response
234234

235235
if response.status_code not in [200]:
@@ -288,7 +288,7 @@ async def list(
288288
}
289289
request.url = self._client.format_url(request.url, **path_format_arguments)
290290

291-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
291+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
292292
response = pipeline_response.http_response
293293

294294
if response.status_code not in [200]:
@@ -349,7 +349,7 @@ async def create(
349349
}
350350
request.url = self._client.format_url(request.url, **path_format_arguments)
351351

352-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
352+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
353353
response = pipeline_response.http_response
354354

355355
if response.status_code not in [201]:

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_indexers_operations.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def reset(
8383
}
8484
request.url = self._client.format_url(request.url, **path_format_arguments)
8585

86-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
86+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
8787
response = pipeline_response.http_response
8888

8989
if response.status_code not in [204]:
@@ -152,7 +152,7 @@ async def reset_docs(
152152
}
153153
request.url = self._client.format_url(request.url, **path_format_arguments)
154154

155-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
155+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
156156
response = pipeline_response.http_response
157157

158158
if response.status_code not in [204]:
@@ -205,7 +205,7 @@ async def run(
205205
}
206206
request.url = self._client.format_url(request.url, **path_format_arguments)
207207

208-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
208+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
209209
response = pipeline_response.http_response
210210

211211
if response.status_code not in [202]:
@@ -285,7 +285,7 @@ async def create_or_update(
285285
}
286286
request.url = self._client.format_url(request.url, **path_format_arguments)
287287

288-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
288+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
289289
response = pipeline_response.http_response
290290

291291
if response.status_code not in [200, 201]:
@@ -356,7 +356,7 @@ async def delete(
356356
}
357357
request.url = self._client.format_url(request.url, **path_format_arguments)
358358

359-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
359+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
360360
response = pipeline_response.http_response
361361

362362
if response.status_code not in [204, 404]:
@@ -409,7 +409,7 @@ async def get(
409409
}
410410
request.url = self._client.format_url(request.url, **path_format_arguments)
411411

412-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
412+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
413413
response = pipeline_response.http_response
414414

415415
if response.status_code not in [200]:
@@ -468,7 +468,7 @@ async def list(
468468
}
469469
request.url = self._client.format_url(request.url, **path_format_arguments)
470470

471-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
471+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
472472
response = pipeline_response.http_response
473473

474474
if response.status_code not in [200]:
@@ -529,7 +529,7 @@ async def create(
529529
}
530530
request.url = self._client.format_url(request.url, **path_format_arguments)
531531

532-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
532+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
533533
response = pipeline_response.http_response
534534

535535
if response.status_code not in [201]:
@@ -586,7 +586,7 @@ async def get_status(
586586
}
587587
request.url = self._client.format_url(request.url, **path_format_arguments)
588588

589-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
589+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
590590
response = pipeline_response.http_response
591591

592592
if response.status_code not in [200]:

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_indexes_operations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def create(
8989
}
9090
request.url = self._client.format_url(request.url, **path_format_arguments)
9191

92-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
92+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
9393
response = pipeline_response.http_response
9494

9595
if response.status_code not in [201]:
@@ -263,7 +263,7 @@ async def create_or_update(
263263
}
264264
request.url = self._client.format_url(request.url, **path_format_arguments)
265265

266-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
266+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
267267
response = pipeline_response.http_response
268268

269269
if response.status_code not in [200, 201]:
@@ -336,7 +336,7 @@ async def delete(
336336
}
337337
request.url = self._client.format_url(request.url, **path_format_arguments)
338338

339-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
339+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
340340
response = pipeline_response.http_response
341341

342342
if response.status_code not in [204, 404]:
@@ -389,7 +389,7 @@ async def get(
389389
}
390390
request.url = self._client.format_url(request.url, **path_format_arguments)
391391

392-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
392+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
393393
response = pipeline_response.http_response
394394

395395
if response.status_code not in [200]:
@@ -446,7 +446,7 @@ async def get_statistics(
446446
}
447447
request.url = self._client.format_url(request.url, **path_format_arguments)
448448

449-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
449+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
450450
response = pipeline_response.http_response
451451

452452
if response.status_code not in [200]:
@@ -511,7 +511,7 @@ async def analyze(
511511
}
512512
request.url = self._client.format_url(request.url, **path_format_arguments)
513513

514-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
514+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
515515
response = pipeline_response.http_response
516516

517517
if response.status_code not in [200]:

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_search_client_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def get_service_statistics(
5959
}
6060
request.url = self._client.format_url(request.url, **path_format_arguments)
6161

62-
pipeline_response = await self._client.send_request(request, stream=False, _return_pipeline_response=True, **kwargs)
62+
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
6363
response = pipeline_response.http_response
6464

6565
if response.status_code not in [200]:

0 commit comments

Comments
 (0)