The python sdk API reference for `branch().objects...
# help
f
The python sdk API reference for
branch().objects()
says it returns an
Generator[StoredObject | CommonPrefix....
. When I try to call
obj.reader().read()
on the objects generated, I get
ObjectInfo' object has no attribute 'reader'
o
Hi @Farhan Ahmad Can you please send the definition of
obj
?
n
Hi @Farhan Ahmad you are correct. There is a bug here. The call for objects returns a list of ObjectInfo objects and not StoredObjects. The function signature needs to be corrected.
Hi @Farhan Ahmad https://github.com/treeverse/lakeFS/pull/8154 was merged and will be available in the next patch release
f
Thnaks much much @Niro
👍🏽 1
lakefs 1