Skip to content

Commit d502413

Browse files
author
Vivian Nguyen
committed
Return type for 'read as bytes`
1 parent 94efdd8 commit d502413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tiledb/vfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def write(self, file: lt.FileHandle, buff: Union[str, bytes]):
9494
buff = buff.encode()
9595
file.write(buff)
9696

97-
def read(self, file: lt.FileHandle, offset: int, nbytes: int):
97+
def read(self, file: lt.FileHandle, offset: int, nbytes: int) -> bytes:
9898
"""Read nbytes from an opened VFS FileHandle at a given offset
9999
100100
:param FileHandle file: An opened VFS FileHandle in 'r' mode

0 commit comments

Comments
 (0)