Skip to content

Commit

Permalink
changed update_update_flow_run_labels return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanluciano committed Dec 9, 2024
1 parent ac2b086 commit 653eb55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/prefect/client/orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,7 @@ async def raise_for_api_version_mismatch(self) -> None:

async def update_flow_run_labels(
self, flow_run_id: UUID, labels: KeyValueLabelsField
) -> httpx.Response:
) -> None:
"""
Updates the labels of a flow run.
"""
Expand All @@ -3473,7 +3473,6 @@ async def update_flow_run_labels(
f"/flow_runs/{flow_run_id}/labels", json=labels
)
response.raise_for_status()
return response

async def __aenter__(self) -> Self:
"""
Expand Down Expand Up @@ -4389,7 +4388,7 @@ def decrement_v1_concurrency_slots(

def update_flow_run_labels(
self, flow_run_id: UUID, labels: KeyValueLabelsField
) -> httpx.Response:
) -> None:
"""
Updates the labels of a flow run.
"""
Expand All @@ -4398,4 +4397,3 @@ def update_flow_run_labels(
json=labels,
)
response.raise_for_status()
return response

0 comments on commit 653eb55

Please sign in to comment.