(metadata_list)
return meta
creates metadata with 'id' as a key
creates metadata with 'id' as a key
creates metadata with id as a key
def _format_meta(metadata_list):
    """
    creates metadata with 'id' as a key
    """
    meta = []
    for each in metadata_list:
        each.update({"id": randrange(999)})
        meta.append(each)
    return meta
def _format_meta ( metadata_list ) : meta = [ ] for each in metadata_list : each . update ( { "id" : randrange ( 999 ) } ) meta . append ( each ) return meta