Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change timeout to opts variable #157

Merged
merged 2 commits into from
Jan 12, 2016
Merged

Conversation

tgehrs
Copy link
Contributor

@tgehrs tgehrs commented Jan 12, 2016

Instead of having the timeout hardcoded in _make_request I changed it to be part of the opts that can be passed when creating a SendGridClient object.

For example:

sg = sendgrid.SendGridClient(MY_SENDGRID_KEY, **{'timeout': 45})

@thinkingserious thinkingserious merged commit fa81103 into sendgrid:master Jan 12, 2016
@thinkingserious
Copy link
Contributor

Thanks for contributing to SendGrid Open Source! We think it's awesome when community members contribute to our projects and want to celebrate that.

The following link will ask you to authenticate with Github (so we can verify your identity). You'll then be asked for your shipping address so that we can send you a thanks for contributing.

Click Here to Continue »

Once again, thank you!

@tgehrs
Copy link
Contributor Author

tgehrs commented Jan 13, 2016

no problem, happy to help!

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