scylladb / scylladb/python-rs-driver

Make Statemetn/PreparedStatement/Batch mutable

Open
#184 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.