Skip to content

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

@samschott

Description

@samschott

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions