Pickle¶
cachetory.serializers.PickleSerializer ¶
Uses the standard built-in pickle
serialization.
Source code in cachetory/serializers/pickle.py
from_url
classmethod
¶
Construct serializer from the URL.
Supported schema's¶
pickle://
URL parameters¶
Parameter | |
---|---|
pickle-protocol |
pickle protocol version |
Source code in cachetory/serializers/pickle.py
__init__ ¶
Initialize the serializer.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
pickle_protocol
|
int
|
|
HIGHEST_PROTOCOL
|