Skip to content

AttributeError: 'User' object has no attribute 'contents' #51

@yossarian04

Description

@yossarian04

I'm trying to use .contents() to page through user history. But I get the above error. This works fine when using it with 'users'

users = hc.users(expand='items').contents() works fine

msgs = hc.get_user('email').history().contents() fails with the above error. I thought .contents() would allow me to page through the results? Right now .history() only returns 200 messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions