##### SUMMARY
inventory contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/plugins/inventory/__init__.py:298:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
lib/ansible/plugins/inventory/__init__.py:305:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
lib/ansible/plugins/inventory/__init__.py:314:8: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/plugins/inventory/__init__.py
```

##### ANSIBLE VERSION
```
2.12
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

_display = display
    def __init__(self, *args, **kwargs):
        
        if not hasattr(self, '_load_name'):
            display.deprecated('Rather than importing custom CacheModules directly, use ansible.plugins.loader.cache_loader',
                               version='2.14', collection_name='ansible.builtin')
            self._load_name = self.__module__.split('.')[-1]
            self._load_name = resource_from_fqcr(self.__module__)
        super(BaseCacheModule, self).__init__()
        self.set_options(var_options=args, direct=kwargs)
    @abstractmethod
    def get(self, key):
        pass
    @abstractmethod
    def set(self, key, value):
        pass
    @abstractmethod
    def keys(self):