Skip to content

Commit

Permalink
fix recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ameily committed Aug 16, 2019
1 parent bbefd6a commit 2bbf7d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ configurations easier. ``make_type`` creates a new type, inheriting from
webhook_schema = Schema()
webhook_schema.url = UrlField(required=True)
webhook_schema.verify_ssl = BoolField(default=True)
WebHook = webhook_schema.make_type('WebHook') # WebHook is now a new type
schema = Schema()
schema.issue_webhooks = ListField(webhook_schema)
Expand Down

0 comments on commit 2bbf7d8

Please sign in to comment.