<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> from raven . contrib . django . client import DjangoClient <EOL> try : <EOL> from celery . task import task <EOL> except ImportError : <EOL> from celery . decorators import task <EOL> class CeleryClient ( DjangoClient ) : <EOL> def send_integrated ( self , kwargs ) : <EOL> return send_raw_integrated . delay ( kwargs ) <EOL> def send_encoded ( self , * args , ** kwargs ) : <EOL> return send_raw . delay ( * args , ** kwargs ) <EOL> @ task ( routing_key = '<STR_LIT>' ) <EOL> def send_raw_integrated ( kwargs ) : <EOL> from raven . contrib . django . models import get_client <EOL> super ( DjangoClient , get_client ( ) ) . send_integrated ( kwargs ) <EOL> @ task ( routing_key = '<STR_LIT>' ) <EOL> def send_raw ( * args , ** kwargs ) : <EOL> from raven . contrib . django . models import get_client <EOL> super ( DjangoClient , get_client ( ) ) . send_encoded ( * args , ** kwargs ) </s>
