Skip to content

Commit 477188d

Browse files
authored
add code block (#9749)
1 parent b174712 commit 477188d

File tree

1 file changed

+2
-0
lines changed
  • haystack/components/agents/state

1 file changed

+2
-0
lines changed

haystack/components/agents/state/state.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ class State:
8383
A class that wraps a StateSchema and maintains an internal _data dictionary.
8484
8585
Each schema entry has:
86+
```json
8687
"parameter_name": {
8788
"type": SomeType,
8889
"handler": Optional[Callable[[Any, Any], Any]]
8990
}
91+
```
9092
"""
9193

9294
def __init__(self, schema: dict[str, Any], data: Optional[dict[str, Any]] = None):

0 commit comments

Comments
 (0)