snowflake.snowpark.files.SnowflakeFile.read1¶
- SnowflakeFile.read1(size: int = - 1) Sequence [source]¶
From https://docs.python.org/3/library/io.html#io.BufferedIOBase.read1
Read and return up to size bytes, with at most one call to the underlying raw stream’s read() (or readinto()) method.
If size is -1 (the default), an arbitrary number of bytes are returned (more than zero unless EOF is reached).