Coverage for /Users/kylestark/Development/pyramid-sendgrid-webhooks/pyramid_sendgrid_webhooks/events/base.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*- Base classes for webhook events """
""" Interface shared by all webhook events """
'smtp-id', 'useragent', 'category', 'reason', 'type', 'status', 'url', 'asm_group_id'}
def extract_unique_params(cls, data): """ Returns a dictionary of all unique arguments provided
Unique arguments are considered to be any provided arguments that aren't known Sendgrid names """ if k not in cls.RESERVED_NAMES}
def dt(self): """ Naive UTC datetime corresponding to this event's timestamp """
def categories(self): """ Returns categories as a list """ else:
|