CumulusCI
CumulusCI copied to clipboard
Use JSON instead of Pickle
trafficstars
- All new keychain details are serialized using json, not pickle.
@bethbrains
We're going to have to support Dates and DateTimes.
https://github.com/SFDO-Tooling/CumulusCI/actions/runs/3230706675/jobs/5289461956#step:8:41
We need to use the default= parameter:
https://docs.python.org/3/library/json.html#json.dump
Like this:
https://github.com/SFDO-Tooling/CumulusCI/blob/15872d5da869d069122d086d8f6aeeba1ced2c17/cumulusci/utils/parallel/task_worker_queues/parallel_worker.py#L211
We should also do some kind of survey to figure out what other types we might need to support.