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 details)

Uploaded Python 2 Python 3

File details

Details for the file celery_dill_serializer-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for celery_dill_serializer-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aacc7bd5eb53f214a0b79b6846b8e9d075db500279f318fe015e7e0ce1de85fb
MD5 a366ca1a04c3b292451fb81b82ba3c95
BLAKE2b-256 995f4ed99266171ebe9aa38834ce35c0ac27954a18a75178bb679efbd4ae9252

See more details on using hashes here.

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