Skip to content

Commit

Permalink
Return type for 'read as bytes`
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenv committed Apr 1, 2022
1 parent 94efdd8 commit d502413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/vfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def write(self, file: lt.FileHandle, buff: Union[str, bytes]):
buff = buff.encode()
file.write(buff)

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

0 comments on commit d502413

Please sign in to comment.