def _merge_observation(accum_observation, observation):
 if (observation is None):
  return None
 elif (accum_observation is None):
  return observation
 accum_observation['vision'] = observation.get('vision')
 accum_observation['text'] = (accum_observation.get('text', []) + observation.get('text', []))
 return accum_observation

def _merge_observation ( accum_observation , observation ) : if ( observation is None ) : return None elif ( accum_observation is None ) : return observation accum_observation [ 'vision' ] = observation . get ( 'vision' ) accum_observation [ 'text' ] = ( accum_observation . get ( 'text' , [ ] ) + observation . get ( 'text' , [ ] ) ) return accum_observation
old visual observation is discarded .