Skip to content

Commit

Permalink
FIX: Add missing type field to emulated Pub/Sub questions
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Nov 15, 2023
1 parent b0dfce4 commit 8118bbb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion octue/cloud/emulators/_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,12 @@ def ask(
self.children[service_id].answer(
MockMessage(
data=json.dumps(
{"input_values": input_values, "input_manifest": input_manifest, "children": children},
{
"type": "question",
"input_values": input_values,
"input_manifest": input_manifest,
"children": children,
},
cls=OctueJSONEncoder,
).encode(),
attributes={
Expand Down

0 comments on commit 8118bbb

Please sign in to comment.