elijahbenizzy opened a new issue, #10:
URL: https://github.com/apache/burr/issues/10
Problems with Hamilton integration:
- [ ] We can't modify inputs from state
- [ ] We can't modify outputs to state
Idea:
```python
h = Hamilton(
inputs={"most_recent_item": from_state("all_items", process=lambda x:
x[-1]) # get the last one
outputs={"count": update_state("count", process=lambda count: count +
1)} # increments it
)
```
Also:
```python
h = Hamilton(
inputs=...,
outputs=...,
extra_updates=lambda result, state: ...
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]