Clone placements when instantiating an action.
Review Request #14703 — Created Nov. 24, 2025 and updated
When instantiating an action, the placements configured on the class
were used directly, with state stored on them. That failed when
subclassing an action or when reusing an action across tests.Placements are now cloned when instantiating the action, avoiding this
scenario. It's now safe to have multiple actions share a placement or
list of placements for their definitions.
Unit tests pass.
Verified this fixed unit test issues with in-progress changes.
| Summary | ID |
|---|---|
| cd12f0df9172cec7f3813d6352ed81ea47a4204d |
| Description | From | Last Updated |
|---|---|---|
|
Should we import final from typing_extensions in order to get the 3.11 behavior? |
|
- Change Summary:
-
Switched to the modern version of
finalfromtyping_extensions. - Commits:
-
Summary ID c4eab462cc50942a7ab4b6a3f0b45f29a2703c32 cd12f0df9172cec7f3813d6352ed81ea47a4204d - Diff:
-
Revision 2 (+62)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.