Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

celery_dill_serializer-0.1.3-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page