-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from gabrielkrell/pydoc-update
Update docstrings/pydoc/help (#170)
- Loading branch information
Showing
29 changed files
with
851 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""v3/mail/send response body builder | ||
Builder for assembling emails to be sent with the v3 SendGrid API. | ||
Usage example: | ||
def build_hello_email(): | ||
to_email = from_email = Email("[email protected]") | ||
subject = "Hello World from the SendGrid Python Library" | ||
content = Content("text/plain", "some text here") | ||
mail = Mail(from_email, subject, to_email, content) | ||
mail.personalizations[0].add_to(Email("[email protected]")) | ||
return mail.get() # assembled request body | ||
For more usage examples, see | ||
https://github.com/sendgrid/sendgrid-python/tree/master/examples/helpers/mail | ||
For more information on the v3 API, see | ||
https://sendgrid.com/docs/API_Reference/api_v3.html | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
""" | ||
Inbound Parse helper | ||
-------------------- | ||
This is a standalone module to help get you started consuming and processing | ||
Inbound Parse data. It provides a Flask server to listen for Inbound Parse | ||
POSTS, and utilities to send sample data to the server. | ||
See README.txt for detailed usage instructions, including quick-start guides | ||
for local testing and Heroku deployment. | ||
""" | ||
|
||
from .config import * # noqa | ||
from .parse import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.