Skip to content

Fetching Folder Object by FolderID and Changekey #1362

@Apotrox

Description

@Apotrox

Hey there!

I've tried looking through the existing issues as well as the documentation but haven't really found what i was looking for.

After exporting a Folders' ID and Changekey (with .id and .changekey), i am trying to fetch/query the Folder Object with those values again.
I have found and tried your suggestion in #1086 with the SingleFolderQuerySet and FolderID here:
folder_src = SingleFolderQuerySet(account=acc,folder=FolderId(id=undo_src[0], changekey=undo_src[1])).resolve(), however it throws a ValueError: Unsupported folder class: FolderId(id='AAMkAGVlNWJmODBiLWJkZGEtNGY5Ny1hOTk2LWJiYzA1YjVjZjVhMwAuAAAAAAAc5jkvEgsCRLJhI62C4TiPAQBuTLQ+kl9fQ7TEKh263i6XAAAAAAFjAAA=', changekey='AQAAABYAAABuTLQ+kl9fQ7TEKh263i6XAAAAAdnL')

I am kinda pulling my hair out on this one so i'd greatly appreciate some pointers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions