def f_get(self, *args):

        if len(args) == 0:
            if len(self._dict) == 1:
                return self._dict[compat.listkeys(self._dict)[0]]
            elif len(self._dict) > 1:
                raise ValueError('Your annotation contains more than one entry: '
                                 '`%s` Please use >>f_get<< with one of these.' %
                                 (str(compat.listkeys(self._dict))))
            else:
                raise AttributeError('Your annotation is empty, cannot access data.')

        result_list = []
        for name in args:
            name = self._translate_key(name)
            try:
                result_list.append(self._dict[name])
            except KeyError:
                raise AttributeError('Your annotation does not contain %s.' % name)

        if len(args) == 1:
            return result_list[0]
        else:
            return tuple(result_list)
Test if it cleans the cached NPM packages.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/annotations.py/Annotations.f_get--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/npm_test.py/NpmTestCase.test_cache_clean