Kinto / Kinto/kinto-http.py

if_not_exists for batch.create_* doesn't work

Open
#73 2 comments 0 reactions 0 assignees View on GitHub
enhancement stale
Dominant language
Python
Stars
53
Forks
22
Avg merge
3d 5h
Merged PRs (30d)
3

Description

The if_not_exists behavior doesn't ignore the 412 if they happen in a batch.

Contributor guide

Open the contributing guide

Research direction

Trace the batch.create_* implementation and its if_not_exists handling, then reproduce a batch containing an already-existing record that returns HTTP 412. Confirm how single-record behavior differs from batch behavior; the work is done when expected 412 responses are ignored for batch creates using if_not_exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.