Elioooon opened a new pull request, #4017: URL: https://github.com/apache/iggy/pull/4017
Closes #4014 ## Summary - expose `create_partitions` and `delete_partitions` on the Python `IggyClient` - delegate to the existing Rust `PartitionClient` methods using the established async binding pattern - add type stubs and an integration test covering partition count changes ## Validation - `cargo check --manifest-path foreign/python/Cargo.toml` - `cargo clippy --manifest-path foreign/python/Cargo.toml --all-targets --all-features -- -D warnings` - `cargo fmt --manifest-path foreign/python/Cargo.toml -- --check` - `uv run --project foreign/python --no-sync ruff format --check foreign/python/tests/test_partition.py` - `uv run --project foreign/python --no-sync ruff check foreign/python/tests/test_partition.py` - local server: `cargo run -p server --bin iggy-server -- --with-default-root-credentials --fresh` (with a local macOS hwloc/pkg-config build environment) - `uv run --project foreign/python --no-sync pytest foreign/python/tests/test_partition.py -v` (`1 passed`) ## Risk boundary The change is limited to the Python binding surface. It introduces no protocol or server behavior changes and delegates directly to the existing Rust SDK operations. The integration test verifies the observable partition count after both operations. Disclosure: This contribution was developed with assistance from generative AI. I reviewed the implementation and ran all validation listed above locally. -- 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]
