def get(self, name):
        config = self.get_block('^interface %s' % name)
        if not config:
            return None

        resource = dict(name=name, type='generic')
        resource.update(self._parse_shutdown(config))
        resource.update(self._parse_description(config))
        return resource
>>> trim_common_prefixes([])
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py/BaseInterface.get--crossover with--dataset/ETHPy150Open bioinformed/vgraph/tests/test_norm.py/test_trim_common_prefixes