File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 14
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-29ad327e738bb7cfe141e7ddb412ac41db03891941ec2f85db6e5f31c5811e40 .yml
3- openapi_spec_hash : bb3d0180ebd64b039787660567c2473d
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-c098713ad7d0db50c26687968fc23fbb61b919a674a9f26bb3375af48ea816f1 .yml
3+ openapi_spec_hash : 633a8a510fd3d0eb0c17c61522de6003
44config_hash : e894152aaebba5a2e65e27efaf2712e2
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def list(
118118 to `sort_by=updated_at` and `sort_order=desc`.
119119
120120 Args:
121- artifact_type: Filter runs by artifact type
121+ artifact_type: Filter runs by artifact type (PLAN or PULL_REQUEST)
122122
123123 created_after: Filter runs created after this timestamp (RFC3339 format)
124124
@@ -333,7 +333,7 @@ async def list(
333333 to `sort_by=updated_at` and `sort_order=desc`.
334334
335335 Args:
336- artifact_type: Filter runs by artifact type
336+ artifact_type: Filter runs by artifact type (PLAN or PULL_REQUEST)
337337
338338 created_after: Filter runs created after this timestamp (RFC3339 format)
339339
Original file line number Diff line number Diff line change @@ -275,7 +275,8 @@ def pause(
275275 ) -> ScheduledAgentItem :
276276 """Pause a scheduled agent.
277277
278- The agent will not run until resumed.
278+ The agent will not run until resumed. This sets the
279+ enabled flag to false.
279280
280281 Args:
281282 extra_headers: Send extra headers
@@ -310,7 +311,7 @@ def resume(
310311 """Resume a paused scheduled agent.
311312
312313 The agent will start running according to its
313- cron schedule.
314+ cron schedule. This sets the enabled flag to true.
314315
315316 Args:
316317 extra_headers: Send extra headers
@@ -583,7 +584,8 @@ async def pause(
583584 ) -> ScheduledAgentItem :
584585 """Pause a scheduled agent.
585586
586- The agent will not run until resumed.
587+ The agent will not run until resumed. This sets the
588+ enabled flag to false.
587589
588590 Args:
589591 extra_headers: Send extra headers
@@ -618,7 +620,7 @@ async def resume(
618620 """Resume a paused scheduled agent.
619621
620622 The agent will start running according to its
621- cron schedule.
623+ cron schedule. This sets the enabled flag to true.
622624
623625 Args:
624626 extra_headers: Send extra headers
Original file line number Diff line number Diff line change 1515
1616class RunListParams (TypedDict , total = False ):
1717 artifact_type : Literal ["PLAN" , "PULL_REQUEST" , "SCREENSHOT" ]
18- """Filter runs by artifact type"""
18+ """Filter runs by artifact type (PLAN or PULL_REQUEST) """
1919
2020 created_after : Annotated [Union [str , datetime ], PropertyInfo (format = "iso8601" )]
2121 """Filter runs created after this timestamp (RFC3339 format)"""
You can’t perform that action at this time.
0 commit comments