Jorge-Polanco-Roque opened a new pull request, #4173:
URL: https://github.com/apache/iggy/pull/4173

   Closes #4164.
   
   The Python SDK's `update_user()` always passed 
`UserUpdateOptions::default()`, so there was no way to actually set the options 
the Rust API accepts. This exposes an optional `options` kwarg and forwards it 
into `UserUpdateOptions`, following the exact pattern already used by 
`update_stream()`. Omitting it keeps the previous behavior.
   
   **Tests:** added `test_update_user_with_empty_options_succeeds` and 
`test_update_user_forwards_options` (mirroring `test_stream.py`); the full 
`test_user.py` suite (53) passes against a local server, and `cargo clippy` + 
`ruff` are clean. The `.pyi` stub was regenerated with `stub_gen` + `ruff 
format`.
   
   ---
   _Disclosure: per CONTRIBUTING's AI-assistance note — I use AI to help write 
and review code, and I've reviewed and verified every line myself._
   


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