to_stream method

to_stream

Tries to convert the result to a stream object.

Returns

A stream object representing the output data if the result is stream; otherwise null.

def to_stream(self):
    ...

See Also