(file, **kwargs)
return runAsync(aio_download.downloadToFile(file=file, **kwargs))
Convenience method to download data to a file object.  The file must be
    writeable, in binary mode, seekable (`f.seek`), and truncatable
    (`f.truncate`) to support retries.  Arguments are the same as `download`,
    except that `writerFactory` should not be supplied.  Returns the content-type.
Convenience method to download data to a file object.  The file must be
    writeable, in binary mode, seekable (`f.seek`), and truncatable
    (`f.truncate`) to support retries.  Arguments are the same as `download`,
    except that `writerFactory` should not be supplied.  Returns the content-type.
Convenience method to download data to a file object . The file must be writeable in binary mode seekable ( f . seek ) and truncatable ( f . truncate ) to support retries . Arguments are the same as download except that writerFactory should not be supplied . Returns the content - type .
def downloadToFile(file, **kwargs):
    """
    Convenience method to download data to a file object.  The file must be
    writeable, in binary mode, seekable (`f.seek`), and truncatable
    (`f.truncate`) to support retries.  Arguments are the same as `download`,
    except that `writerFactory` should not be supplied.  Returns the content-type.
    """
    return runAsync(aio_download.downloadToFile(file=file, **kwargs))
def downloadToFile ( file , * * kwargs ) : return runAsync ( aio_download . downloadToFile ( file = file , * * kwargs ) )