Skip to content

Commit

Permalink
Fix describing executions with no activities
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicWink committed Nov 16, 2021
1 parent dd63fa1 commit b7ff956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swf_typed/_executions.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def from_api(cls, data) -> "ExecutionDetails":
info=ExecutionInfo.from_api(data["executionInfo"]),
configuration=config,
n_open=ExecutionOpenCounts.from_api(data["openCounts"]),
latest_activity_task_scheduled=data["latestActivityTaskTimestamp"],
latest_activity_task_scheduled=data.get("latestActivityTaskTimestamp"),
latest_context=data.get("latestExecutionContext"),
)

Expand Down

0 comments on commit b7ff956

Please sign in to comment.