80
80
from algoliasearch .ingestion .models .run_source_payload import RunSourcePayload
81
81
from algoliasearch .ingestion .models .run_source_response import RunSourceResponse
82
82
from algoliasearch .ingestion .models .run_status import RunStatus
83
+ from algoliasearch .ingestion .models .run_type import RunType
83
84
from algoliasearch .ingestion .models .sort_keys import SortKeys
84
85
from algoliasearch .ingestion .models .source import Source
85
86
from algoliasearch .ingestion .models .source_create import SourceCreate
@@ -2532,6 +2533,10 @@ async def list_runs_with_http_info(
2532
2533
Optional [List [RunStatus ]],
2533
2534
Field (description = "Run status for filtering the list of task runs." ),
2534
2535
] = None ,
2536
+ type : Annotated [
2537
+ Optional [List [RunType ]],
2538
+ Field (description = "Run type for filtering the list of task runs." ),
2539
+ ] = None ,
2535
2540
task_id : Annotated [
2536
2541
Optional [StrictStr ],
2537
2542
Field (description = "Task ID for filtering the list of task runs." ),
@@ -2572,6 +2577,8 @@ async def list_runs_with_http_info(
2572
2577
:type page: int
2573
2578
:param status: Run status for filtering the list of task runs.
2574
2579
:type status: List[RunStatus]
2580
+ :param type: Run type for filtering the list of task runs.
2581
+ :type type: List[RunType]
2575
2582
:param task_id: Task ID for filtering the list of task runs.
2576
2583
:type task_id: str
2577
2584
:param sort: Property by which to sort the list of task runs.
@@ -2594,6 +2601,8 @@ async def list_runs_with_http_info(
2594
2601
_query_parameters .append (("page" , page ))
2595
2602
if status is not None :
2596
2603
_query_parameters .append (("status" , status ))
2604
+ if type is not None :
2605
+ _query_parameters .append (("type" , type ))
2597
2606
if task_id is not None :
2598
2607
_query_parameters .append (("taskID" , task_id ))
2599
2608
if sort is not None :
@@ -2629,6 +2638,10 @@ async def list_runs(
2629
2638
Optional [List [RunStatus ]],
2630
2639
Field (description = "Run status for filtering the list of task runs." ),
2631
2640
] = None ,
2641
+ type : Annotated [
2642
+ Optional [List [RunType ]],
2643
+ Field (description = "Run type for filtering the list of task runs." ),
2644
+ ] = None ,
2632
2645
task_id : Annotated [
2633
2646
Optional [StrictStr ],
2634
2647
Field (description = "Task ID for filtering the list of task runs." ),
@@ -2669,6 +2682,8 @@ async def list_runs(
2669
2682
:type page: int
2670
2683
:param status: Run status for filtering the list of task runs.
2671
2684
:type status: List[RunStatus]
2685
+ :param type: Run type for filtering the list of task runs.
2686
+ :type type: List[RunType]
2672
2687
:param task_id: Task ID for filtering the list of task runs.
2673
2688
:type task_id: str
2674
2689
:param sort: Property by which to sort the list of task runs.
@@ -2687,6 +2702,7 @@ async def list_runs(
2687
2702
items_per_page ,
2688
2703
page ,
2689
2704
status ,
2705
+ type ,
2690
2706
task_id ,
2691
2707
sort ,
2692
2708
order ,
0 commit comments