Description
The Python SDK currently exposes only create_stream(name) and get_stream(stream_id) for stream management, while the Rust SDK also supports listing, updating, deleting, and purging streams.
The missing functions are get_streams, update_streams, delete_stream, and purge_stream. These asynchronous functions should be added to foreign/python/src/client.rs, wrapping the underlying rust sdk function using PyO3.
These should be tested end-to-end extensively, and the tests should be added to foreign/python/tests/test_stream.py.
The stubs in apache_iggy.pyi should be properly generated without any mangling.
Before opening a PR, please ensure that all pre-commit hooks pass.
Affected area / component
Python SDK
Proposed solution
N/A
Alternatives considered
N/A
Contribution
Good first issue
Description
The Python SDK currently exposes only
create_stream(name)andget_stream(stream_id)for stream management, while the Rust SDK also supports listing, updating, deleting, and purging streams.The missing functions are
get_streams,update_streams,delete_stream, andpurge_stream. These asynchronous functions should be added toforeign/python/src/client.rs, wrapping the underlying rust sdk function using PyO3.These should be tested end-to-end extensively, and the tests should be added to
foreign/python/tests/test_stream.py.The stubs in
apache_iggy.pyishould be properly generated without any mangling.Before opening a PR, please ensure that all pre-commit hooks pass.
Affected area / component
Python SDK
Proposed solution
N/A
Alternatives considered
N/A
Contribution
Good first issue