Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Oct 2, 2024

About

Make the do_execute... dialect methods store the last response into the request context instance, to make it available to downstream users.

References

Code like in cratedb-toolkit will use the response/result, in this case the response from a bulk insert request, to find out about records that failed to insert.

https://github.com/crate/cratedb-toolkit/blob/v0.0.27/cratedb_toolkit/io/core.py#L141-L148

@amotl amotl requested a review from seut October 2, 2024 18:08
@cla-bot cla-bot bot added the cla-signed label Oct 2, 2024
@amotl amotl marked this pull request as ready for review October 2, 2024 18:13
@amotl amotl force-pushed the improve-executemany branch from 32bc409 to dce0106 Compare October 2, 2024 19:19
@amotl amotl requested a review from matriv October 3, 2024 12:16
@amotl amotl requested a review from matriv October 3, 2024 19:37
@amotl amotl merged commit d00e690 into main Oct 6, 2024
26 checks passed
@amotl amotl deleted the improve-executemany branch October 6, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants