You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param task_id: Unique identifier of a task. (required)
3405
3405
:type task_id: str
3406
-
:param batch_write_params: Request body of a Search API `batch` request that will be pushed in the Connectors pipeline. (required)
3407
-
:type batch_write_params: BatchWriteParams
3406
+
:param push_task_payload: Request body of a Search API `batch` request that will be pushed in the Connectors pipeline. (required)
3407
+
:type push_task_payload: PushTaskPayload
3408
3408
:param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
3409
3409
:return: Returns the raw algoliasearch 'APIResponse' object.
"Parameter `task_id` is required when calling `push_task`."
3415
3415
)
3416
3416
3417
-
ifbatch_write_paramsisNone:
3417
+
ifpush_task_payloadisNone:
3418
3418
raiseValueError(
3419
-
"Parameter `batch_write_params` is required when calling `push_task`."
3419
+
"Parameter `push_task_payload` is required when calling `push_task`."
3420
3420
)
3421
3421
3422
3422
_data= {}
3423
-
ifbatch_write_paramsisnotNone:
3424
-
_data=batch_write_params
3423
+
ifpush_task_payloadisnotNone:
3424
+
_data=push_task_payload
3425
3425
3426
3426
returnawaitself._transporter.request(
3427
3427
verb=Verb.POST,
@@ -3440,8 +3440,8 @@ async def push_task(
3440
3440
task_id: Annotated[
3441
3441
StrictStr, Field(description="Unique identifier of a task.")
3442
3442
],
3443
-
batch_write_params: Annotated[
3444
-
BatchWriteParams,
3443
+
push_task_payload: Annotated[
3444
+
PushTaskPayload,
3445
3445
Field(
3446
3446
description="Request body of a Search API `batch` request that will be pushed in the Connectors pipeline."
3447
3447
),
@@ -3458,14 +3458,14 @@ async def push_task(
3458
3458
3459
3459
:param task_id: Unique identifier of a task. (required)
3460
3460
:type task_id: str
3461
-
:param batch_write_params: Request body of a Search API `batch` request that will be pushed in the Connectors pipeline. (required)
3462
-
:type batch_write_params: BatchWriteParams
3461
+
:param push_task_payload: Request body of a Search API `batch` request that will be pushed in the Connectors pipeline. (required)
3462
+
:type push_task_payload: PushTaskPayload
3463
3463
:param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
3464
3464
:return: Returns the deserialized response in a 'RunResponse' result object.
0 commit comments