Skip to content

Commit 7ede5e6

Browse files
committed
Update node list api endpoint and bump version
1 parent 4f00d0a commit 7ede5e6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "weco"
88
authors = [{ name = "Weco AI Team", email = "contact@weco.ai" }]
99
description = "Documentation for `weco`, a CLI for using Weco AI's code optimizer."
1010
readme = "README.md"
11-
version = "0.3.24"
11+
version = "0.3.25"
1212
license = { file = "LICENSE" }
1313
requires-python = ">=3.9"
1414
dependencies = [

weco/core/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def list_nodes(
247247
params["sort"] = sort
248248
if not include_code:
249249
params["include_code"] = False
250-
resp = self._get(f"/runs/{run_id}/nodes", params=params)
250+
resp = self._get(f"/runs/{run_id}/node-list", params=params)
251251
resp.raise_for_status()
252252
return resp.json()
253253

0 commit comments

Comments
 (0)