Skip to content

Conversation

codejudas
Copy link
Contributor

No description provided.


if headers_str:
signed_payload.append(headers_str)
signed_payload.append('')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append nothing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch includes the next-gen-client-validation branch. In this case its necessary to append nothing because signed_payload is a list which we eventually join with '\n' so we need to add the extra empty line.


print('Get only last 10 messages...')
some_messages = client.messages.list(limit=10)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have prints for all the example requests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can replace with comments if youd prefer?

@jingming
Copy link
Contributor

👍

@codejudas codejudas force-pushed the next-gen-examples branch from a4bce18 to 1212966 Compare March 2, 2017 20:58
@codejudas codejudas merged commit 63d7b51 into next-gen Mar 2, 2017
@ilanbiala ilanbiala deleted the next-gen-examples branch July 11, 2017 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants