#36919: Allow `TaskResult` (and `Task`) to be pickled
-------------------------------------+-------------------------------------
     Reporter:  Jake Howard          |                    Owner:  Varun
         Type:                       |  Kasyap Pentamaraju
  Cleanup/optimization               |                   Status:  assigned
    Component:  Tasks                |                  Version:  6.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):

 Replying to [comment:5 Varun Kasyap Pentamaraju]:
 > Replying to [comment:3 Jake Howard]:
 >
 > Hi Jake, I guess Natalia is just suggesting reusing (or taking
 inspiration from) some logic inside Serializer, which already converts a
 function to its dotted import path and includes validation for non-
 importable cases.

 Yes, thank you! That was my point, we already have robust logic for
 serializing methods and functions, so we shouldn't (ideally, when
 possible) re-invent the wheel.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36919#comment:6>
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/0107019c6b785172-8bb180d6-fdee-4e92-a5db-afc6cc3c5e44-000000%40eu-central-1.amazonses.com.

Reply via email to