plain.jobs 0.37.0__py3-none-any.whl → 0.37.1__py3-none-any.whl

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.

plain/jobs/CHANGELOG.md CHANGED
@@ -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
plain/jobs/admin.py 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
  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,7 +1,7 @@
1
- plain/jobs/CHANGELOG.md,sha256=NWsCgXUWmrbBni77ILNwuF0HYJOkbf02JunTu09syF0,13534
1
+ plain/jobs/CHANGELOG.md,sha256=H3RG65KNXrQ_KIZCkmWq08XGID-MXhocTSaHfEE2hJU,13878
2
2
  plain/jobs/README.md,sha256=Xuhz2Q48G9WeGCh5OWGVBlaSea4eKCqWzcTAtZRrS0I,6835
3
3
  plain/jobs/__init__.py,sha256=yN6m5CxQuzB5tKVXVPwGSSh2jtwQybVDHj1V4M3z2F0,147
4
- plain/jobs/admin.py,sha256=t1UEchq1-Eews_wPsVUofaqbzPaYpb-8H1bUlA59JGI,6785
4
+ plain/jobs/admin.py,sha256=SVaNX3DAebpYLVhc2KEN7oLJEbc69CHaPI_4-Pw4L7Q,6779
5
5
  plain/jobs/chores.py,sha256=oyVU-BfcJxMM3eK2_umn38N2mBsNpcDrZfpeEQju_DA,528
6
6
  plain/jobs/cli.py,sha256=PPoT7xjl818BZnmI0yA_UCLEQkzl_Tv1_hiuJW9UE-Q,5911
7
7
  plain/jobs/config.py,sha256=PQsl-LxWsWLnjC98f0mvtdcCOuXvXKDMjrCRf1fq44Y,550
@@ -21,7 +21,7 @@ plain/jobs/migrations/0005_rename_constraints_and_indexes.py,sha256=PDGpOw6__tVf
21
21
  plain/jobs/migrations/0006_alter_jobprocess_table_alter_jobrequest_table_and_more.py,sha256=FY0_pcw0mL8MkUSatpDXWtA_xQw0kTZBGIyjLcmYeJE,546
22
22
  plain/jobs/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  plain/jobs/templates/admin/plainqueue/jobresult_detail.html,sha256=Ybp1s_dARo_bFDcLEzEfETheP8SzqHHE_NNSKhv_eh8,198
24
- plain_jobs-0.37.0.dist-info/METADATA,sha256=geJ8q9B-FRjIjkx069lyjHp8vnaN2KrbZ3hpJ3Y9IEE,7162
25
- plain_jobs-0.37.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
- plain_jobs-0.37.0.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
27
- plain_jobs-0.37.0.dist-info/RECORD,,
24
+ plain_jobs-0.37.1.dist-info/METADATA,sha256=R35qymvSrJTj1UsdmlncDIMimqi238zD0nHwuta8118,7162
25
+ plain_jobs-0.37.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
+ plain_jobs-0.37.1.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
27
+ plain_jobs-0.37.1.dist-info/RECORD,,