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