Skip to content

Commit 5600cbe

Browse files
committed
python: docs fixes
Signed-off-by: Simon Kassing <simon.kassing@feldera.com>
1 parent 423b502 commit 5600cbe

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

python/feldera/rest/feldera_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,9 @@ def resume_pipeline(
419419
timeout_s: Optional[float] = 300,
420420
):
421421
"""
422-
Pause a pipeline
422+
Resume a pipeline
423423
424424
:param pipeline_name: The name of the pipeline to stop
425-
:param error_message: The error message to show if the pipeline is in
426-
STOPPED state due to a failure.
427425
:param wait: Set True to wait for the pipeline to pause. True by default
428426
:param timeout_s: The amount of time in seconds to wait for the pipeline
429427
to pause. 300 seconds by default.

python/tests/platform/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def start_pipeline(name: str, wait: bool = True):
118118
def resume_pipeline(name: str, wait: bool = True):
119119
r = post_no_body(api_url(f"/pipelines/{name}/resume"))
120120
assert r.status_code == HTTPStatus.ACCEPTED, (
121-
f"Unexpected start response: {r.status_code} {r.text}"
121+
f"Unexpected resume response: {r.status_code} {r.text}"
122122
)
123123
if wait:
124124
wait_for_deployment_status(name, "Running", 30)

0 commit comments

Comments
 (0)