aglinxinyuan opened a new pull request, #9189:
URL: https://github.com/apache/texera/pull/9189

   ## What changes were proposed in this pull request?
   Closes #9188.
   
   Removes the unused `@value.setter` on `AtomicInteger` in 
`amber/src/main/python/core/util/atomic.py`. Callers across the engine mutate 
the atomic value strictly via atomic methods (`inc`, `dec`, `get_and_inc`, 
`get_and_dec`, `get_and_set`) and read via the property getter (`.value`), 
leaving the setter unused. The corresponding unit test in `test_atomic.py` is 
updated to verify `value` is a read-only property (`AttributeError` on 
assignment).
   
   ## How was this PR tested?
   - `python -m py_compile amber/src/main/python/core/util/atomic.py`
   - `python -m pytest amber/src/test/python/core/util/test_atomic.py` (11 
passed)
   


-- 
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]

Reply via email to