mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-04-22 18:19:17 -05:00
fix: engine bugs and python sdk (#178)
* fix: engine bugs and python sdk * chore: fix linting
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user