snowflake.snowpark.files.SnowflakeFile.read1

SnowflakeFile.read1(size: int = - 1) Sequence[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.37.0/src/snowflake/snowpark/files.py#L306-L324)

From https://docs.python.org/3/library/io.html#io.BufferedIOBase.read1 (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).

Language: English