<s> from __future__ import absolute_import , unicode_literals <EOL> from celery . bin import celery <EOL> from sentry . celery import app <EOL> from sentry . queue . command import CeleryCommand <EOL> base = celery . CeleryCommand ( app = app ) <EOL> class Command ( CeleryCommand ) : <EOL> """<STR_LIT>""" <EOL> help = '<STR_LIT>' <EOL> options = ( CeleryCommand . options <EOL> + base . get_options ( ) <EOL> + base . preload_options ) <EOL> def run_from_argv ( self , argv ) : <EOL> argv = self . handle_default_options ( argv ) <EOL> if self . requires_model_validation : <EOL> self . validate ( ) <EOL> base . execute_from_commandline ( <EOL> [ '<STR_LIT>' . format ( argv ) ] + argv [ <NUM_LIT:2> : ] , <EOL> ) </s>
