Skip to content

0.98.0

@joaomdmoura joaomdmoura tagged this 20 Jan 16:30
* fix: ensure persisted state overrides class defaults

- Remove early return in Flow.__init__ to allow proper state initialization
- Add test_flow_default_override.py to verify state override behavior
- Fix issue where default values weren't being overridden by persisted state

Fixes the issue where persisted state values weren't properly overriding
class defaults when restarting a flow with a previously saved state ID.

Co-Authored-By: Joe Moura <[email protected]>

* test: improve state restoration verification with has_set_count flag

Co-Authored-By: Joe Moura <[email protected]>

* test: add has_set_count field to PoemState

Co-Authored-By: Joe Moura <[email protected]>

* refactoring test

* fix: ensure persisted state overrides class defaults

- Remove early return in Flow.__init__ to allow proper state initialization
- Add test_flow_default_override.py to verify state override behavior
- Fix issue where default values weren't being overridden by persisted state

Fixes the issue where persisted state values weren't properly overriding
class defaults when restarting a flow with a previously saved state ID.

Co-Authored-By: Joe Moura <[email protected]>

* test: improve state restoration verification with has_set_count flag

Co-Authored-By: Joe Moura <[email protected]>

* test: add has_set_count field to PoemState

Co-Authored-By: Joe Moura <[email protected]>

* refactoring test

* Fixing flow state

* fixing peristed stateful flows

* linter

* type fix

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Joe Moura <[email protected]>
Assets 2
Loading