snowflake.snowpark.files.SnowflakeFile.write¶
- SnowflakeFile.write(b: bytes | bytearray | array.array) int [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.35.0/src/snowflake/snowpark/files.py#L480-L488)¶
See https://docs.python.org/3/library/io.html#io.RawIOBase.write (https://docs.python.org/3/library/io.html#io.RawIOBase.write)
Write the given bytes-like object, b, to the underlying raw stream, and return the number of bytes-like objects written (e.g. unicode characters provided to a text input count as 1). The number of bytes should equal the input bytes, since all bytes are written directly to the stream. Local testing support is not implemented yet.