databricks-sdk-py
databricks-sdk-py copied to clipboard
[ISSUE] ObjectInfo.size is always None
Description
when using WorkspaceClient().workspace.list() all files size parameter is always None
Reproduction
ws_client = WorkspaceClient()
files = ws_client.workspace.list()
for file in files:
if file.object_type == ObjectType.FILE:
print(file.size)
Expected behavior Files and Notebooks should have their size returned Is it a regression? I backtracked to 0.45 and couldn't get a proper response from the sdk
Other Information
- OS: databricks ide
- Version: tested on every few versions betwwen 0.45.0 to 0.67.0