def get_review_type(file_):
 addon_status = file_.version.addon.status
 if ((addon_status == amo.STATUS_NOMINATED) or ((addon_status == amo.STATUS_PUBLIC) and (file_.status == amo.STATUS_AWAITING_REVIEW))):
  return 'full'

def get_review_type ( file_ ) : addon_status = file_ . version . addon . status if ( ( addon_status == amo . STATUS_NOMINATED ) or ( ( addon_status == amo . STATUS_PUBLIC ) and ( file_ . status == amo . STATUS_AWAITING_REVIEW ) ) ) : return 'full'
return full or none depending on the file/addon status .