original_docstring: 
  	Executing the command that this appliance received
  	
docstring: Executing the command that this appliance received
docstring_tokens: Executing the command that this appliance received
code: def command(req):
  	'''
  	Executing the command that this appliance received
  	'''
  	logger=logging.getLogger('appliance')
  	cmd=req.POST.get('CMD', None)
  	logger.info('Receive CMD: %s'%cmd)
  	if cmd=='REGISTER':
  		register(req)
  	elif cmd=='ADJUST':
  		power(req)
  	rep=HttpResponse('OK')
  	rep.status_code=200
  	return rep
code_tokens: def command ( req ) : logger = logging . getLogger ( 'appliance' ) cmd = req . POST . get ( 'CMD' , None ) logger . info ( 'Receive CMD: %s' % cmd ) if cmd == 'REGISTER' : register ( req ) elif cmd == 'ADJUST' : power ( req ) rep = HttpResponse ( 'OK' ) rep . status_code = 200 return rep
short_docstring: Executing the command that this appliance received
short_docstring_tokens: Executing the command that this appliance received
comment: '''
  	Executing the command that this appliance received
  	'''