plain.jobs 0.37.0__tar.gz → 0.37.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of plain.jobs might be problematic. Click here for more details.

Files changed (31) hide show
  1. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/PKG-INFO +1 -1
  2. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/CHANGELOG.md +10 -0
  3. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/admin.py +6 -6
  4. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/pyproject.toml +1 -1
  5. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/.gitignore +0 -0
  6. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/LICENSE +0 -0
  7. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/README.md +0 -0
  8. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/README.md +0 -0
  9. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/__init__.py +0 -0
  10. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/chores.py +0 -0
  11. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/cli.py +0 -0
  12. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/config.py +0 -0
  13. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/default_settings.py +0 -0
  14. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/jobs.py +0 -0
  15. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/middleware.py +0 -0
  16. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0001_initial.py +0 -0
  17. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0002_job_span_id_job_trace_id_jobrequest_span_id_and_more.py +0 -0
  18. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0003_rename_job_jobprocess_and_more.py +0 -0
  19. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0004_rename_tables_to_plainjobs.py +0 -0
  20. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0005_rename_constraints_and_indexes.py +0 -0
  21. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/0006_alter_jobprocess_table_alter_jobrequest_table_and_more.py +0 -0
  22. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/migrations/__init__.py +0 -0
  23. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/models.py +0 -0
  24. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/parameters.py +0 -0
  25. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/registry.py +0 -0
  26. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/scheduling.py +0 -0
  27. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/templates/admin/plainqueue/jobresult_detail.html +0 -0
  28. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/plain/jobs/workers.py +0 -0
  29. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/tests/app/settings.py +0 -0
  30. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/tests/test_parameters.py +0 -0
  31. {plain_jobs-0.37.0 → plain_jobs-0.37.1}/tests/test_scheduling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.jobs
3
- Version: 0.37.0
3
+ Version: 0.37.1
4
4
  Summary: Process background jobs with a database-driven job queue.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -1,5 +1,15 @@
1
1
  # plain-jobs changelog
2
2
 
3
+ ## [0.37.1](https://github.com/dropseed/plain/releases/plain-jobs@0.37.1) (2025-10-24)
4
+
5
+ ### What's changed
6
+
7
+ - Fixed admin interface filter functionality to correctly use `preset` instead of `display` for filtering job results ([26fde7d562](https://github.com/dropseed/plain/commit/26fde7d562))
8
+
9
+ ### Upgrade instructions
10
+
11
+ - No changes required
12
+
3
13
  ## [0.37.0](https://github.com/dropseed/plain/releases/plain-jobs@0.37.0) (2025-10-22)
4
14
 
5
15
  ### What's changed
@@ -204,21 +204,21 @@ class JobResultViewset(AdminViewset):
204
204
  output_field=models.BooleanField(),
205
205
  ),
206
206
  )
207
- if self.display == "Successful":
207
+ if self.preset == "Successful":
208
208
  return queryset.successful()
209
- if self.display == "Errored":
209
+ if self.preset == "Errored":
210
210
  return queryset.errored()
211
- if self.display == "Cancelled":
211
+ if self.preset == "Cancelled":
212
212
  return queryset.cancelled()
213
- if self.display == "Lost":
213
+ if self.preset == "Lost":
214
214
  return queryset.lost()
215
- if self.display == "Retried":
215
+ if self.preset == "Retried":
216
216
  return queryset.retried()
217
217
  return queryset
218
218
 
219
219
  def get_fields(self) -> list[str]:
220
220
  fields = super().get_fields()
221
- if self.display == "Retried":
221
+ if self.preset == "Retried":
222
222
  fields.append("retries")
223
223
  fields.append("retry_attempt")
224
224
  return fields
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plain.jobs"
3
- version = "0.37.0"
3
+ version = "0.37.1"
4
4
  description = "Process background jobs with a database-driven job queue."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes