Modeling Guide

Py2 Type to Blob

This operator will serialize any python2 data received in its input port and send the result to the output port. First, the data will try to be serialized by calling the method to_blob() on the data. If that doesn't work then the data will be serialized with protocol 2 of the pickle library.

Configuration Parameters

None

Input

Input

Type

Description

input

python27.*

Any python2 data.

Output

Output

Type

Description

output

blob

The input serialized to bytes.