feat: warn when deduplication_key_fields are missing from task kwargs (#68)

This commit is contained in:
d3vyce
2026-06-27 14:19:42 +02:00
committed by GitHub
parent 764288c924
commit 7326f4693f
3 changed files with 44 additions and 5 deletions
+4
View File
@@ -178,6 +178,10 @@ async def send_welcome_email(user_id: int, locale: str) -> None:
...
```
If a listed field is absent from a task's kwargs, it is dropped from the
fingerprint and a warning is logged, since this can make genuinely different
calls collide on the same lock.
## Opting out per task
```python