Stream_position parameter API | Python

New post

Comments

1 comment

  • Scott Hurrey

    Looks like you have a typo. Its not actually rejecting the stream_position argument. Its not expecting any argument to be there because the argument before it is malformed. You're missing the '='. Try changing:

    events = client.events().get_admin_events(created_after='2022-05-10T22:02:24-07:00', event_types['DOWNLOAD'],stream_position=stream_position)

    to

    events = client.events().get_admin_events(created_after='2022-05-10T22:02:24-07:00', event_types=['DOWNLOAD'],stream_position=stream_position)
    0
    Comment actions Permalink

Please sign in to leave a comment.