Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Dill serializer for Celery 4.0+

Project Description

There are some issues with NameError when serialized functions depend on values defined outside of the scope of the def. Try putting imports and such inside the function definition, i.e.

def make_me_a_pi():
    import math
    return math.pi

as opposed to

import math

def make_me_a_pi():
    return math.pi

which would result in NameError: name 'math' is not defined.

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting