Skip to content

Commit cdc567b

Browse files
committed
Fail loudly if failing to override this method
Since this base class is opt-in, having an empty default implementation (rather than an error) doesn't make a lot of sense.
1 parent 73177c6 commit cdc567b

File tree

1 file changed

+1
-1
lines changed
  • django_lightweight_queue/backends

1 file changed

+1
-1
lines changed

django_lightweight_queue/backends/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ def deduplicate(
3838
*,
3939
progress_logger: ProgressLogger = NULL_PROGRESS_LOGGER
4040
) -> Tuple[int, int]:
41-
pass
41+
raise NotImplementedError()

0 commit comments

Comments
 (0)