parameters: (metadata, target)
docstring: Building the metadata object is a bit specific.
  
      Firstly, there are two separate arrays: one with metadata keys and one
      with metadata values, and there are no corresponding mNum* attributes,
      so the C arrays are not converted to Python arrays using the generic
      code in the _init function.
  
      Secondly, a metadata entry value has to be cast according to declared
      metadata entry type.
docstring_summary: Building the metadata object is a bit specific.
docstring_tokens: Building the metadata object is a bit specific .
function: def _finalize_metadata(metadata, target):
      """ Building the metadata object is a bit specific.
  
      Firstly, there are two separate arrays: one with metadata keys and one
      with metadata values, and there are no corresponding mNum* attributes,
      so the C arrays are not converted to Python arrays using the generic
      code in the _init function.
  
      Secondly, a metadata entry value has to be cast according to declared
      metadata entry type.
      """
      length = metadata.mNumProperties
      setattr(target, 'keys', [str(_convert_assimp_string(metadata.mKeys[i])) for i in range(length)])
      setattr(target, 'values', [_init_metadata_entry(metadata.mValues[i]) for i in range(length)])
function_tokens: def _finalize_metadata ( metadata , target ) : length = metadata . mNumProperties setattr ( target , 'keys' , [ str ( _convert_assimp_string ( metadata . mKeys [ i ] ) ) for i in range ( length ) ] ) setattr ( target , 'values' , [ _init_metadata_entry ( metadata . mValues [ i ] ) for i in range ( length ) ] )