scylladb / scylladb/python-rs-driver
Make Statemetn/PreparedStatement/Batch mutable
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 7
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 9
Description
Currently only way to set some configuration on Statemetn/PreparedStatement/Batch is via methos with_ which returns completely new object. This is both clones statement on each mutation and is a mismatch with the legacy python driver. We should consider changing this approach to more similar one used in legacy python driver.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Statemetn, PreparedStatement, and Batch types and their with_ methods, then compare their behavior with the legacy Python driver. Define the intended mutable API and compatibility criteria before changing it; done means configuration updates no longer require cloning and the behavior matches the legacy driver.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100