section9-lab opened a new pull request, #800: URL: https://github.com/apache/burr/pull/800
## Summary Adds `Application.get_prior_action()` as the symmetric counterpart to `get_next_action()`. - Returns the `Action` that was executed in the most recent step - Returns `None` when no step has been executed yet (application is at its entrypoint) - The data already exists in state under `__PRIOR_STEP`; this simply exposes it as a first-class public API Closes #502 ## Changes - `burr/core/application.py`: add `get_prior_action()` next to `get_next_action()` - `tests/core/test_application.py`: add `test_app_get_prior_step()` mirroring the existing `test_app_get_next_step()` ## Test plan - [x] `test_app_get_prior_step` — verifies `None` before any step, then correct action name after each `step()` call - [x] Existing `test_app_get_next_step` still passes -- 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]
