Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
samschott opened this issue Nov 15, 2023 · 1 comment
Open

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

samschott opened this issue Nov 15, 2023 · 1 comment
Labels

Comments

@samschott
Copy link
Contributor

samschott commented Nov 15, 2023

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 samschott added the bug label Nov 15, 2023
@greg-db
Copy link
Contributor

greg-db commented Nov 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants