#37126: Make Task and TaskResult comparable
--------------------------------+------------------------------------
Reporter: Johannes Maron | Owner: zky
Type: New feature | Status: assigned
Component: Tasks | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------+------------------------------------
Comment (by zky):
Replying to [comment:6 Johannes Maron]:
> Hi there,
>
> Good call. The dataclasses factory utilities are mainly supposed to
reduce boilerplate. They just create classes with the very same methods
for you. If it gets in the way, as it seems to do here, it is an excellent
choice to do things “manually.”
>
> Idioms and tools should never get in your way. That sentiment speaks
much to the core of Django and its success. In other words, I believe you
are on the right path :)
>
> Cheers!
> Joe
Thank you for the encouraging words! I completely agree—pragmatism over
strict adherence to tools is exactly what makes Django's design philosophy
so great to work with. I've already submitted the PR:
https://github.com/django/django/pull/21383
--
Ticket URL: <https://code.djangoproject.com/ticket/37126#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e7e7b60a9-cc123e04-3ab5-4f2f-ad0c-16d0a59c9956-000000%40eu-central-1.amazonses.com.