21718: Add "return_memoryview" flag to read() and readfrom()
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 20 May 2024 20:24:41 +0000 (16:24 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 21 May 2024 15:54:30 +0000 (11:54 -0400)
commita41610d3f36852e9abf7eaa03e91d170c1c441b4
tree1e314bf99bf1573b6ca4eb452bac2703b8058b62
parent7f8fa5edc5175ffda9fdfaa28081f799ae485ec0
21718: Add "return_memoryview" flag to read() and readfrom()

If return_memoryview is true, always return memoryview.  This makes
for more consistent read() and readfrom() behavior.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
sdk/python/arvados/arvfile.py
sdk/python/arvados/collection.py
services/fuse/arvados_fuse/fusefile.py