def FromStream(cls, stream, auto_transfer=True, total_size=None, **kwds):
        """Create a new Download object from a stream."""
        return cls(stream, auto_transfer=auto_transfer, total_size=total_size,
                   **kwds)
def FromStream ( cls , stream , auto_transfer = True , total_size = None , ** kwds ) : return cls ( stream , auto_transfer = auto_transfer , total_size = total_size , ** kwds )
Create a new Download object from a stream.