Skip to content

Commit f37ea74

Browse files
author
Alan Christie
committed
fix: get_instance() response type
1 parent 95eafcb commit f37ea74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/wapi_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def get_workflow_steps_driving_this_step(
287287
"steps": wf_response["steps"].copy(),
288288
}, 0
289289

290-
def get_instance(self, *, instance_id: str) -> dict[str, Any]:
290+
def get_instance(self, *, instance_id: str) -> tuple[dict[str, Any], int]:
291291
UnitTestWorkflowAPIAdapter.lock.acquire()
292292
with open(_INSTANCE_PICKLE_FILE, "rb") as pickle_file:
293293
instances = Unpickler(pickle_file).load()

0 commit comments

Comments
 (0)