Module Expr Str ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Continue Raise Call NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad keyword Call NameLoad Str keyword Call NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpMod Str NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareNotIn NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr keyword NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr body Return NameLoad If BoolOpAnd UnaryOpNot BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Str decorator_list decorator_list Assign NameStore NameLoad Assign NameStore NameLoad
N/A N/A 
sentry.plugins.bases.notify
~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
 __future__ absolute_import print_function N/A logging django forms sentry.app digests ratelimiter sentry.digests get_option_key get_digest_option_key sentry.digests.notifications event_to_record unsplit_key sentry.plugins Notification Plugin sentry.models ProjectOption UserOption sentry.tasks.digests deliver_digest NotificationConfigurationForm N/A N/A forms Form N/A N/A N/A BaseNotificationUserOptionsForm N/A N/A forms Form N/A __init__ N/A N/A self plugin user N/A args kwargs N/A N/A N/A self plugin plugin N/A N/A self user user N/A N/A N/A N/A super BaseNotificationUserOptionsForm self __init__ args kwargs N/A get_title N/A N/A self N/A N/A N/A N/A N/A N/A self plugin get_conf_title N/A get_description N/A N/A self N/A N/A N/A N/A save N/A N/A self N/A N/A N/A NotImplementedError N/A N/A NotificationPlugin N/A Plugin N/A N/A description Notify project members when a new event is seen for the first time, or when an already resolved event has changed back to unresolved. N/A project_conf_form NotificationConfigurationForm notify N/A N/A self notification N/A N/A N/A N/A N/A N/A self logger info Notification dispatched [event=%s] [plugin=%s] N/A N/A notification event id N/A self slug N/A event N/A notification event N/A N/A N/A self notify_users N/A event group event N/A rule_notify N/A N/A self event futures N/A N/A N/A rules N/A N/A future futures N/A N/A N/A N/A rules append N/A future rule N/A N/A N/A future kwargs N/A N/A N/A N/A NotImplementedError The default behavior for notification de-duplication does not support args N/A project N/A N/A event group project N/A N/A N/A hasattr self notify_digest N/A N/A digests enabled project N/A N/A get_digest_option N/A N/A N/A key N/A N/A N/A N/A ProjectOption objects get_value project N/A get_digest_option_key N/A N/A self get_conf_key key N/A digest_key N/A unsplit_key self N/A N/A event group project N/A immediate_delivery N/A N/A digests add digest_key N/A event_to_record event rules increment_delay N/A get_digest_option increment_delay maximum_delay N/A get_digest_option maximum_delay N/A immediate_delivery N/A N/A N/A N/A deliver_digest delay digest_key N/A N/A notification N/A Notification event event rules rules N/A N/A N/A self notify notification N/A notify_users N/A N/A self group event fail_silently N/A False N/A N/A NotImplementedError N/A notify_about_activity N/A N/A self activity N/A N/A N/A N/A get_sendable_users N/A N/A self project N/A N/A N/A 
        Return a collection of user IDs that are eligible to receive
        notifications for the provided project.
         N/A conf_key N/A N/A self get_conf_key N/A alert_settings N/A dict N/A N/A N/A o user_id N/A int N/A o value N/A o N/A N/A N/A UserOption objects filter project project key N/A %s:alert conf_key N/A disabled N/A set N/A u N/A N/A u v N/A N/A alert_settings iteritems N/A v 0 N/A member_set N/A set N/A N/A N/A N/A N/A project member_set exclude user__in disabled values_list user flat True N/A members_to_check N/A set N/A u N/A u member_set N/A u alert_settings N/A members_to_check N/A N/A disabled N/A set N/A N/A N/A N/A N/A UserOption objects filter key subscribe_by_default value 0 user__in members_to_check values_list user flat True N/A member_set N/A filter N/A N/A N/A x N/A N/A x disabled member_set N/A member_set N/A __is_rate_limited N/A N/A self group event N/A N/A N/A N/A N/A ratelimiter is_limited project N/A group project key N/A N/A self get_conf_key limit 10 N/A is_configured N/A N/A self project N/A N/A N/A NotImplementedError N/A should_notify N/A N/A self group event N/A N/A N/A project N/A event project N/A N/A N/A N/A self is_configured project project N/A N/A False N/A N/A N/A group is_muted N/A N/A False N/A N/A N/A N/A N/A hasattr self notify_digest N/A N/A digests enabled project N/A N/A self __is_rate_limited group event N/A N/A logger N/A N/A logging getLogger N/A N/A sentry.plugins.{0} format N/A N/A self get_conf_key N/A N/A N/A logger info Notification for project %r dropped due to rate limiting project N/A False N/A True N/A test_configuration N/A N/A self project N/A N/A sentry.utils.samples create_sample_event N/A event N/A create_sample_event project platform python N/A notification N/A Notification event event N/A N/A N/A self notify notification N/A get_notification_doc_html N/A N/A self N/A kwargs N/A N/A N/A N/A N/A NotifyConfigurationForm NotificationConfigurationForm N/A NotifyPlugin NotificationPlugin