def get_resume_recommendations(user, request):
 final = get_most_recent_incomplete_item(user)
 if final:
  content = get_content_item(language=request.language, channel=getattr(final, 'channel', 'khan'), content_id=final.get('id'))
  return ([content] if content else [])
 else:
  return []

def get_resume_recommendations ( user , request ) : final = get_most_recent_incomplete_item ( user ) if final : content = get_content_item ( language = request . language , channel = getattr ( final , 'channel' , 'khan' ) , content_id = final . get ( 'id' ) ) return ( [ content ] if content else [ ] ) else : return [ ]
get the recommendation for the resume section .