fix: engine bugs and python sdk (#178)

* fix: engine bugs and python sdk

* chore: fix linting
This commit is contained in:
abelanger5
2024-02-19 15:57:05 -08:00
committed by GitHub
parent a96664c402
commit 6b747711fb
6 changed files with 52 additions and 10 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ class MyWorkflow:
@hatchet.step()
def step1(self, context : Context):
context.overrides("test", "test")
overrideValue = context.overrides("prompt", "You are an AI assistant...")
print("executed step1", context.workflow_input())
return {
"step1": "step1",
"step1": overrideValue,
}
@hatchet.step()