celery-singleton
celery-singleton copied to clipboard
Allow passing a JSON encoder
In re: #36
@steinitzu Are you open to accepting a PR json.JSONEncoder in the settings?
It can be passed to the json.dumps's cls= in celery_singleton.util::generate_lock()
This is a common practice and its accepted in json itself.