dropbox / dropbox-sdk-python

The Official Dropbox API V2 SDK for Python
https://www.dropbox.com/developers
MIT License
930 stars 318 forks source link

UserRootInfo in the Python SDK does not have a home_path field #486

Open samschott opened 9 months ago

samschott commented 9 months ago

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

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.

greg-db commented 9 months ago

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.