Skip to content

Commit 7e7c2df

Browse files
author
AidanAbd
committed
fix: awaiting for empty outputs causes Execution await issue
1 parent 921fb3c commit 7e7c2df

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Types of changes
1616

1717
# Latch SDK Changelog
1818

19+
## 2.67.17 - 2025-11-10
20+
21+
### Fixed
22+
23+
* Awaiting an Execution with no outputs leads to a 400 Client error
24+
1925
## 2.67.16 - 2025-11-05
2026

2127
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include = ["src/**/*.py", "src/**/py.typed", "src/latch_cli/services/init/*"]
1212

1313
[project]
1414
name = "latch"
15-
version = "2.67.16"
15+
version = "2.67.17"
1616
description = "The Latch SDK"
1717
authors = [{ name = "Kenny Workman", email = "kenny@latch.bio" }]
1818
maintainers = [{ name = "Ayush Kamat", email = "ayush@latch.bio" }]

src/latch_cli/services/launch/launch_v2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class MissingParameterError(ValueError): ...
4545

4646

4747
def process_output(outputs_url: str, python_outputs: dict[str, type]) -> dict[str, Any]:
48+
if python_outputs == {}:
49+
return {}
50+
4851
res = tinyrequests.post(
4952
urljoin(NUCLEUS_URL, "/ldata/get-flyte-metadata-signed-url"),
5053
headers={"Authorization": get_auth_header()},

0 commit comments

Comments
 (0)