celery-singleton icon indicating copy to clipboard operation
celery-singleton copied to clipboard

Allow passing a JSON encoder

Open tony opened this issue 3 years ago • 0 comments

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.

tony avatar Feb 23 '22 15:02 tony