snowflake.snowpark.files.SnowflakeFile.write¶
- SnowflakeFile.write(b: bytes | bytearray | array.array) int [source]¶
See 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.