eclipse-uprotocol / eclipse-uprotocol/up-rust-py
CallOptions not exposed to Python
Open
- Dominant language
- Rust
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, `SimplePublisher.publish()` and `SimpleNotifier.notify()` hardcode `CallOptions::for_publish(None, None, None)`. Users can't set TTL, priority, or message ID. Needs a Python CallOptions class.
Contributor guide
Research direction
Start at SimplePublisher.publish() and SimpleNotifier.notify(), then trace how Rust types are exposed through the Python bindings. Inspect the current CallOptions::for_publish(None, None, None) calls and the surrounding binding API. Done means Python callers can provide TTL, priority, and message ID through a CallOptions class used by both methods; run the existing test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100