import six


def get_type_for_asset(cpl, uuid):
    """ Asset Track type lookup (eg. Picture, Sound, AuxData, ...).

        Args:
            cpl (dict): Dictionary representation of CompositionPlayList.
            uuid (str): Asset UUID.

        Returns:
            Returns the a string describing the asset type.

    """
    for reel in cpl['Info']['CompositionPlaylist']['ReelList']:
        assets = reel.get('Assets', [])
        for asset_type, asset in six.iteritems(assets):
            if uuid == asset['Id']:
                return asset_type

    return "Unknown"