snowflake.snowpark.files.SnowflakeFile.read

SnowflakeFile.read(size: int = - 1) Sequence[source]

From https://docs.python.org/3/library/io.html#io.RawIOBase.read

Read up to size bytes from the object and return them. As a convenience, if size is unspecified or -1, all bytes until EOF are returned. Fewer than size bytes may be returned.

If 0 bytes are returned, and size was not 0, this indicates end of file.