dropbox-sdk-python icon indicating copy to clipboard operation
dropbox-sdk-python copied to clipboard

UserRootInfo in the Python SDK does not have a home_path field

Open samschott opened this issue 1 year ago • 1 comments

Describe the bug UserRootInfo in the Python SDK does not have a home_path field, while the API docs at https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account say that it does.

Versions

  • What version of the SDK are you using? 11.36.2
  • What version of the language are you using? Python 3.11

Additional context

With the recent update of how team spaces are configured, as announced in https://dropbox.tech/developers/api-updates-to-better-support-team-spaces, we should expect UserRootInfo to be returned for team accounts.

All users with a team space previously had a root_info of type team from /2/users/get_current_account. Going forward, users with the updated team space will have root_info of type user.

Since the root namespace will still differ from the home namespace, knowing the home_path is essential for correct syncing.

samschott avatar Nov 15 '23 21:11 samschott

Thanks for the report! The Python SDK hasn't been updated to include that field yet, but I'll ask the team to do so.

greg-db avatar Nov 15 '23 22:11 greg-db