tortoise / tortoise/tortoise-orm
When creating objects via bulk_create with ignore_confilcts=False, an exception does not fire, the program simply stops execution, you have to wrap it in an exception handler and only then it catches the error, can you fix it? So that raise pops up in case of an exception by itself
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 516
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 9
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, preferably a small code snippet.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Contributor guide
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 reproducing the reported behavior around bulk_create with ignore_conflicts=False, using a minimal example that triggers an exception. Trace how the exception is handled during bulk creation and verify that the error propagates without requiring an external exception handler.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100