use json schema for state schema
This commit is contained in:
@@ -1190,7 +1190,8 @@ def _custom_reducer_artifact() -> WorkflowArtifact:
|
||||
"required": ["total", "amount"],
|
||||
},
|
||||
"state_schema": {
|
||||
"fields": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"total": {
|
||||
"type": "integer",
|
||||
"reducer": "custom.multiply",
|
||||
|
||||
Reference in New Issue
Block a user