Skip to content

Add .text attribute for .get_data(as_text=True)#138

Open
joelburton wants to merge 1 commit intojarus:masterfrom
joelburton:master
Open

Add .text attribute for .get_data(as_text=True)#138
joelburton wants to merge 1 commit intojarus:masterfrom
joelburton:master

Conversation

@joelburton
Copy link
Copy Markdown

It's inconvenient to have to use .get_data(as_text=True) to test the textual representation of the response each time. This adds a convenience attribute, .text that lazily uses .get_data(as_text=True), similar to what .json does for JSON.

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.

1 participant