(asset_tuples)
return assets
Convert list of assets tuples to list of athena Asset objects
        :param asset_tuples:  [(id, name, project, type, description)]
        :return:
Convert list of assets tuples to list of athena Asset objects
        :param asset_tuples:  [(id, name, project, type, description)]
        :return:
Convert list of assets tuples to list of athena Asset objects : param asset_tuples : [ ( id name project type description ) ] : return :
def convert_to_asset(asset_tuples):
        """
        Convert list of assets tuples to list of athena Asset objects
        :param asset_tuples:  [(id, name, project, type, description)]
        :return:
        """

        assets = []

        for asset_tuple in asset_tuples:
            asset = Asset(asset_tuple[1], asset_tuple[2])
            asset.id = asset_tuple[0]
            asset.type = asset_tuple[3]
            asset.description = asset_tuple[4]
            assets.append(asset)

        return assets
def convert_to_asset ( asset_tuples ) : assets = [ ] for asset_tuple in asset_tuples : asset = Asset ( asset_tuple [ 1 ] , asset_tuple [ 2 ] ) asset . id = asset_tuple [ 0 ] asset . type = asset_tuple [ 3 ] asset . description = asset_tuple [ 4 ] assets . append ( asset ) return assets