def _normalize_resource_type(self, type_):
        return '::'.join([s.capitalize() for s in type_.split('::')])
Normalizes the type passed to the api by capitalizing each part
dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI._normalize_resource_type