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
Release history Release notifications | RSS feed
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
File details
Details for the file celery_dill_serializer-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: celery_dill_serializer-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aacc7bd5eb53f214a0b79b6846b8e9d075db500279f318fe015e7e0ce1de85fb |
|
MD5 | a366ca1a04c3b292451fb81b82ba3c95 |
|
BLAKE2b-256 | 995f4ed99266171ebe9aa38834ce35c0ac27954a18a75178bb679efbd4ae9252 |