asphalt.serialization.serializers.pickle
- class asphalt.serialization.serializers.pickle.PickleSerializer(protocol=5)
Bases:
SerializerSerializes objects using the standard library
picklemodule.Warning
This serializer is insecure because it allows execution of arbitrary code when deserializing. Avoid using this if at all possible.
- Parameters:
protocol (
int) – pickle protocol level to use (defaults to the highest possible)