durations-only expressions doesn't work on SQLite and MySQL Description
durations-only expressions doesn't work on SQLite and MySQL Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). class Experiment(models.Model): estimated time = models.DurationField() list(Experiment.objects.annotate(duration=F('estimated time') + datime.timedelta(1))) Traceback…
The task
class Experiment(models.Model): estimated_time = models.DurationField() list(Experiment.objects.annotate(duration=F('estimated_time') + datime.timedelta(1))) Traceback (most recent call last): File "/home/sergey/dev/django/tests/expressions/tests.py", line 1218, in test_duration_expressions…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.