Files
pillar-python-sdk/pillarsdk
Sybren A. Stüvel c8eec9fa9d Added pickle support for Resource classes, albeit a bit hacky.
Unpickling requires the class to be known, so we can't simply use to_dict()
to pickle and pass the dict to __init__() to unpickle. This works for the
pickled object itself (as pickle restores its type), but fails to restore
the class of subobjects, such as some_node.picture. This is why the code
now pickles each subobject too.
2017-09-19 13:43:48 +02:00
..
2016-10-12 14:30:05 +02:00
2016-10-12 14:30:05 +02:00
2017-03-03 12:19:27 +01:00
2015-08-31 19:25:01 +02:00
2016-11-04 12:37:43 +01:00
2015-08-31 19:25:01 +02:00
2015-08-31 19:25:01 +02:00